Website with IDN domain won’t start in IIS 7.5

IIS 7.5 on Windows Server 2008 R2 pop ups with “Value does not fall within the expected range” when trying to start a website with IDN-domain.

Since I live in Denmark, I from time to other get confronted with IDN-domains (domain names with international characters).

An IDN domain is encoded in Punycode, which transforms “små” to “”.  The encoded domain is the one registered at the hostmaster and in DNS.  It’s also the encoded value, that goes into the HTTP header.

The logic solution was to insert the encoded part into the website’s Bindings in IIS 7.5. However, this is the part that triggers the error and makes it impossible to start the website.

My solution was to use the local variant “små” – and remove the Punycode-encoded IDN domain name.

1 comment

    • Rod DH on September 7, 2011 at 12:17 pm
    • Reply

    Thanks, man. You just saved my day. Why don’t they accept both the Punycode and the local version?
    Don’t make any sense to me.
    Luckily enough, I didn’t have to set up a japanese domain 😀


Leave a Reply

Your email address will not be published.