Why can't I configure the virtual host?

On a VPS trying to configure virtual hosts. there is Debian.
Doing everything the article here pacificsky.ru/os/linux/67-apache2-debian-8-nastroy...
In the end, when I enter the command
a2ensite domen.ru
he gives me
ERROR: Site domen.ru does not exist!
why can it be?
Thank you in advance.
July 9th 19 at 13:10
1 answer
July 9th 19 at 13:12
a2ensite is simply a perl script that only works with filenames ending .conf
mv /etc/apache2/sites-available/domain.EN /etc/apache2/sites-available/domain.EN.conf
: what's the difference. At least in one configuration cram. The only question is convenience. Just not on Feng Shui :) - montana.Okuneva commented on July 9th 19 at 13:18
Solved the problem differently, just opened the file with the first host and added back the second host. Rebooted the server and everything works)
Just how much is right? - Tyrell commented on July 9th 19 at 13:15

Find more questions by tags ApacheDebian