Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 192.168.0.53 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 professional 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.

4 Answers 4

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.:

http://www.redhat.com/magazine/025nov06/features/dns/

share|improve this answer

http://studyhat.blogspot.com/2010/02/setting-dns-server-with-bind.html

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 192.168.33.55 is snoopy.local. –  chris Feb 16 '10 at 12:12