How to configure Zen Cart to work with a new domain?

In order to configure Zen Cart to work properly with another domain, you should modify the two configure.phpfiles in includes/ and admin/includes/ folders to reflect the new domain.

The settings that should be changed in includes/configure.php are:

HTTP_SERVER - you should change this to your new domain name, e.g. http://newdomain.com:

define('HTTP_SERVER', 'http://newdomain.com');

If you are using SSL you should also modify:

HTTPS_SERVER - change this to:

define('HTTPS_SERVER', 'https://newdomain.com');

In admin/includes/configure.php you should modify:

HTTP_SERVER - you should change this to your new domain name, e.g. http://newdomain.com:

define('HTTP_SERVER', 'http://newdomain.com');

HTTP_CATALOG_SERVER - again, this should be changed to your new domain name:

define('HTTP_CATALOG_SERVER', 'http://newdomain.com');

If you are using SSL, you should also change:

HTTPS_SERVER - change this to:

define('HTTPS_SERVER', 'https://newdomain.com');

HTTPS_CATALOG_SERVER - change this to:

define('HTTPS_CATALOG_SERVER', 'https://newdomain.com');

You need help with a shopping cart? hostlantern is specialized in eCommerce hosting and provides expert support for a large number of shopping carts. Check out our shopping cart hosting services!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To Secure Zen Cart

In order to secure Zen Cart please follow these steps: 1. Download all your Zen Cart files 2....

Rename Zen Cart Admin Directory

It is necessary to rename Zen cart admin directory in order to make it more secure. This can be...

How to install a Zen Cart template?

In order to install a Zen Cart template, you need to upload the installation template package...

How to reset the administrative password of Zen Cart

If you have lost the administrative password of your Zen Cart application and the password reset...

How to optimize Zen Cart for better performance?

Zen Cart is one of the most popular free shopping cart applications currently available. Here...