Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Can you add details about web server software? You may not need DNS cnames at all – jflaflamme Jan 7 '12 at 1:25

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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