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 read something like this earlier today but I forgot where and it didnt tell me what I needed.

I want to be able to have multiple computers on my network be able to access my local lamp server. But, I do not want it to have the users access in order to get to it but I want it to be able to get to the website through something like http://mywebpage/ instead of the ip (so that it will be easier accessible).

I know that I have to use a local recursive DNS but how do I do that?

share|improve this question

closed as off topic by Sam Jan 19 '12 at 11:33

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Dnsmasq is lightweight and simple to set up for an instance like this. Can also be used as a DNS forwarder and DHCP server.

share|improve this answer

You setup a local DNS server on your box and have it forward requests for everything beyond your local net to your ISP's server. Then configure boxes on your local net to use your DNS server instead of your ISP's. There a bunch of tuts out there for it, e.g.:

share|improve this answer

check about link may help you!!

share|improve this answer
Cool. Lots of code. But, how do I use it? Do I just put it into /etc/named.conf in my server? – Short Question Feb 16 '10 at 16:50
yes if want all your clients resolve the dns – Rajat Feb 16 '10 at 19:36

I know that I have to use a local recursive DNS but how do I do that?

No, you need an authoritative server for your zone.

A recursive server provide name resolution for domains which are unknown.

share|improve this answer
Actually, he'll need both because he'll need to point to a recursor that knows that is snoopy.local. – chris Feb 16 '10 at 12:12