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.

KFSys
Site Moderator
Site Moderator badge
October 20, 2020
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

Did you ever get this to work?

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel