Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

..how to access oscommerce internally & externally


phil180

Recommended Posts

Hi,

I have installed oscommerce on my internal network (192.168.0.x) and setup the config with the internal reference (http://192.168.0.215/catalog/) as the WWW Address in Step 4 of the install process. It works brilliantly when I access it from inside the internal network, but when I try to acces it from out in the wild (the internet) as www.mydomain.co.nz/catalog ... it fails..

 

Im guessing the problem is the internal address for the WWW address.

 

Is there a way to access it internally (inside 192.168.0.*) , and externally (www.mydomain.co.nz)??

 

Further info:

o The dns is setup for the broadband modems ip address,

o Port 80 is directed to the server holding the oscommerce server

o My web mail works fine internally and externally

 

 

 

Thanks! :thumbsup:

 

Phil.

Link to comment
Share on other sites

This would happen because of the domain that is in the includes/configure.php.

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', '');

The above settings would have to be dynamic and not static if you want to access oscommerce from two domain names.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...