Question

Sub-domains with MX records (for Mailgun)

Posted May 15, 2015 17k views
Ubuntu Email DNS

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?

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.

2 answers

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. =]"

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

Submit an Answer