Different server for emails and website

  • Posted on August 28, 2014
  • hambos22Asked by hambos22

Hello. I built a website for my client and I want it to host it in digitalocean. My client doesn’t want to change his email platform and he wants to keep it in the previous server. So I thought to add an A RECORD on the previous server to point to DigitalOcean’s one. Ok this is easy. But I don’t know that to do in the domain’s nameservers. I’ll keep the present nameservers or I should add DigitalOcean’s? And also what should I do in DNS setting of the droplet?

Thank you

Show comments

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.

In theory, yes. Once you add that A-record, it might take a little time for it to start working across the internets.

NOTE* If you create an A record for a sub-domain, just type in the part of the sub-domain (like www or forum, rather than typing in )

A lot of people seem to make that mistake and wonder why it is not working

It will probably be easiest for you to keep your current nameservers and just add the A record for the domain (and www if you use that) …point those to your droplet IP.

No need to do anything with the digital ocean DNS since you will not be using that.