I changed an Apache reverse proxy configuration, to add a new hostname.
I don't usually manage webservers / proxies, though I basically replicated the existing structure:
- created a separate
mysite.com.conf
file with the relevantVirtualHost
directives inside thesites-available
folder - created a symlink named
mysite.com.conf
in thesites-enabled
folder pointing toward the new file - restarted Apache with
systemctl restart apache2
Everything works as expected, the website is reachable and such. There's only a small thing that puzzles me: if I do a2query -s
I can see the new host I added in the command output.
But, while all the others are listed like:
- www.example1.com (enabled by site administrator)
- www.example2.com (enabled by site administrator)
- ...
Mine is instead:
- mysite.com (enabled by unknown)
From where does that unknown
come from and how do I fix it?