For the last year I’ve been unable to view any .dev
domains on my computer. The problem was simple, but it took me a long time to figure out what it was.
As soon as Google started selling domains on the .dev
TLD developers started snapping them up and using them for their websites, blogs, and other projects.
Strangely though, I found I couldn’t see any of them.
Whenever I would click through to a website on a .dev
domain it wouldn’t resolve and I’d get a blank white screen in my browser.
At first I chalked it up to the website being down or an issue with my ISP and ignored it, but after being unable to follow a dozen links to .dev
domains over the span of a month, eventually it became clear the issue was something on my end.
I did the usual incantantions I could think of. I tried dig
, but nothing seemed to be wrong. I tried ping
and traceroute
, which both hung, indicating something was wrong, but also returned no information I could use to narrow down the issue.
I searched around online but couldn’t find anyone with a similar problem and gave up. Every time I’d get linked to a .dev
domain I’d repeat this process, spending a few minutes trying different searches. Finally, nearly a year later I found an unrelated problem that tipped me off as to what mine might be.
The problem was Pow. That’s right, the swanky development server from about six years ago.
You might still be using Pow, but more likely you haven’t used it in years and completely forgot about it. I certainly had.
Unfortunately, I didn’t uninstall Pow properly and its resolvers were still hanging around, routing all requests for .dev
and .test
into a black hole.
❯ ls /etc/resolver/
dev test
🤦🏼♂️
❯ sudo rm /etc/resolver/dev
❯ sudo rm /etc/resolver/test
Delete the resolver files and you should be good to go ✌🏼
Top comments (7)
Thank you so much! I ran into this problem today. I was setting up my laptop for Flutter development, and couldn't get to flutter.dev. I was previously able to get to it on my desktop. I tried a bunch of browsers and even switched my Internet connection to troubleshoot. Then i had a thought and checked my /etc/hosts file, but nothing was there to resolve any .dev domains. So I asked Google and Google found your article first thing. You've saved me so much frustration.
I’m glad it helped! ❤️
Amazing! Thank you so much.
Worked like charm, thank you very much
Thaaaaanks!!!! this problem was driving me crazy and I totally forgot Pow app on my machine.
You saved my life bro! Thank you so much
impossible!