Connecting to mydomain.com which's located on local network - CANT!
Ok here's the network layout:
User -> Router -> Internet.
mydomain.com points to the network's external IP. Router (linux iptables) is running apache and serving on port 80.
I can access mydomain.com just fine from outside network and view the website. I can also access the website from internal network by using 192.168.0.1 (router's internal IP).
BUT! I cannot access website by mydomain.com from internal network. It just hangs.
Somebody told me that an easy work around is to edit /etc/hosts and add mydomain.com for 192.168.0.1, but I wanted to check with you guys before trying this on the client's machine.
Any help is appreciated!
Thanks!
|