I have a virtual host set up somewhere on my machine and I can't find a way to remove it.

I have looked at the /etc/hosts file and there's nothing in there that maps to it.

I have also looked at my /etc/apache2/*.conf files to see if there's any accidental mappings.

I have also dscacheutil -flushcache and reran the ping to see and it's still reaching the url.

I'm thinking there's something in the system hidden somewhere. I'm not using Pow or any other service. I have checked MAMP PRO's host section and that's also empty.

I also downloaded VirtualHostX and that also shows an empty list.

I searched Spotlight for all files in the system that include the url and it comes back with empty results other than some .example files that I'm currently working with.

the item in question is a 'login.example.net' url that's mapped to localhost - 127.0.0.1

I did try to get that set up previously via Passenger and Apache2, but have since removed that mapping, yet it still finds it somehow.

Of note. The Apache server is not running. It is turned off and yet the ping returns successfully.

Thanks.

link|improve this question
Have you tried rebooting? – tjameson Apr 17 '11 at 8:34
Yes. I have. Many times. :) – John Wang Apr 20 '11 at 0:14
Well, the cache could still be pointing to it. Try this: dscacheutil -flushcache – tjameson Apr 20 '11 at 2:18
tried that too. Didn't work. There must be another cache hidden somewhere. – John Wang Apr 20 '11 at 19:31
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.