1
vote
2answers
189 views

Redirect *.example.com to example.com

I have some valid subdomains in my httpd.conf file. Now how do I redirect anything that's not a valid subdomain to the main website? What I mean is, if I have a valid subdomain hello.example.com, it ...