Report this

What is the reason for this report?

Sub-domains with MX records (for Mailgun)

Posted on May 15, 2015

I was in the process of migrating the remainder of my DNS records from my previous hosting provider when I ran into a bit of a snag. One of my domains uses Mailgun but I also have normal mail setup as well. To get around this I have a subdomain setup for Mailgun (‘notifications.example.com’) so the MX record looks like this:

notifications.example.com. 300 IN MX 10 mxa.mailgun.org. notifications.example.com. 300 IN MX 10 mxb.mailgun.org.

Trouble is, I can’t seem to be able to put that in via the DO control panel. Anyone have any suggestions on what I might be able to do to work around that?



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!

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.

Cool thought that might be the case, but wasn’t sure if that might work. Thanks for the help!

https://digitalocean.uservoice.com/forums/136585-digitalocean/suggestions/3863376-mx-records-for-subdomains

"Just add a "domain" called "subdomain.domain.com" and setup your MX record there. =]"

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.