tldr/pages/linux/a2ensite.md

289 B

a2ensite

Enable an Apache virtual host on Debian-based OSes. More information: https://manpages.debian.org/latest/apache2/a2ensite.8.en.html.

  • Enable a virtual host:

sudo a2ensite {{virtual_host}}

  • Don't show informative messages:

sudo a2ensite --quiet {{virtual_host}}