I own a .dev domain, which is included on the HSTS preload list. The domain is registered with Namecheap.
Now, when trying to set up redirects (301,302) from my www. to non-www, this is apparently causing problems. Services like http://redirectcheck.com/ show that the redirects are working. Also, using wget
or curl
, everything is resolved fine.
Unfortunately, when I try to access the URLs that should be redirected with Chrome or Firefox, nothing happens.
I am pretty sure this has to do with how modern browsers handle HSTS. As I understand, they will not redirect from a .dev domain if the other site is not secure. However, the domain I redirect to is my own domain, therefore also a HSTS enabled .dev domain. Shouldn't this work?