Apache VirtualHost creation wrong since Debian upgrade

I recently upgraded Debian 7 to Debian 8 following your procedure. I had some trouble though and needed to find/replace some stuff in the /etc/apache2/sites-available/* files, like adding + to the Options directives and replacing "allow from all" with "Require all granted". Then I adapted the Apache templates in the Virtualmin configuration. However, when creating a new virtual server, now the tag includes a * instead of the IP address, which makes the virtualhost actually not work. So instead of Now I get How can I change this behavior?

Status: 
Active

Comments

Howdy -- when looking at the files in /etc/apache2/sites-enabled, you'd want to make sure all the files in there have "virtualhost x.x.x.x:80", and that none are using the asterisk that you are seeing.

It's possible that during the upgrade, Debian installed a VirtualHost on it's own named 000-default, containing the asterisk, which could be throwing Virtualmin off.

Oh yeah, now I noticed. a2dissite 000-default solved the problem then I guess :)