Changing Domain Name DNS to Redirect web traffic to one server, and leave mail to original server
Posted
by David S
on Server Fault
See other posts from Server Fault
or by David S
Published on 2010-06-09T05:27:25Z
Indexed on
2010/06/09
5:32 UTC
Read the original article
Hit count: 524
Hi there, Ok, quite the idiot with DNS.. apart from the basics.
I have a domain name hosted with a domain registrar. It seems to have full DNS control (i.e. ability to view/edit A Records, Mail etc..)
- We have recently setup a server at Rackspace which hosts the new website
- The original/existing server (where the old website still is and Mail) is on another shared hosting companies server
I went to the domain name registrar, and checked out the DNS management as follows:
click here to view the DNS screenshot
So obviously the A Record is pointing to the actual server where the website/mail is I figure, and the CNAME is pointing (alias?) to the website url.
So my question is this: If I want the web traffic portion to go to the Rackspace/new server, but keep the mail going to where it is now, what do I have to change?
Also, should I even change this info at the domain registrar? the rackspace server account has full DNS which seems to suggest I can point to their nameservers and then re-direct the MX (Mail) traffic to where the mail server is?
Sorry if that was a bit confusing.. obviously in need of DNS training ;)
Any help very appreciated. David.
© Server Fault or respective owner