I registered my domain foo.org and along with it they gave me foo.biz for free. I don't really like it, but as I said, they gave it to me for free... And I want to route absolutely every request involving foo.biz to foo.biz, including subdomains.
In the DNS configuration of foo.org, I set up @ and www, as well as the wildcard subdomain ***** as A records to my host's IP address,
For the DNS configuration of foo.biz, I was thinking of using 301 redirects but they don't play well with wildcard subdomains, or at least I have no idea how to achieve the automatic mapping I want, i.e., without having to do it manually for each subdomain and not use without the wildcard.
Since I really want to make foo.org. the canonical name and have foo.biz just as a cheap alias, it makes sense to resort to CNAME records, but how can I do that in order to achieve the mapping???
I'd appreciate your most educated advice!
Edit: I'm a DNS n00b... Also, it seems I can only edit my domain's DNS settngs on my registrar's website.
Edit: I'm using IIS.
anything.foo.org
and the server will get the request, see the wrong name, and redirect towww.foo.biz
.