Apache2 from the Ubuntu repository gets it's default location from /etc/apache2/sites-available . The default page configuration is the 000-default. conf file in that location. You can either modify that page or use it as a template and make your own configuration file.