Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
3  
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. –  kappilman Sep 5 '12 at 15:12
    
Have you verified that your host is honoring the hosts file at all? For example, try adding foobar.com 127.0.0.1 to your hosts file and then ping foobar.com. –  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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.