Apache2 + Internationalized Domain Names (IDN)

Since I couldn’t find any documentation regarding Apache2-support for Internationalized Domain Names (IDN), I realized that it’s not at all hard to configure.

You can just set the ServerName or ServerAlias-property to the punycode-value of the domain name, i.e. æøå.tld would become xn--5cab8c.tld. A converter is available at VeriSign.
After converting, save the apache2 virtualhost configuration file, (eventually run a2ensite config_file.tld , if you have chosen to config your web sites that way) and run:
apache2ctl graceful

The web server should start serving the web site immediately.

6 thoughts on “Apache2 + Internationalized Domain Names (IDN)

    • I have been reading around
      IDN Info:
      IDN in non punnycode works all the time on safari. inc iphones
      Firefox only works if the domain ends in .cn – any others redirect to punnycode – this is to stop phissing etc…

Skriv et svar til sravan kumar Annuller svar

Din e-mailadresse vil ikke blive publiceret. Krævede felter er markeret med *