# MX and CName in DNS settings

**URL:** <https://answers.netlify.com/t/mx-and-cname-in-dns-settings/49279>\
**Category:** Support\
**Tags:** netlify-dns-https-ssl\
**Created:** [December 29, 2021, 3:57am UTC](https://answers.netlify.com/t/mx-and-cname-in-dns-settings/49279 "2021-12-29T03:57:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdk0027](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mdk0027](https://answers.netlify.com/u/mdk0027)\
**Post date:** [December 29, 2021, 3:57am UTC](https://answers.netlify.com/t/mx-and-cname-in-dns-settings/49279/1 "2021-12-29T03:57:08Z")

</div>

Hi everyone!

I’m trying to get better with DNS settings and have come across an interesting challenge. I want to set up a domain to both have an MX record (for Amazon WorkMail account) as well as a CNAME (for the site).

This works perfectly for the www subdomain, but unfortunately it doesn’t work for the null subdomain.

To clarify, [www.myDomain.com](http://www.myDomain.com) works, the MX works (email is working!), but [myDomain.com](http://myDomain.com) DOESN’T work

Netlify site name:  
**admiring-hugle-73f521.netlify.app**

I’m sorry I’m very new to DNS settings. I went through [messwithdns.com](http://messwithdns.com) which helped a ton but didn’t go over this exact topic. Any help would be much appreciated. Thank you!!  
Here’s a screenshot of my DNS settings in Netlify:

 ![Screen Shot 2021-12-28 at 7.58.22 PM](https://global.discourse-cdn.com/netlify/original/3X/1/f/1fe00fcba94d3560638307364ea879323716d284.png)

---

<div class="post-metadata">

**Author:** ![coelmay](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/coelmay/32/24427_2.png) [@coelmay](https://answers.netlify.com/u/coelmay)\
**Post date:** [December 29, 2021, 4:33am UTC](https://answers.netlify.com/t/mx-and-cname-in-dns-settings/49279/2 "2021-12-29T04:33:08Z")

</div>

Hi @mdk0027

Welcome to the forums

Have you looked the the [Netlify DNS documentation](https://docs.netlify.com/domains-https/netlify-dns/)? If using Netlify DNS, there is no need to have a CNAME record pointing to your Netlify site. You should see (if correctly configured) two **NETLIFY** DNS entries e.g.

 ![dns-coelmay.net.au-dns-only](https://global.discourse-cdn.com/netlify/original/3X/1/9/190c0e5ddad972cbd30b0aa6b13863683107a6c6.png)

You can then add in MX, and other record types to point to other locations e.g.

 ![dns-coelmay.net.au-dns](https://global.discourse-cdn.com/netlify/original/3X/2/b/2b0479bd456e284eae6f14254623322a6899cf7d.png)

---

<div class="post-metadata">

**Author:** ![mdk0027](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@mdk0027](https://answers.netlify.com/u/mdk0027)\
**Post date:** [December 29, 2021, 5:11am UTC](https://answers.netlify.com/t/mx-and-cname-in-dns-settings/49279/3 "2021-12-29T05:11:59Z")

</div>

Ah thank you! I had previously deleted those by accident - got it corrected now. Thanks again!
