Question

MX record for subdomains?

  • Posted on October 4, 2014
  • anthonygAsked by anthonyg

Is there any way with DigitalOcean DNS to create an MX record for a subdomain?

Our email is handled by Gmail, so we have the standard MX records:

MX 1 ASPMX.L.GOOGLE.COM. MX 5 ALT1.ASPMX.L.GOOGLE.COM. MX 5 ALT2.ASPMX.L.GOOGLE.COM. MX 10 ASPMX2.GOOGLEMAIL.COM. MX 10 ASPMX3.GOOGLEMAIL.COM.

However, we also process incoming email through our application via Mandrill (http://mandrill.com/). This requires a separate subdomain (e.g. inbound.mydomain.com), for which we’d need subdomain-specific MX records.

There doesn’t seem to be a way to specify a subdomain name on the DigitalOcean DNS control panel. Am I mistaken, or am I going to have to use a separate managed DNS provider (e.g. http://dnsmadeeasy.com or AWS Route53)?

Thanks, Anthony


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I finally figured it out: put in your fully qualified subdomain as a new domain in your DNS settings, as if you were setting up an entirely new domain. (subdomain.domain.com). You can then set the MX records from there.

+1 for adding sub-domain MX records. We had a news letter setup when we migrated it does not work now, because it was configured for a sub-domain. You inbond emails are handled by gmail. Any detailed tutorials on how to get this working (work-around) ?

Found out that you can actually set the subdomain mx record via the api, it also gets displayed correctly in the zone file but not in the interface itself.