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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.