systemctl status apache2
sudo systemctl stop apache2
sudo systemctl start apache2
sudo apache2ctl restart
sudo a2ensite <a file located in /etc/apache2/sites-available/>
You should omit the
.conffile extensions
sudo a2dissite <a file located in /etc/apache2/sites-enabled/>
You should omit the
.conffile extensions
You may be interested on checking this documentation: https://httpd.apache.org/docs/2.4/vhosts/examples.html