Question

Mail server in godaddy and website in digital ocean

Hello,

I had a website and the emails on godaddy, but because godaddy is extremely slow we decided to move the website to DO but I want the mails to be in godaddy because I dont want to migrate them.

The domain in porkbun: This is the configuration I have there:

ns1.digitalocean.com ns2.digitalocean.com ns3.digitalocean.com

In digital ocean, I added this MX record (I dont know if I need another record or only the MX should be enough):

MX mydomain.com stmp.secureserver.net. 14400

I have tried this also:

MX mydomain.com mail.mydomain.com. 14400

But it seems that none of them work or maybe I did not give enough time to propagate.

I have another client with same settings (site in DO and mail in ipage hosting) and I added a MX record in DO mx.ipage.com and it works as expected, so I am not sure what else I need to add to make it work with godaddy.

Anyway I have not found the proper settings I need.

In godaddy they told me that I have to add the following:

A (Host) @ godaddy IP A (Host) mail godaddy IP CNAME www @ MX @ mail.mydomain.com

I but dont think I need to add the A records if not the website in DO wont be accesible, right?

Thanks in advance for your help 🙂


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.

Accepted Answer

Hi @arturorv00,

You are correct, you don’t need to add the A record to GoDaddy as you want to host your website with DigitalOcean.

Having said that, what you can do is create a mail.yourdomain.com and point it to the GoDaddy IP address :

A (Host) mail godaddy IP

Once you do, you should be able to configure the MX record

MX @ mail.mydomain.com

without a problem.

So basically, skip the part for your A root domain name and cNAME record and do the other bits.

Regards, KFSys

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.

Did you ever get this to work?