I have a website set up. I just want to make sure that traffic to any subdomains that I am not using is redirected to main website. Say, I am using www.domain.com, web.domain.com and use.domain.com and have set up DNS records for them accordingly. Now, traffic to these subdomains should remain normal but visitors of any other subdomains whatsoever should be redirected to www.domain.com.
I have tried using A and CNAME wildcards but this does not seem to work. What should I do?
Thanks in advance for your help!