Ubuntu server 12.04/apache2
From Attie's Wiki
Configuring an Apache server
apt-get install apache2 libapache2-mod-php5
Configuration is in /etc/apache2
Store site content in /home/www
mkdir /home/www chown www-data:www-data /home/www
Setup sites
Add a site file in /etc/apache2/sites-available
.
Enable the site by symlinking it into /etc/apache2/sites-enabled
.