Skip to content
Domains and DNS2 min read

What is an IDN (internationalized domain name)?

Short answer

An internationalized domain name (IDN) is a domain that contains non-Latin characters, such as the Arabic letters in موقع.مصر. Inside DNS the name is converted to a Latin form called Punycode that starts with xn--, while users see it in Arabic.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. How Punycode works
  2. Types of Arabic domains
  3. Practical example
  4. Common problems
  5. On ArabyHost

DNS was originally designed for English letters, digits and hyphens only. To support Arabic, Chinese and other scripts without changing the internet’s foundations, the IDNA standard converts names into Latin characters in a reversible way, and browsers do the conversion automatically in both directions.

How Punycode works

Each label that contains non-Latin characters becomes a string starting with xn--:

What users see What DNS stores
مصر xn--wgbh1c
السعودية xn--mgberp4a5d4ar
امارات xn--mgbaam7a8h
موقع.مصر xn--4gbrim.xn--wgbh1c

Types of Arabic domains

  • Arabic name on an Arabic extension: the national Arabic-script extensions such as .السعودية, .مصر and .امارات, each run by its country’s national authority.
  • Arabic name on a generic extension: some generic extensions accept Arabic names, but mixing directions (Arabic right-to-left, Latin left-to-right) can confuse readers.

Practical example

To get the Punycode form of any name, you can use Python:

python3 -c "print('موقع.مصر'.encode('idna'))"
b'xn--4gbrim.xn--wgbh1c'

That’s the form to enter in technical settings when a system doesn’t accept Arabic characters, such as some DNS and server settings.

Common problems

  • Links show as xn–: some apps display Punycode instead of Arabic when links are copied or shared, so tell visitors or keep a Latin domain too.
  • Typing: users need an Arabic keyboard and may get hamza forms wrong (أ، ا، إ), so some owners register the variants.
  • Email: fully Arabic email addresses have limited support.
  • Look-alike names: similar characters from different scripts can be used for phishing, which is why browsers fall back to showing Punycode when in doubt.

On ArabyHost

ArabyHost doesn’t register Arab country extensions, including Arabic-script ones such as .السعودية, .مصر and .امارات. Register the domain with the country’s accredited registrar, then point its nameservers to ns1.arabicode.com and ns2.arabicode.com. Your site then runs on our hosting under its Punycode name, with free SSL issued automatically.

FAQ

Is an Arabic domain good for SEO?

It can rank like any other domain, but keywords in a domain name aren't a big factor. Content, and a name that's easy to remember and type, matter more.

Does email work on an Arabic domain?

Technically yes, using the Punycode form, but fully Arabic email addresses aren't supported by many programs. Owners of Arabic domains often keep a Latin domain for email.

Can I install SSL on an Arabic domain?

Yes. The certificate is issued for the Punycode form, such as xn--4gbrim.xn--wgbh1c, and the browser shows it in Arabic.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.