Server Fault is a question and answer site for system and network administrators. 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

I forwarded public IP address to local IP address). On that server is my web. From LAN I have typing to view website.How to set the LAN to access on my website with dns ( I have registered domain name.

share|improve this question

You need to create a DNS A record that points to the public IP address. Your port forwarding should then do the rest for you.

share|improve this answer
I don't known how to create DNS A record. Any manual? – Ognjen Nov 20 '10 at 10:56
google for nicolai langfeldt's dns howto – petre Nov 20 '10 at 11:08
@Ognjen: The company you registered may provide tools to allow you to do this on their DNS servers. Check with them and see. – Iain Nov 20 '10 at 11:59
@lain: you not understand me. The company who is registered form me is already set to my public IP.Problem: In LAN where is my webserver I can't see website if type but can see this website only when type local IP of webserver( to view website from LAN when type – Ognjen Nov 20 '10 at 13:13
Do you have a DNS server on your LAN - if you do which one is it ? If not then what do the hosts on your LAN use for DNS ? – Iain Nov 20 '10 at 13:50

As I see it, you have at least two options:

  1. Set up split horizon DNS, so that your LAN clients get the local LAN IP address ( of your website, and the rest of the world gets the public IP address. OR:

  2. Set up hairpin NAT (a.k.a. NAT loopback, a.k.a. NAT inside-to-inside) on your gateway router, so that requests to your web server's public IP address from your LAN clients route through your gateway and back in again.

share|improve this answer
I have win server 2008 and install DNS server but don't know how to create split horizon DNS (this options is all I want) – Ognjen Nov 22 '10 at 19:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.