# DNS Guru: MX and CNAME

**URL:** https://forums.speedlife.net/t/dns-guru-mx-and-cname/54569
**Category:** NYSpeed Off Topic
**Created:** [September 8, 2008, 2:15pm UTC](https://forums.speedlife.net/t/dns-guru-mx-and-cname/54569 "2008-09-08T14:15:02Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![boxxa](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/boxxa/32/5045_2.png) [@boxxa](https://forums.speedlife.net/u/boxxa)
#### Post date: [September 8, 2008, 2:15pm UTC](https://forums.speedlife.net/t/dns-guru-mx-and-cname/54569/1 "2008-09-08T14:15:02Z")

</div>

Situation is that I am moving my mail server from the server to a third party host for my hosting company.

The domain ([mysite.com](http://mysite.com)) is bought through Yahoo. The name servers are registered through there so i have [ns1.mysite.com](http://ns1.mysite.com) and [ns2.mysite.com](http://ns2.mysite.com) pointed to my server.

Now, if [company.com](http://company.com) is hosting my email, what entries need to be updated? CNAME and MX entires need to forward [mail.mysite.com](http://mail.mysite.com) to the new server along with the MX entries need to be changed.

What path does a client requesting [mysite.com](http://mysite.com) result with DNS entries?

---

<div class="post-metadata">

### Author: ![LZ1](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@LZ1](https://forums.speedlife.net/u/LZ1)
#### Post date: [September 8, 2008, 2:54pm UTC](https://forums.speedlife.net/t/dns-guru-mx-and-cname/54569/2 "2008-09-08T14:54:14Z")

</div>

Create an A record for [mail.mysite.com](http://mail.mysite.com) with the IP of the company hosting your mail server(or whatever new server is hosting your mail)

Create an MX record pointing to [mail.mysite.com](http://mail.mysite.com)

CNAMEs are just aliases that point at other host names…

A Record 10.10.10.25 = [mail.mysite.com](http://mail.mysite.com)  
MX Record = [mail.mysite.com](http://mail.mysite.com)

A CNAME example would be…

CNAME [webmail.mysite.com](http://webmail.mysite.com) = [mail.mysite.com](http://mail.mysite.com)

---

<div class="post-metadata">

### Author: ![boxxa](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/boxxa/32/5045_2.png) [@boxxa](https://forums.speedlife.net/u/boxxa)
#### Post date: [September 8, 2008, 6:15pm UTC](https://forums.speedlife.net/t/dns-guru-mx-and-cname/54569/3 "2008-09-08T18:15:30Z")

</div>

What would the A entry be for if there is a CNAME?

Also, does this need to go on Yahoo Domains or on the main server [mysite.com](http://mysite.com)’s dns entries?

---

<div class="post-metadata">

### Author: ![LZ1](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@LZ1](https://forums.speedlife.net/u/LZ1)
#### Post date: [September 8, 2008, 9:36pm UTC](https://forums.speedlife.net/t/dns-guru-mx-and-cname/54569/4 "2008-09-08T21:36:57Z")

</div>

A records point hosts at IPs

CNAMEs point hosts at hosts

Whatever company you registered the domain with lets you pick DNS servers…you need to add the A record/MX record to those name servers you pointed your domain at…

---

<div class="post-metadata">

### Author: ![boxxa](https://yyz2.discourse-cdn.com/flex034/user_avatar/forums.speedlife.net/boxxa/32/5045_2.png) [@boxxa](https://forums.speedlife.net/u/boxxa)
#### Post date: [September 8, 2008, 9:50pm UTC](https://forums.speedlife.net/t/dns-guru-mx-and-cname/54569/5 "2008-09-08T21:50:09Z")

</div>

Thanks. That fixed it. The Yahoo settings were right but all the MX entires needed to be added to the server where our own nameservers are hosted.
