Hacker News new | ask | show | jobs
by spcebar 1636 days ago
I thought a host file entry overrides dns resolution— wouldn't a .dev domain that's already pointed at localhost not be affected by this? Or am I misunderstanding?
1 comments

No matter what your DNS says, browsers are hard-coded to refuse to send requests via plain HTTP on a TLD with HSTS required (like .dev).