in Technology

You should no longer use .dev domains for your own development

tl;dr: .dev is now a legit TLD.

Chrome 63 redirects .dev domains to HTTPS via HTTP Strict Transport Security (HSTS) header.

If you’re one of the developers like me, who uses .dev domains for your own development, you’ll no longer be able to access your website in latest Chrome. In those cases, if you try to access, you will be redirected to

What should we do?

A quick workaround would be to rename your .dev sites to .test or .localhost. I recommend the second, as *.localhost sites automatically open as You don’t need to add site.code to /etc/hosts. So, if your site was you should rename it to site.localhost.

If you find this useful, please let me know, and I’ll post more tips.

Write a Comment