Make all subdomains point to root unless otherwise specified
- by brentonstrine
I'd like all subdomains that aren't being used for anything else to go straight to my domain.
ns1.mydomain.com. A 198.123.44.55
ns2.mydomain.com. A 198.123.44.66
*.mydomain.com. CNAME mydomain.com
webdisk.blog.mydomain.com. A 198.123.44.55
However, say I have subdomain blog.mydomain.com which I still want to behave as a normal subdomain. I would like the following to happen:
mydomain.com --> mydomain.com
www.mydomain.com --> mydomain.com
abc.mydomain.com --> mydomain.com
blog.mydomain.com --> blog.mydomain.com
Is this possible?