I have a domain (e.g. domain1.com) and I only want to CNAME re-point the A-Record to domain2.com

CNAME re-pointing will affect both A-Record and MX-Record.

I do not want to affect the MX record, but I need CNAME re-pointing because I want all the viewed website pages to be domain1.com sub-pages, (not domain2.com sub-pages).

How can I do this?

  • 1
    Can you add details about web server software? You may not need DNS cnames at all
    – jflaflamme
    Jan 7, 2012 at 1:25

1 Answer 1


You can't have the root of a domain to be a CNAME, at least not as easy as you think. This stackoverflow question has details about how you might want to go about this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.