I read lots of threads but nothing works so far.
How can I setup wildcard sudomains on Lighttpd for Network? (*.domain.com)
* I'm not talking about clean URLs.
this is my code :
$HTTP["host"] =~ "(^|.*?\.)domain.com$" {
server.document-root = "/var/www/domain.com"
accesslog.filename = "/var/log/lighttpd/domain.com-access.log"
server.error-handler-404 = "/index.php"
}