We are launching our website in Spanish and are probably going to call it


Since the real spelling is español, ideally we would allow people to type español.mydomain.com.

Is that something that is possible today? Can we use this character in domains and sub-domains?

  • 1
    Wouldn't this hinder any other users from visiting the site (for example, I don't know off the top of my head how to type the ñ. May 18, 2010 at 1:07
  • 3
    i presume it's the version of the site that would be in spanish, and therefore most viewers would have keyboards with those character sets.
    – cpbills
    May 18, 2010 at 1:20
  • 2
    @webdestroya: Do you speak Spanish? May 18, 2010 at 1:24
  • 5
    @webdestroya - 1) the comment isn't particularly relevant to the question, 2) you can easily create a cname for the non-unicode version to point to the unicode version for those who don't have that language installed on their machine May 18, 2010 at 1:35
  • 2
    @webdestroya: Perhaps the site content shouldn't be in Spanish since that would prevent you from using it. May 18, 2010 at 4:27

3 Answers 3


Yes, you can use "español" as a subdomain as well as a domain. When a user types "español.mydomain.com" into their browser, it will be translated into Punycode and the request will be made to that URL which would look like "xn--espaol-zwa.mydomain.com".

As a test, I set up that subdomain on one of my domains and in configuring it, I used "xn--espaol-zwa" instead of "español".

  • 1
    you could have just gone to the verisign conversion tool mct.verisign-grs.com
    – Jim B
    May 18, 2010 at 4:35
  • Sysadmins will definitely need to know about the punycode version. Apache configs and SSL certs will need the punycode, not the UTF-8 version.
    – Alnitak
    May 18, 2010 at 8:56
  • @Jim: That's true if all I wanted to do was get the Punycode, but I wanted to test my configuration and its functionality. May 18, 2010 at 9:15
  • @ChrisS - you're splitting hairs. IMHO anyone reading your comment would reasonably assume that you had meant the sysadmins running the IDN sites!
    – Alnitak
    May 18, 2010 at 21:38
  • I still think it's worth explicitly stating that end users never need to know the Punycode version; sysadmins who run IDN sites need to know, and just about nobody else. (@Alnitak, compromise?)
    – Chris S
    May 18, 2010 at 23:18

What you are looking for is called an Internationalized Domain Name (IDN). Yes it is possible on most ccTLDs as well as some of the more traditional TLDs.

Wikipedia Article
.com info from verisign

  • You beat me by 26 seconds... as usual... May 18, 2010 at 0:22
  • @Farseeker: sorry i'll be slower next time ;)
    – Zypher
    May 18, 2010 at 0:47
  • plz kthxbai :-) May 18, 2010 at 0:52

Sure you can use it. The punycode version is xn--espaol-zwa.mydomain.com. It doesn't matter if the TLD (.com) allows IDN names, because is a third level domain and in .com is up to you what you put in the third level. Your main concern is with the browser support with idn, but now is natively supported in the last versions of firefox, explorer, and chrome, by the way.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.