«

»

Sep 02 2011

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å-biler.dk” to “xn--sm-biler-b0a.dk”.  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å-biler.dk” – and remove the Punycode-encoded IDN domain name.

1 comment

  1. Rod DH

    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 😀

    Rod.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>