Enable an Apache virtual host on Debian-based OSes.
This manual page documents briefly the a2ensite and a2dissite commands.
a2ensite is a script that enables the specified site (which contains a <VirtualHost> block) within the apache2 configuration. It does this by creating symlinks within /etc/apache2/sites-enabled. Likewise, a2dissite disables a site by removing those symlinks. It is not an error to enable a site which is already enabled, or to disable one which is already disabled.
The default site is handled specially: The resulting symlink will be called 000-default in order to be loaded first.
Disables the default site.
Directory with files giving information on available sites.
Directory with links to the files in sites-available for enabled sites.
This manual page was written by Stefan Fritsch <firstname.lastname@example.org> (based on the a2enmod manual page by Daniel Stone <email@example.com>) for the Debian GNU/Linux distribution.