Updated: 27 September 2024
Webserver configuration might be found at
/etc/apache2
Start and stop
sudo service apache2 restart
sudo systemctl reload apache2
Enable and disable a site
sudo a2ensite example.com.conf
sudo a2dissite example.com.conf
Check config
apachectl configtest