Make all subdomains point to root unless otherwise specified
Posted
by
brentonstrine
on Pro Webmasters
See other posts from Pro Webmasters
or by brentonstrine
Published on 2013-01-25T08:22:03Z
Indexed on
2013/06/24
22:32 UTC
Read the original article
Hit count: 205
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?
© Pro Webmasters or respective owner