Lighttpd
From wiki.titan2x.com
Virtual hosts
-
sudo lighty-enable-mod -
sudo /etc/init.d/lighttpd force-reload
FYI, quote from /etc/lighttpd/conf-enabled/10-simple-vhost.conf
## The document root of a virtual host isdocument-root =
## simple-vhost.server-root + $HTTP["host"] + simple-vhost.document-root
simple-vhost.server-root = "/var/www"
simple-vhost.document-root = "/html/"
-
sudo mkdir /var/www/yourdomain -
sudo cp -r allthefiles /var/www/yourdomain/html
