Answer the question
In order to leave comments, you need to log in
Actual topic "Russian domains on apache + nginx"
There was a problem, which is that the hosting control panel accepts Russian-language domains, but in the Wirth settings. Apache and nginx domains are a complete misunderstanding.
How to decide?
Apache simply does not accept Russian names, the reason for this is not clear.
Answer the question
In order to leave comments, you need to log in
Convert via libidn and forget that Russian-language domains exist somewhere other than the browser line (and not always there)
idn --quiet -a "domain.rf"
(only normal quotes - parser)
punycode converter convert vipnsk.rf to xn--b1amgljn.xn--p1ai
in /etc/apache2/sites-available create conf. file xn--b1amgljn.xn--p1ai.conf
in it
‹VirtualHost *:80›
ServerAdmin [email protected]
ServerName xn--b1amgljn.xn--p1ai
ServerAlias www.xn--b1amgljn.xn--p1ai
DocumentRoot /home/ xn--b1amgljn.xn--p1ai/www/
‹Directory /home/xn--b1amgljn.xn--p1ai/www/›
Options None
AllowOverride All
Order allow,deny
allow from all
‹/Directory›
ErrorLog /home/xn --b1amgljn.xn--p1ai/error.log
LogLevel warn
CustomLog /home/xn--b1amgljn.xn--p1ai/access.log combined
‹/VirtualHost›
then a2ensite xn--b1amgljn.xn--p1ai
Important! The name of the directory with site files xn--b1amgljn.xn--p1ai
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question