Knowledge Base Hub

Browse through our helpful how-to guides to get the fastest solutions to your technical issues.

Home  >  Shopping Carts FAQ  >  How To Transfer CS-Cart From One Host To Another?
Top Scroll

How To Transfer CS-Cart From One Host To Another?

 2 min

Transferring your CS-Cart application comprises of copying your files and databases and modifying the ‘config.php’ file so that it works with the new server paths.

The most crucial settings that should be modified in config.php file are mentioned below:

db_host – This should be set to localhost

$db_host = ‘localhost’;

db_name – Enter the shop database name here:

db_name = ‘user_cs’;

db_user – Enter the username with privileges in order to access the shop database:

db_user = ‘user_cs’;

db_password – This constitutes of the password for accessing the database:

db_password = ‘cspassword’;

cscart_http_host – This should be set to your domain name, e.g.

cscart_http_host = ‘’;

cscart_http_dir – Enter the relative path to the directory where CS-Cart is installed

cscart_http_dir = ‘/shop’;

Do you need help with selecting the right shopping cart software along with the eCommerce hosting platform? Start your online store with the eCommerce hosting plans offered by and get access to the best of hosting resources and features.


For our Knowledge Base visitors only
Get 10% OFF on Hosting
Special Offer!
Claim the discount before it’s too late. Use the coupon code:
Note: Copy the coupon code and apply it on checkout.