Web and DNS server just for the intranet - configuration

3

Network Diagram

I have a web site set up in IIS, mysite.net, which I want to be accessible ONLY from within my local network. So it's supposed to be an intranet site.

Now, the way the DNS server and the Web server are configured, when I go to "mysite.net" from the server computer, it all works fine; it's reachable. What I don't know how to do is to make this accessible from the clients computers.

PS: I can reach it from a client computer if I set preferred DNS server, on the router, to point to my server, but then I can't get to the web.

So, what am I missing? Is it a config to be done on the DNS server? On the Web server? On the router? Am I missing one or more hardware components?

Thank you.

fduayer

Posted 2014-05-08T19:38:48.580

Reputation: 133

@heavyd Thank you for the help on the revision. – fduayer – 2014-05-08T19:44:28.780

No problem. And just for future reference, typically, if your question is on the wrong site, the best course of action is to flag the question for moderator attention and ask them to move it for you, rather than reposting. Your original will likely be moved anyway, so we'll end up with a duplicate. – heavyd – 2014-05-08T19:47:59.953

Got it. Kinda of inexperienced, still. I'll try to flag the other one for removal. Can that be done? – fduayer – 2014-05-08T20:01:28.347

If I remember right, if there aren't any answers yet you should be able to delete it yourself. – heavyd – 2014-05-08T20:02:28.480

Yep! Correct. Just did that. Thank you again for all the advices. Now we should be all set. Just one question; no duplicates; and in the right place. :) – fduayer – 2014-05-08T20:03:29.650

Don't forget to mark one of the answers as your accepted answer after the minimum time elapses. – Lynn Crumbling – 2014-05-08T20:13:26.460

Answers

4

  • Set up a Forwarder in your Windows DNS server that forwards all unknown requests to your ISP's DNS (or your router if it forwards requests, or use Google's DNS, etc.).
  • Set the clients to use the internal DNS server as their DNS setting.

This setup will cause the clients will check with the internal DNS, which will respond with IPs for any hosts it has entries for. Any other host requests (i.e.: Internet hosts) will be forwarded to your ISP's DNS for resolution.

More info (from MS):

Ƭᴇcʜιᴇ007

Posted 2014-05-08T19:38:48.580

Reputation: 103 763

In my DNS server, I have a forward lookup zone set up: mysite.net, so mysite.net is reachable. What I don't know how to do, is how to configure forwarders, since I get DNS servers dynamically from my ISP, through the router. This way I can't go to the DNS server and set a specific IP address to use as a forwarder. Any ideas on how to do that? You see, I just need to figure out the part between the router and my DNS Server. – fduayer – 2014-05-08T20:36:30.450

As it says in the answer: If your router supports DNS forwarding (which is most likely does), then just aim the DNS Forwarder (not the same as a Forward Lookup Zone) at your router. You could also use your ISP's DNS server directly if you know it's IP, or just skip your router and ISP DNS completely and use a public DNS server, like Google's (8.8.8.8). "What I don't know how to do, is how to configure forwarders" - there's a link to steps about how to do that, right there in the answer. :) – Ƭᴇcʜιᴇ007 – 2014-05-08T20:53:29.060

0

Just use a regular domain & point it to an internal address. Eg

Mysite.net resolves to 192.168.1.230

Where 230 is your internal server address. This way you don't need an internal DNS server you can just set it like normal

Toby Allen

Posted 2014-05-08T19:38:48.580

Reputation: 2 634

Ok, but where do I set this? On the router? – fduayer – 2014-05-09T01:01:58.823

@fduayer You would set this in your domain name provider. Eg. if you purchased your domain from twocows then you should be able to set up dns to point to a particular IP thats where you set it up – Toby Allen – 2014-05-09T10:39:47.287