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
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.
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 forum.yourdomain.com )
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi,
The correct way to retain the email on the old server is as below:
That’s it.
For making example.com point to the D.O IP, you can add an A record or a CNAME record. Both will work.
@eddiecue: Can you post the actual domain name and the correct IP address?
I have the same issue… I’ve managed to point the www already. The only thing I’m having problems is pointing the domain when they don’t type in the www.
www.example.com - points to the ip just fine by adding the A RECORD. example.com - Still points to the old location.