How do I change the MX Records on my server

I’m adding a domain to my droplet, the domain is currently hosted in GoDaddy. I know I have to change the nameservers in GoDaddy to NS1.DIGI… The only problem is that when I change the nameservers in GoDaddy, my emails which are hosted in Gmail are not able to receive or send emails. Even though the MX Records on GoDaddy remain intact and point to Google, I was told by a GoDaddy Agent that I have to change the MX Records in Digital Ocean to point to Google. How do I do this, and do I have to install something on the server for it work. I’m currently using Ubuntu 12.04 with LAMP…

I was able to transfer the domain succesfully the website was working great, but the problem was that my emails were not receiving anything, I have a form on my website that works with PHP linked to one of my domain emails and the form was not able to be delivered to the email, I destroyed my droplet and opened a new one installed lamp and changed the nameservers in GoDaddy in order for the emails to work again.

Please 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.

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.

Open DNS page from the main navigation in the sidebar, choose your domain name and add new record of MX type.

Click to DNS…Add your domain or View domain if already added------Add record-------Click MX and click on Add Gmail MX records next to create.