Apache and Lighttpd instructions for configuring Drupal virtual hosts.
Apache Virtual Host Configuration
Enable the virtual host config file in /usr/local/apache2/conf/httpd.conf by uncommenting it:
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
Edit
/usr/local/apache2/conf/extra/httpd-vhosts.conf and add an entry for your new Drupal install:
ServerName www.domain.com
#ServerAlias *.domain.com
DocumentRoot /var/websites/projectname/drupal-5.10
Options Indexes FollowSymLinks
AllowOverride All