Apache Disable Website Linux PMC Tactical

Welcome to Apache Disable Website Linux PMC Tactical.

Website hosting and domain registration fees are due, please Support PMC, thank you. You can read more details from PMC Website Hosting and Domain Registration Fee Status forum topic.

Apache Disable Website

Linux Apache disable website. This takes the website domain offline, Apache server will not serve any https requests to that address anymore. No actual physical files are removed from your web root though.

sudo a2dissite example.com
sudo a2dissite example.com-le-ssl
sudo systemctl restart apache2

I did that when one of my domains was let to expire so it was not working anymore, Letsencrypt somehow did not work on it and it caused all kinds of issues like Apache getting error on its config, no idea how but hey who cares. I used that a2dissite <DOMAINNAME> and then restart for Apache itself, problem solved.