dmcycloid Posted January 1, 2005 Share Posted January 1, 2005 Hi all- Trying to get the store to work well while I'm running our new server directly off our static IP address. However, OSCommerce is configured for absolute addresses that take page links, images, etc., to what the domain name WILL be in a few days when I make the change. So, I have to constantly replace the domain name with the IP address manually and images show up as broken. Ideas? How can I make the links confiure to the IP address? It's got to just be one line in a config file somewhere right? many thanks, Keith Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2005 Share Posted January 1, 2005 Just edit your config files to resolve the IP address instead of the domain name. When you go live, after dns is over just switch it back the domain name. I do it all the time. hth TJ Hi all- Trying to get the store to work well while I'm running our new server directly off our static IP address. However, OSCommerce is configured for absolute addresses that take page links, images, etc., to what the domain name WILL be in a few days when I make the change. So, I have to constantly replace the domain name with the IP address manually and images show up as broken. Ideas? How can I make the links confiure to the IP address? It's got to just be one line in a config file somewhere right? many thanks, Keith <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
dmcycloid Posted January 1, 2005 Author Share Posted January 1, 2005 Which config files? Where are they located? Thanks for the help, big time. Keith Just edit your config files to resolve the IP address instead of the domain name. When you go live, after dns is over just switch it back the domain name. I do it all the time. hth TJ <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2005 Share Posted January 1, 2005 catalog/includes/configure.php and admin/includes/configure.php // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.mysite.net'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.mysite.net'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? change www.mysite.net to your ip address. Better back up your config files first though. LMK if you need a hand. TJ Which config files? Where are they located? Thanks for the help, big time.Keith <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
dmcycloid Posted January 1, 2005 Author Share Posted January 1, 2005 beautiful! Now that's the way to start a year. :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.