Upgrade Ubuntu 12.04 14.04 : Apache default virtual server not working

When hitting the IP of the server, I used to get the reassuring “It Works”

Now, I get “Website disabled” if I hit an existing file, “Forbidden You don’t have permission to access xxx on this server.” if I try a non existing target

Everything looks fine, other web sites work.

The default server 000-default.conf file contents the following:

DocumentRoot /var/www/html AllowOverride All Require all granted

I setup an apache.conf for Munin like this:

Alias /munin /var/www/html/munin DirectoryIndex index.html index.htm AllowOverride All Require all granted

Thanks for help

We disable the default site when Virtualmin is installed. It is prone to causing name-based hosts to fail in mysterious ways.

I’d recommend you setup whatever you wanted to be the “Default” site in its own virtual server. You could re-enable it with a2ensite 000-default, but it’s likely to break other sites in confusing ways. Be sure to test your other sites thoroughly if you do turn it back on.

Thanks!