software mac

Resolving slow loading of local virtualhosts on Chrome

I’ve in my development mac different virtualhosts, using .local or .wp TLDs. Opening these address in Chrome are slow – about 3 seconds ‘resolving address’. This situation doesn’t happen in Safari or Firefox. Here is my typical /etc/hosts configuration: localhost
::1 localhost broadcasthost
fe80::1%lo0 localhost website1.local website2.wp

Looking for answers, I changed my setup for: localhost website1.local website2.wp
::1 localhost website1.local website2.wp broadcasthost
fe80::1%lo0 localhost

It works like a charm.

Avatar photo If you like my content, follow me on Twitter and GitHub TwitterTweet




comments powered by Disqus