based on this example on the tutorials
Code:
$SERVER["socket"] == "192.168.1.2:80" {
server.document-root = "/home/lighttpd/theos.in/http"
server.errorlog = "/var/log/lighttpd/theos.in/error.log"
accesslog.filename = "/var/log/lighttpd/theos.in/access.log"
}
which binds theos.in to the IP 192.168.1.2
what if there's a subdomain for theos.in say forums.theos.in with a different server.document-root, server.errorlog, accesslog.filename
How do I do it?
Thanks for your help