virtual hosts

apache virtual hosts after update

if your subdomains got lost after updating your apache, this may be related to a new default setting.
To test this, you can try to enable your missing subdomain.


if you get a "ERROR: Site YOURSUBDOMAIN does not exist!" you should have a closer look to your /etc/apache2/sites-availble directory. If your files does not end with .conf they woundn't be found anymore.

if you want to rename them

find . -print0 -not -name "*.conf" | xargs -n 1 -0 -I {} mv {} {}.conf

and you should be able to a2ensite them again.

Inhalt abgleichen