.dev is Dead!

If you read my posts on building a local dev server, you will have seen that I have been using .dev as a local-only TLD. Well .dev was bought by Google and they will apparently be selling domains on it. And to make matters worse, both Chrome and now Firefox have preloaded their browsers with unalterable HSTS settings that require HTTPS for any request to a .dev domain. If you type “http://foo.dev” into your address bar it will ignore what you typed and request, “https://foo.dev” instead. That killed my local sites. More details here:

https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/

I guess I will be switching to .test in the middle of a work day.

Gawd Damnit.