I have a doman, mydomain.com
as well as mydomain.biz
and would like the the latter to be a synonym for the former: whenever a user enters www.mydomain.biz
they are taken to www.mydomain.com
.
I have everything working for mydomain.com
and thought, from my limited understanding that a CNAME
record would accomplish what I'm trying to do, so I have
NS mydomain.biz. = (nameservers that work fine)
SOA mydomain.biz. = (values that work fine)
CNAME *.mydomain.biz. = mydomain.com.
and when I host mydomain.biz
I get
www.mydomain.biz is an alias for mydomain.com.
followed by other information that exactly matches what I get with host mydomain.com
. Yet, any attempt to navigate to www.mydomain.biz
fails.
I'm also perplexed by what I see when I look at propagation of my NS records. Checking for mydomain.biz
gives the nameservers specified above, but checking for for www.mydomain.biz
gives the values specified (elsewhere) for mydomain.com
Am I not going about this the right way? How should I configure my DNS records to direct all traffic from one domain to another.