Quick steps to create a new Apache web site. The FQDN of the web site is “acme.org”
Create a virtual host file for the new site
/etc/apache2/sites-available/acme.org
<VirtualHost *:80> ServerAdmin webmaster@acme.org ServerName acme.org ServerAlias www.acme.org # Indexes + Directory Root. DirectoryIndex index.html DocumentRoot /var/www/acme.org # Logfiles ErrorLog /var/www/acme.org/logs/error.log CustomLog /var/www/acme.org/logs/access.log combined </VirtualHost> |