All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

Redirect all subdomains to main domain with lighttpd and regex

Is it possible to redirect all *.domain.com to my domain.com? I have been messing around with the Regex but without any luck: $HTTP["host"] =~ ".*\.domain\.com" { url.redirect = ("^/(.*)"...
JavaCake's user avatar
  • 111