I have 2 domains hosted with different hosts. I need to redirect Domain A to Domain B. Unfortunately I can't do a 301 redirect from Host A, but can only modify/add DNS entries (A-Records and CNAMEs) at Host A.
Surely it is possible to redirect www.DomainA.com to www.DomainB.com using only A-records and CNAMEs?
At present, the DNS entries are:
DomainA.com. 3600 IN SOA ns1.HostA.net.
www 3600 IN CNAME www.DomainB.com.
DomainA.com. 3600 IN NS ns1.HostA.net.
DomainA.com. 3600 IN NS ns2.HostA.net.
DomainA.com. 3600 IN NS ns3.HostA.net.
I want to redirect
DomainA.com -> DomainB.com
*.DomainA.com -> *.DomainB.com
I've tried the suggestion from this other post but it didn't work.
How can I achieve this only with A-Records and CNAMEs please? Thank you for your advice.
Prembo.