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 have computer with a host of DumbServer. When I try to connect to http://DumbServer or use DumbServer in Putty, it doesn't work. If I use the IP address, everything is fine. How do I set it up so that DumbServer works without having to add the entry into the hosts file for every computer?

share|improve this question
up vote 2 down vote accepted

Do you have an internal DNS server? If so, you'll need to add 'DumbServer' as an A record in one of your DNS zones, pointing the IP address to the IP of that server.

If you add the record to a DNS zone which matches a DNS suffix configured on your computers, you will be able to address the computer using simply http://DumbServer (rather than http://DumbServer.domain.tld)

If you don't, I do believe that with an OpenDNS account, you can configure an alias for 'DumbComputer', which would be resolved (by OpenDNS) to its internal IP. This would, however, require you to point all your computers to the OpenDNS servers.

share|improve this answer

Add a record to your local DNS server.

share|improve this answer

You can use DNSMasq, e.g.:

An added advantage is that DNSMasq can intelligently add DHCP leases to its DNS database, providing local name lookups for any DHCP client, static or dynamic.


share|improve this answer

Easy answer, just add an entry to your C:\Windows\System32\drivers\etc\hosts file. This will allow applications on your workstation (and only your workstation) to use the server's name instead of it's IP address.

Less easy answer, add an entry to your DNS. Others have already posted answers on how to go about that.

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.