Note
Tutorial Difficulty: 2 / 3
This instrution describes how to make your alias domain work properly with your store:
Note
The following instructions are applicable only to Multi-Vendor and the administration area of CS-Cart.
// Host and directory where cs-cart is installed on non-secure server
$config['http_host'] = 'www.your_domain.com';
$config['http_path'] = '/your_cscart_directory';
// Host and directory where cs-cart is installed on secure server
$config['https_host']= 'www.your_domain.com';
$config['https_path'] = '/your_cscart_directory';
// Host and directory where cs-cart is installed on usual server
$config['http_host'] = $_SERVER['HTTP_HOST'];
$config['http_path'] = '/your_cscart_directory';
// Host and directory where cs-cart is installed on secure server
$config['https_host'] = $_SERVER['HTTP_HOST'];
$config['https_path'] = '/your_cscart_directory';
Note
The $_SERVER[‘HTTP_HOST’] and $_SERVER[‘HTTPS_HOST’] variables must exist on your server.
Questions & Feedback
Have any questions that weren't answered here? Need help with solving a problem in your online store? Want to report a bug in our software? Find out how to contact us.