Share |

This website is under re-construction



HostingMillions Inc.
Terms of Service
Frequently Asked Questions
Website Transfers


Space for Sale
Traffic Directory


Up and Coming
3D Instant Messaging


In the News



Online Web Tools
Page Rank Checker
Stop Link Spam Bots
Web Hosting
Share |

How to reconfigure osCommerce to work with your new host

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

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

HTTP_SERVER - you'll need to change this to your new domain name:
for example http://newdomain.com: define('HTTP_SERVER', 'http://newdomain.com');

HTTP_COOKIE_DOMAIN - again, this should be changed to reflect your new domain name:
define('HTTP_COOKIE_DOMAIN', 'newdomain.com');

If you are using SSL you should also modify:

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

HTTPS_COOKIE_DOMAIN - set this to:
define('HTTPS_COOKIE_DOMAIN', 'dimo.pienici.org');

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

HTTP_SERVER - you'll need to change this to your new domain name, for example http://newdomain.com:
define('HTTP_SERVER', 'http://newdomain.com');

HTTP_CATALOG_SERVER - again, you'll need to change this to your new domain name:
define('HTTP_CATALOG_SERVER', 'http://newdomain.com');

If you are using SSL, you should also change HTTPS_CATALOG_SERVER to:
define('HTTPS_CATALOG_SERVER', 'https://newdomain.com');

Most people who decide to move their website(s) to HostingMillions Inc. from another host do so without any downtime, stressful situations or loss of data. If someone you know could use this reference then please feel free to share it.