What the maximum amount of characters a domain name can be? What about a Url? Is there any differences between ASCII and non-ASCII characters? So thanks
What the maximum amount of characters a domain name can be? What about a
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have a fully qualified domain name like
www.example.com:Those limits are described in the RFC 1035 section 2.3.4
For an full
ASCIIdomain name, this means an 1 octet = 1 character.Concerning the
non-ASCIIdomain there is a notation named International Domain Name (IDN) which uses Punycode to convert the Unicode to ASCII, and prefixed by the ASCII Compatible Encodingxn--(ACE) to differentiate it with standard labels. It is the resulting string that is being used for comparison with the limits.example:
The IDN
www.école.comis converted towww.xn--cole-9oa.com(20 characters)Concerning the URL limits, please refer to the popular thread on stackoverflow "What is the maximum length of a URL?"