Add Mx record to use Hostgator Mail Server from Digital Ocean

Hello every one, I switched to DigitalOcean from Hostgator today, but my problem is my website have alot email accounts and data from old hosting, I have alot of important emails. But when I pointed my domain to new ip adrress (DO), I can’t send or get email. How can I configurate Mx record to use old “HG” Email server but my website still use DO.

for exam : mydomain.

IMAP : imap.mydomain SMTP : smtp.mydomain.


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.

Hello, @4checkervn

In order to change your MX record you need to point the record back to Hostgator. If you do not remember the MX record value/content you can reach to their support team and they can assist you with this.

The A record needs to be pointed to the IP address of your droplet/server with Digital Ocean. If your site is already resolving/loading from your Digital Ocean droplet/server then you do not need to make any changes.

Hope this helps!

Regards, Alex