Just a quick reminder for myself in case I need it:

How to add a new virtual host in apache2 in ubuntu:

1. Create a new directory in /var for the web root, e.g. /var/www-domainname
2. go to /etc/apache2/sites-available and add a new virtualhost file with the name of your site, e.g.:
filename: domain
file contents (for example):
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName domain.com
ServerAlias www.domain.com

DocumentRoot /var/www-domainname
DirectoryIndex index.html
</VirtualHost>
3. Run sudo a2ensite
4. Run sudo /etc/init.d/apache2 reload