dev domain access issue

Posted on May 8, 2019

.dev domain access issue

For those, like me, struggled a lot about accessing .dev domains even with your .hosts file properly configured, here the solution.

The problem relies on a previous version of Pow installer (I didn't even remember I've installed years ago) that adds a dev configuration file in /etc/resolver/ causing a local routing of any .dev domains.

After removing it, simply flush your DNS daemon, on MacOsX something like:

sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder; say cache flushed

Happy hacking