Guest Posted February 21, 2008 Posted February 21, 2008 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
web-project Posted February 21, 2008 Posted February 21, 2008 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.
Guest Posted February 21, 2008 Posted February 21, 2008 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
satish Posted February 21, 2008 Posted February 21, 2008 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.
web-project Posted February 21, 2008 Posted February 21, 2008 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.
Guest Posted February 21, 2008 Posted February 21, 2008 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');
Recommended Posts
Archived
This topic is now archived and is closed to further replies.