Problem hosting server behing personal router
- by Venkatesh Hodavdekar
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.