Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing the domain name


Guest

Recommended Posts

Posted

I currently have my clients old site up and running on the domain *ex - http://www.domain.com while I am

setting up their new website. The SSL works when i put in *ex. - https://www.domain.com.

 

I am currently working on the edits using the url: (example)

http://domain.com/oscommerce2/catalog/index.php

 

I want to keep using the OSC extension until the website is complete and then change it to *ex. - www.domain.com.

 

How do I change the domain name to direct to (www.domain.com)? Will this cause any problems with my setup or

SSL settings?

 

Thanks

Posted

simply update the configure.php, you can also set your oscommerce to support 2 or more domain names.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted
simply update the configure.php, you can also set your oscommerce to support 2 or more domain names.

 

 

What code do I need to change in the configure.php file?

 

Thanks

Posted

Ask Your hosting If they can map the site path directly to this new folder.

You will also need to update configure.php

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
What code do I need to change in the configure.php file?

 

Thanks

 

 define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted
 define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('HTTP_COOKIE_DOMAIN', '');
 define('HTTPS_COOKIE_DOMAIN', '');

 

 

I had made those changes the other day and my SSL correctly works when i type in "https://www.domain.com," but I am confused on the approach I need to take to change http://www.domain.com/oscommerce2/catalog/index.php (where I am currently edited my new website) to become visual just using the "http://www.domain.com.

 

Please let me know if you have anymore ideas. Thanks

 

 

Below are the changes I currently made to Includes>configure.php

 

 

define('HTTP_SERVER', 'http://www.domain.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.domain.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'domain.com');

define('HTTPS_COOKIE_DOMAIN', 'domain.com');

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...