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’;

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.


Need help? We’re always here for you.