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 have a virtualhost "myhost.local" configured in MAMP

My hosts file:

127.0.0.1       localhost
127.0.0.1       myhost.local
255.255.255.255 broadcasthost
#::1            localhost 
fe80::1%lo0     localhost

It worked fine.

After I upgraded my OS to the latest version (Lion), something changed because now Firefox/Chrome take a few seconds to find the myhost.local domain. It's very annoying to develop in these conditions.

It only happens if the domain has not been visited after some seconds (cache?) - any ideas?

share|improve this question

1 Answer 1

It turns out that *.local domain was in conflict with Multicast DNS feature of Bonjour.

I changed my virtualhost name and it worked fine.

More information:

share|improve this answer
    
thank you, it helped me too :) –  Ibrahim Azhar Armar Apr 6 '12 at 6:44

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.