By kamstan6
I was previously my site at hostgator and now moving to DO, thought now that I have to manage the email server. I wanted a way that only my website can be pointed to DO and the the email accounts still be managed by Hostgator (i.e. point email to hostgator). I am new to hostgator and VPS configuration in general.
The articles/tutorials I read none of them answered my above question mentioned
Any leads will highly welcome.
Thank you
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!
Accepted Answer
If you plan on using DigitalOcean for your DNS, you’d simply setup your domain through the control panel (under Networking) and then modify your DNS zone accordingly.
For example:
A @ DROPLET_IP
A mail HOSTGATOR_IP
CNAME www yourdomain.ext
CNAME mail mail.yourdomain.ext
MX @ mail.yourdomain.ext 0
DROPLET_IP
= The Public IPv4 IP of the Droplet you deploy.
HOSTGATOR_IP
= The IPv4 IP of the web server your account resides on.
yourdomain.ext
= Your actual domain name + extension.
The only thing you’d need to keep a look out for is when/if HostGator changes their IP. I’ve ran in to this a few times on setups with clients I’ve worked with in the past across a number of providers, so in the event they change the IP, you’ll need to change the IP listed in your DNS to match. It shouldn’t happen often, but moving accounts around is pretty normal, so it’s possible for it to happen a few times.
Point your A Records to your droplet and your MX records to your Hostgator inbox.
This comment has been deleted
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.