Chrome redirects .dev to https

Mathis picture Mathis · Dec 12, 2017 · Viewed 14.7k times · Source

Suddenly Google Chrome redirects my virtual-host domain myapplication.dev to https://myapplication.dev. I already tried to go to

chrome://net-internals/#hsts

And enter myapplication.dev into the textbox at the very bottom "Delete domain security policies" but this had no effect.

I also tried to delete the browser data.

What I also did is to change the v-host to .app instead of .dev but Chrome still redirected me to https:// ...

It's a Laravel application running on Laragon. On other PCs in the same network, it works perfectly.

Answer

Jerodev picture Jerodev · Dec 12, 2017

There is no way to prevent Chrome (>= 63) form using https on .dev domain names.
Google now owns the official .dev tld and has already stated that they will not remove this functionality.

The recommendation is to use another tld for development purposes, such as .localhost or .test.

More information about this update can be found in this article by Mattias Geniar.