4 ms·
I always use `myco.example` for testing requests and emails, as well as documentation. https://en.wikipedia.org/wiki/.example https://en.wikipedia.org/wiki/.exa
by psadauskas 5y ago
I always use `myco.example` for testing requests and emails, as well as documentation. https://en.wikipedia.org/wiki/.example https://en.wikipedia.org/wiki/.example
It'll never resolve to anything, and makes it really obvious the code is for testing or sample code.
- orev 5y agoNever heard of the .example TLD, so thanks for that. However, an issue I see with it is that it doesn’t look like a domain name. Things that end in ‘.com’ are synonymous with domain names, regardless of how accurate that assumption really is. I think people are just starting to get familiar with these new alternative TLD names, but I can easily see business people not understanding ‘myco.example’, while they would understand ’example.com’.
- tomcam 5y agoNo guarantee an .example TLD won't be created
- magicconch 5y agoThe first line of the linked Wikipedia page states that it will never be created.
- tomcam 5y agoAhem. Thank you.
- renewiltord 5y agoLiterally the standard, my dude. https://datatracker.ietf.org/doc/html/rfc2606#section-2 https://datatracker.ietf.org/doc/html/rfc2606#section-2
- throwawayboise 5y agoStandards can change, but I guess if you allow for that, example.com is no better.
- tomcam 5y agoDoh! Thank you for the correction. I thought I had read that RFC
- tomcam 5y agoWell I am hilariously wrong. Thanks, renewiltord. https://news.ycombinator.com/item?id=29629387 https://news.ycombinator.com/item?id=29629387