Sub-domains with MX records (for Mailgun)

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 (‘’) so the MX record looks like this: 300 IN MX 10 300 IN MX 10

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?

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

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