Problem hosting server behing personal router

Posted by Venkatesh Hodavdekar on Server Fault See other posts from Server Fault or by Venkatesh Hodavdekar
Published on 2009-06-17T14:02:32Z Indexed on 2010/03/25 11:43 UTC
Read the original article Hit count: 407

Filed under:
|
|

I recently bought the domain name lucidcontraptions.com and want to host the website from home. I have a D-Link router in which I have set up my personal virtual server correctly. My application server is Apache 2.2.

The server works perfectly with the following settings:

External IP: 207.172.xx.xx. Public port: 8888
Internal IP: 192.168.xx.xx. Private port: 80

If I go to 207.172.xx.xx:8888/ the server works perfectly and my Apache page shows up without any issues, both from inside the intranet as well as outside. This setting would not work out for me as I am not allowed port numbers in my DNS management.

Now when I tweak the settings to the following:

External IP: 207.172.xx.xx. Public port: 80
Internal IP: 192.168.xx.xx. Private port: 80

If I go to 207.172.xx.xx/ the server works perfectly and my Apache page shows up without any issues, BUT ONLY FROM INSIDE THE INTRANET. This page does not show up for people outside the intranet.

© Server Fault or respective owner

Related posts about apache2

Related posts about server