How to Transfer to a New Domain

I want to move my cs-cart to a new domain. I have cs-cart installed on and I want to move it to

What steps do I take in order to do this?

I copied all the files from to but keep redirecting to so I know this wasn’t the right way to do it.

Thanks for the help!

You just need to edit the config.local.php file and change lines into:

// Host and directory where software is installed on no-secure server

$config[‘http_host’] = ‘site2com’;

$config[‘http_path’] = ’ ';

// Host and directory where software is installed on secure server

$config[‘https_host’] = ‘’;

$config[‘https_path’] = ’ ';

You’ll also have to transfer your database and edit it changing references to site1 to site2. There aren’t many. I do this by downloading the database, open it with Wordpad or another text editor and do a search for site1 references and change to reflect the new site. I then import the database into the new domain.

When you create your database in the new domain just make sure you either use the same database user and password you used in the original or as tmv correctly stated edit your config.local.php to reflect your new information.

Ok I changed the config.php file and after doing that the site isn’t even coming up. I used the same login info for the admin panel.

Roban, can you be more specific about the references?

1.Make a clean installation of the same version of CS-Cart on a new server.

2.Copy the config.local.php file of this new CS-Cart to your local computer (or rename it to avoid its overwriting during the next step).

3.Make a backup of the store database on the web site from which you wish to copy CS-Cart:

1.Log in to the administration panel, open the Administration tab and click on the Database link.

2.Enter a backup file name in the Backup file name field (i.e. my_database.sql) and click on the Backup button. The created file will be placed into the var/database/backup directory of your CS-Cart installation.

3.Copy this file from this directory to your local computer.

4.Copy all CS-Cart files to the new server. Make sure that the modified and newly created files have been successfully copied and have overwritten the corresponding original files.

5.Copy the config.local.php file of the clean installation back to the server.

6.Log in to the panel of CS-Cart installed on the new server and restore the dump file (you have created during step 3):

1.Upload this file on the Database page under the Restore tab and click on the Restore button.

As a result you will have the same copy of CS-Cart on the new server.