Sodamhan.com

TL;DR

a2dissite

Disable an Apache virtual host on Debian-based OSes. More information: https://manned.org/a2dissite.8.

  • Disable a virtual host:

sudo a2dissite virtual_host

  • Don’t show informative messages:

sudo a2dissite --quiet virtual_host

This document was created using the contents of the tldr project.