The revision changes instances of domain.com
to domain.example
in the sample data provided by the Question's author.
Does this change follow some guideline or objective for Stack Overflow quality maintainers? There appears to be no reason cited.
The revision changes instances of domain.com
to domain.example
in the sample data provided by the Question's author.
Does this change follow some guideline or objective for Stack Overflow quality maintainers? There appears to be no reason cited.
I've been doing a lot of example domain edits recently. When using an example URL, the domain should be an approved example domain such as:
example.com
example.net
mysite.example
pageA.example
See these Wikipedia articles and RFCs that explain how the domains are reserved and approved for example usage:
example.com
- RFC 2606, section 3 and Wikipedia.example
- RFC 2606, section 2 and WikipediaUsing a real domain name is not desired because it can:
Stack Overflow actually prohibits new and edited posts from containing many incorrectly used example domains such as "mysite" or "domain" with a real top level domain suffix. I believe that this regular expression is in place that prevents a post from being submitted if the regular expression matches:
https?://(www\.)?(domain|xxx|xyz|abc|site|mysite|mydomain)\.(com|org|net)(?![a-z0-9\-]+|\.[a-z0-9]+)
To Henry Ecker's point, I have revamped my editing tool to prefer to use example.com
over mysite.example
if there is just one example domain used in the post. In the cases where two or more example domain are needed for comparison it often makes more sense to use the .example
TLD like:
siteA.example
siteB.example
or
myserver.example
myhost.example
mydns.example