example.com and the entire top level
.example domain are officially approved for example usage. See the following RFCs and Wikipedia entries:
Whenever an example domain is used, it should be one of these reserved example domains. Using a real domain name is not desired because it can:
- Bestow unwarranted SEO benefit to the domain, especially when linked, but possibly even just through a mention.
- Cause problems for the domain when it gets unwanted requests from code that uses it as an example or when web crawlers find and hit the bogus URLs.
Most Stack Exchange sites actually prohibit new and edited posts from containing many incorrectly used example domains such as "mysite" or "domain" with a real top level domain suffix. This regular expression prevents a post from being submitted if the regular expression matches:
A moderator could check that Unix & Linux actually has this rule by visiting the user input blocklist.
I acknowledge the feedback that
example.com is more recognizable than
some-domain.example and I'll prefer to use it in the future.
However, there are some cases in which
example.com isn't sufficient. When you need to compare two domains, or when a specific keyword is needed in the domain name,
.example domains work better. For example, cases in which a post uses multiple domains like: