softwaremac

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:

127.0.0.1 localhost
::1 localhost
255.255.255.255 broadcasthost
fe80::1%lo0 localhost

127.0.0.1 website1.local
127.0.0.1 website2.wp

Looking for answers, I changed my setup for:

127.0.0.1 localhost website1.local website2.wp
::1 localhost website1.local website2.wp
255.255.255.255 broadcasthost
fe80::1%lo0 localhost

It works like a charm.

Interactions

Webmentions

Like this content? Buy me a coffeeor share around:

0 Like

0 Reply & Share