Hacker News new | ask | show | jobs
by psadauskas 1644 days ago
I always use `myco.example` for testing requests and emails, as well as documentation. 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.

2 comments

Never 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’.
No guarantee an .example TLD won't be created
The first line of the linked Wikipedia page states that it will never be created.
Ahem. Thank you.
Standards can change, but I guess if you allow for that, example.com is no better.
Doh! Thank you for the correction. I thought I had read that RFC
Well I am hilariously wrong. Thanks, renewiltord.

https://news.ycombinator.com/item?id=29629387