Intranet Routing of port 80

Unanswered Question
Apr 30th, 2008
User Badges:

Hi, is there a way to internally direct my domain name to my server?

I can't seem to access the server via DNS and I posted something similar on the WAN part of the forum with no reply.

Basically I keep connecting to my WAN IP address when ever I type in

I get this message: “” refused the connection.

Can I statically put something into the router to say ->

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Collin Clark Thu, 05/01/2008 - 04:38
User Badges:
  • Purple, 4500 points or more

Assuming that your internal DNS name is, add a DNS A record for host www with address

Hope that helps

kayasaman Thu, 05/01/2008 - 05:20
User Badges:

Thanks for the reply but I don't quite understand.

How do I add a dns record in the router, is it under config t > ip dns ?

Collin Clark Thu, 05/01/2008 - 05:26
User Badges:
  • Purple, 4500 points or more

You don't, you add a DNS record on your DNS server. What your traffic is trying to do is commonly referred to as 'hairpinning', traffic is leaving an interface and then coming right back in. Some devices work OK doing that, others don't. Apparently yours does not (what is the device were talking about?). A simple fix is to tell your internal workstations to use the internal IP instead of your external IP. You do that with DNS. Does that make more sense?

kayasaman Thu, 05/01/2008 - 05:37
User Badges:

Ah ok now I understand! I'm running a Debian/linux based server of which already I have put the DNS name into the hosts file to get the external interfaces IP address to send directly to the machine.


This Discussion