Link Search Menu Expand Document

a2ensite

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

  • Enable a virtual host:

sudo a2ensite {{virtual_host}}

  • Don't show informative messages:

sudo a2ensite --quiet {{virtual_host}}