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 just set up a new Ubuntu 11.04 test VM which I hope in the future to use as a wiki for internal documentation.

My problem is that I cannot seem to reach it via hostname through a web browser (IP address works fine). The environment I am testing on is predominantly a Windows domain with Windows Server 2008 running our DNS and DHCP service. I would like to keep the address of this test box dynamic if possible and simply access it by hostname.

Is there something that I need to do in Ubuntu to have it get picked up by DNS (most googling suggests modifying dhclient.conf)? Or is this something that should be configured through Apache?

The Windows machines seem to configure to DNS automagically.

share|improve this question
Windows machines use WINS for hostname to IP. – MaQleod May 13 '11 at 19:40
up vote 0 down vote accepted

Try this website. It will let Ubuntu respond like Windows machines to netbios requests, essentially like a local DNS configuration for computer hostnames, using WINS though.

share|improve this answer

The quick and dirty fix would be to create an A record in your zone on the DNS server that points to the webserver. This means that any changes to the IP will need to be manually reflected on the DNS server.

I believe there's a way to make it automatic in Ubuntu, but I don't know it offhand. You could look for material relating to Windows Dynamic DNS and Ubuntu to start out.

share|improve this answer

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.