Alternativa de example.com [cerrado]
-
03-07-2019 - |
Pregunta
Supongamos que desea proporcionar una url de ejemplo en la documentación en algún lugar. Lo correcto es usar example.com
, ya que esa es la ubicación definida para tales cosas y cualquier cosa que se le ocurra es probable que se registre en algún lugar y sirva quién sabe qué a sus lectores. .
Mi pregunta es: ¿qué hace si necesita proporcionar 2 ejemplos contrastantes? Lo mejor que he visto es site1.example.com y site2.example.com, pero eso no siempre lo corta. ¿Alguna otra idea?
Actualización:
Aceptó la respuesta de @ Yuval, ya que es la respuesta más técnicamente correcta. Sin embargo, debido a fuerzas fuera de mi control, en realidad me voy con Jekke's (tempuri.com).
Solución
Utilice example.net y example.org .
Por RFC 2606 , todos están reservados ( resumen de Wikipedia ).
Otros consejos
RFC 2606 también reserva el TLD (Dominio de nivel superior) " .ejemplo " vos tambien puede usar " foobar.example " ;, " algo.example " " stackoverflow.example " ;, etc.
Desafortunadamente, todos estos nombres incluyen la cadena " ejemplo " y por lo tanto no son suficientemente distinguibles en la documentación. espero Habrá una actualización de RFC 2606 un día, con más nombres.
As previously mentioned, example.com
, example.net
and example.org
were officially reserved by the IETF for documentation purposes. Additionally, ICANN has also reserved example.edu
.
Some ccTLDs and newer gTLDs have equivalent example
domains reserved. Most probably, all gTLDs managed by ICANN have the same restrictions regarding reserved names. Further below, I've listed a few that I've been able to confirm as reserved.
On some occasions, I need an example domain name longer than 8 characters (excluding the TLD itself) and it doesn't matter that it isn't valid — I just want it to not resolve. Therefore using an underscore in the domain name is an acceptable solution in those cases (e.g. example_domain.com
or your_domain.com
).
Another alternative TLD, although not officially reserved, would be .tld
(!). I've looked at ICANN's new gTLD current application status list and .tld
doesn't show up. So any domain could be used under this TLD (e.g. example.tld
or yourdomain.tld
). I would however recommend using it with caution, as the fact that it's not currently assigned doesn't mean no one will ever apply for it. As a side note, be aware that both Amazon EU and Charleston Road Registry have applied for .dev
.
Reserved generic example
TLDs (not including the latest expansion):
example.aero
example.asia
example.biz
example.cat
example.coop
example.info
example.jobs
example.mobi
example.museum
example.name
example.post
example.pro
example.tel
example.travel
example.xxx
Reserved country code example
TLDs (not a complete list):
example.ae
(Domain reserved by .aeDA)example.at
(Registered by NIC.AT GmbH. admin: NIC.AT Role)example.bg
(Registration status: forbidden)example.ca
(Restricted: not available for registration)example.co
(Domain is on list of restricted and reserved names)example.hk
(Domain is currently not available for registration)example.jp
(Reserved)
includingco.jp
ne.jp
or.jp
subdomainsexample.la
(Banned)example.nl
(Registered by Stichting Internet Domeinregistratie Nederland)example.pt
(Registration forbidden. Article 9, point 1)
includingcom.pt
net.pt
org.pt
edu.pt
int.pt
nome.pt
publ.pt
subdomainsexample.se
(Registration blocked. Example and test domains.)example.su
(Stop-list: Domain can not be registered.)example.sx
(Unavailable)
References:
- Wikipedia - example.com
- RFC 2606
- RFC 608
- ICANN Registry Agreements: for each TLD, look for a document titled "List of Reserved TLD Strings" or "Schedule of Reserved Names".
- New gTLD Current Application Status
You can also use tempuri.org, like is used in many XML-based examples.
I'm wondering if you can squeeze in some character into the URL that would make it invalid if cut and pasted into a browser. A little like 555-XXXX numbers in movies.
There is also example.net
and example.org
. If you need another, I don't see a problem with using a domain you already control.