mirror of https://github.com/CrimsonTome/tldr.git
13 lines
289 B
Markdown
13 lines
289 B
Markdown
# 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}}`
|