Tag Info

New answers tagged


Just as a matter of explanation for future users. Your 000-default.conf file is a catch-all site and should be left alone. It is good for security. It can be frustrating when a site configuration does not work and the default site is served. I get it. Still, leave it alone. Many people are unaware of why the default site exists. Here is a bit of an ...


The file 000-default.conf in /etc/apache2/sites-available/ defines the /var/www/html/ folder as the webroot (this is enabled by default, as you can see in the /etc/apache2/sites-enabled/ folder): <VirtualHost *:80> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is ...

Top 50 recent answers are included