I need to configure a Apache web server with a DNS server, it can be a simple local server configuration just to practice and see how a DNS server resolves a URL to an ip address and connects to a web server. I already have LAMP installed on my computer but I don't know how or where to start with the DNS server.

If there are any tutorials similar to what Iam trying to do I would appreciate it.


BIND is one of the best DNS server in the world, you can use Bind to achieve your goal.

For configuration purpose here some useful sites:

Server World: (For Ubuntu)

Linux Home Networking:

To use BIND with web server here is a useful Link.


There are tons of manuals, even from Ubuntu. The Ubuntu Community Wiki is a good place to start, for example. There's this topic titled: BIND 9 Server Howto.

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