Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have an internal web server running Debian 6 squeeze. Our Netgear UTM25 port forwards port 80 to the server and everything works ok from the outside world. However, we are unable to access our domain from within the same LAN. Meaning I can access the web server by IP, but not by domain. How can I set it up so that it translates our domain to the web server's IP?

The domain is which points to our public IP on Network Solutions whois.

share|improve this question
Have you done a traceroute from inside the LAN? – Karma Fusebox Dec 26 '12 at 17:03
I haven't tried it on a windows machine as there's no traceroute installed. on another linux server it says 30 hops max, 60 byte packets, send: operation not permitted – Markaway Dec 26 '12 at 17:27
You should have the command tracert on Windows. – ggustafsson Dec 26 '12 at 17:43

Your NetGear router most probably only forwards connections from the outside to the internal webserver, but leaves connections from the inside untouched. If you want to solve this, you have two options:

  1. Configure your internal DNS resolver (most likely your NetGear) to respond with the webserver's internal address.
  2. Add the host name to every computer's hosts file on the local network.
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .