Question

Mail server in godaddy and website in digital ocean

Posted October 19, 2020 212 views
EmailDNS

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 🙂

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.

×
1 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

Submit an Answer