LighttpdもApacheと同じようにバーチャルホストが作成できます。
■設定方法
vim /etc/lighttpd/conf.d/example.conf
$HTTP["host"] == "www.example.com" {
var.servername = "www.example.com"
accesslog.filename = "/var/log/lighttpd/" + var.servername + "_access.log"
server.errorlog = "/var/log/lighttpd/" + var.servername + "_error.log"
server.document-root = "/home/vhosts/example.com/www/htdocs/"
index-file.names = ( "index.php,index.html,index.cgi" )
cgi.assign = ( ".cgi" => "" )
}