Apache: Enable Virtual Host Files

Use the a2ensite tool to enable each site:

sudo a2ensite example.com.conf
sudo service apache2 reload

The reload the command instructs the application to reload its configuration files.

Leave a Reply

Your email address will not be published. Required fields are marked *