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.

I'm having a problem where a valid URL kerfpress.com (without www.) is bringing up localhost when I ping on my Mac.

$ ping kerfpress.com
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.052 ms

When I ping www.kerfpress.com it works fine:

$ ping www.kerfpress.com
PING www.kerfpress.com (195.234.10.136): 56 data bytes
64 bytes from 195.234.10.136: icmp_seq=0 ttl=49 time=54.084 ms

This is only happening from my Mac OSX 10.7.5. From other devices it seems to be accessing both fine.

Any help greatly appreciated.

share|improve this question
    
can you post your /etc/hosts on pastebin for example –  mirkobrankovic Jul 3 '13 at 11:32

1 Answer 1

up vote 0 down vote accepted

http://www.kerfpress.com/ Is a valid website ... And probably you have created kerfpress.com on you localhost ... And that is reason why you getting that results !

share|improve this answer
    
Thanks mirkobrankovic - was an entry in hosts file that was causing it. –  Euan Jul 3 '13 at 11:55
    
@Euan no problem, glad to help :D –  mirkobrankovic Jul 3 '13 at 12:02

Your Answer

 
discard

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.