All Questions
1
question
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 = ("^/(.*)"...