Router – Zyxel P-320W: How to connect to the web server using public IP

domain-name-systemport-forwardingrouterzyxel

My company's router is Zyxel P-320W and I have a public static IP.
I registered a few domains name and point to this IP address.
I already setup Virtual Hosts and configured port-forwarding to my internal server and it works well. I can connect to all domains from outside

The problem is I cannot connect to my domains from inside
One workaround way is modify hosts file to add internal IP for those domains, but my company have many computers and I don't want to setup all PC manually

Best Answer

Split DNS is the solution. Provide the public address to requests from outside the LAN and the local address to requests from inside the LAN. Do NOT go the way of the hosts file. That road is littered with broken systems and insane administrators. As many of us have learned, one small mistake or oversight and you could spend more time sorting out the issue than you can believe possible.