Site Loads With Without Www But Not With It.

[size=3]It looks like my site is operated in such a way that it will load only with "mystore.com"and not with an “www.mystore.com” Is this due to a coding issue with config.local.php, config.php, or htacess file?[/size]



CS-Cart: version 3.0.6 PROFESSIONAL

Hi

The first thing to check is if your DNS is setup properly. quick check is FTP a test.html page into the root and try and access your yourdomain.com

If it doesn't work then its a DNS issue.

Alan

That is in your config.local.php file.



Something like:


// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.saltwatertogo.com';
$config['http_path'] = '';

// Host and directory where software is installed on secure server
$config['https_host'] = 'www.saltwatertogo.com';
$config['https_path'] = '';




Thanks,



Brandon