Page 1 of 1

International domains

Posted: Wed Sep 14, 2016 1:30 am
by loothmane
hi

when i add arabic domain like this : www.دعاء.xyz

i get this error : invalid domain format :: xn--ggblx4b.xyz

plz help me

Re: International domains

Posted: Wed Sep 14, 2016 12:12 pm
by skurudo
Well, it's locale problem.
When this prob with russian cyrillic domains, we do this:

Code: Select all

sed -i "s/# ru_RU/ru_RU/" /etc/locale.gen
sed -i "s/# en_US/en_US/" /etc/locale.gen
locale-gen en_US.UTF-8
locale-gen ru_RU.UTF-8
echo LANG=en_US.UTF-8 > /etc/default/locale
source /etc/default/locale
service vesta restart
ru_RU you need change to your national locale.