I have domain example.com. I have a static cdn subdomain where I want to serve all my static files from called scdn.example.com. I want all wildcard subdomains to be redirected to example.com. Is this redirection done through DNS or my webserver? In the DNS I added a CNAME *.example.com record and pointed it to example.com. However, this wildcard CNAME record is blocking the scdn.example.com one. How do I make it so scdn.example.com can point to some IPv4 address and not being included into the wildcard subdomain? I even pointed scdn.example.com to an IPv4 with an "A" Record but the wildcard is taking priority.
I hope that makes sense, if not, please let me know.