Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pow domains not loading in Chrome

So, I struggled with this for the last hour. For some reason, my POW domains always hit a www.website-unavailable.com error in Chrome. Rails servers work great from the traditional rails s and pull up at localhost:3000. I'm using Anvil.app to manage the domains.

No matter what, I hit the www.website-unavailable.com page in Chrome immediately each time I try to visit a .dev domain.

The strangest thing is, the site loads great in other browsers. Just not Chrome. I even tried installing Chrome Canary and it hits the exact same error (fresh install!).

I tried, in this order, to no avail, to get the server running again:

  1. Rebooting.
  2. pow restart in the terminal for various sites.
  3. Reinstalling POW.
  4. Clearing the DNS cache at chrome://net-internals#dns

Nothing seems to work. Any idea what I could do to get this working again? Not a huge deal to use localhost:3000 but I love POW. The strange thing is, it was working wonderfully for weeks.

like image 668
andrewmart.in Avatar asked Jul 21 '13 22:07

andrewmart.in


2 Answers

I ran into the same issue, but changing from OpenDNS to Google's DNS servers didn't help. Apparently, this is an issue with the asynchronous DNS built into Chrome.

There are a couple workarounds:

  • Use .xip.io domain instead of .dev
  • Disable asynchronous DNS in chrome://flags
  • Disable NXDOMAIN helper

I ended up disabling asynchronous DNS and my .dev domains work again.

Here's where I found more information:

  • Issue reported on Pow
  • Issue reported on Chrome
  • How to disable NXDOMAIN helper for OpenDNS
like image 196
dmkash Avatar answered Oct 21 '22 03:10

dmkash


Thanks to user Dan Reedy (see above) I was able to fix this by moving from OpenDNS to the Google DNS 8.8.8.8 and 8.8.4.4 settings. Now, pages load faster and Pow servers are working again. And they seem to actually load much faster. Awesome!

like image 21
andrewmart.in Avatar answered Oct 21 '22 04:10

andrewmart.in