Knowledge Base
MilesWeb / Shopping Carts FAQ

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

Approx. read time : 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’;

Also check: How to configure CS-Cart to work with a new domain?

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 MilesWeb and get access to the best of web hosting resources and features.


With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.