Super User is a question and answer site for computer enthusiasts and power users. 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

So I can ping the IP address for the server I need but when I ping it by name, the server name is followed by an incorrect IP address.

My host file is updated, I can communicate with my machine from my server just fine. I can access websites on the server by typing the IP address into the address bar followed by the name. It is like my machine is ignoring my hosts file.

I have updated, re-updated, flushed DNS, you name it I've done it.

Any ideas?

share|improve this question
More information is required to help you. – Ramhound Sep 5 '12 at 15:06
Perhaps edit your question and post the HOSTS entry. – Ƭᴇcʜιᴇ007 Sep 5 '12 at 15:07
is this server public or within a local network? have you recently made changes to your server IP. – paintbox Sep 5 '12 at 15:12
Have you verified that your host is honoring the hosts file at all? For example, try adding to your hosts file and then ping – Scott Sep 5 '12 at 18:43
Also check the output of reg query HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters /v DataBasePath. It should return the directory in which the hosts file resides (%SystemRoot%\System32\drivers\etc). If a different path is returned, something's fishy. – Ansgar Wiechers Sep 6 '12 at 2:17

You must log in to answer this question.

Browse other questions tagged .