The days of .dev domains for testing code are over
medium.engineering
The days of .dev domains for testing code are over
1–10 of 95 posts
Re: The days of .dev domains for testing code are over
#2:(
Re: The days of .dev domains for testing code are over
#3Re: The days of .dev domains for testing code are over
#4Is that monopolistic behaviour?
Re: The days of .dev domains for testing code are over
#5Re: The days of .dev domains for testing code are over
#6tl;dr - Google bought the .dev gTLD, specified it for internal use, and pushed changes in Chrome to require HTTPS. Is that monopolistic behaviour?
Re: The days of .dev domains for testing code are over
#7Re: The days of .dev domains for testing code are over
#8While this is an interesting exploration of the history of the Internet, gTLDs, HSTS, and various other things, the story boils down to this: never make up an unregistered domain/TLD and assume it won't exist in the future; always use a reserved test domain/TLD from RFC 2606 ( https://tools.ietf.org/html/rfc2606 ) or the updated RFC 6761 ( https://tools.ietf.org/html/rfc6761 ): .test, .invalid, .example, or .localhos…
Re: The days of .dev domains for testing code are over
#9Google will be buying up the 127.x.x.x ip range before you know it /sarcasm
Re: The days of .dev domains for testing code are over
#10Just buy medium-devel.com or something and make it resolve to 127.0.0.1 in internal DNS. This gets you a couple of benefits:
- No one will ever take it from you
- You can configure it in external DNS if you'd like
- You can get a real, publicly-trusted SSL certificate for it, for free, because Let's Encrypt can resolve DNS challenges against it
(By the way, you want to get an SSL certificate for internal development, because of the policy - Chrome-initiated but now followed by the HTML standards folks in general - to require HTTPS for fancy new features like geolocation and service workers: https://www.chromium.org/Home/chromium-security/prefer-secur... If you don't have HTTPS of some sort, you can't test these features locally.)