I did the migration and successful. I moved by site previously hosted in Godaddy to now in Digital ocean. Site is running all fine.
One new problem. My emails are hosted with godaddy. Now My emails have stopped working. How to solve this?
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!
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.
Click below to sign up and get $200 of credit to try our products over 60 days!
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
If I understand correctly, you’re wanting to use DigitalOcean to host your actual website, but use the e-mail services provided by GoDaddy and the shared hosting plan that your website was previously on, correct?
If so, when doing a lookup on the domain
businesslabs.org(the domain you’ve noted above), I see a few issues right off.
1). It looks like you have two
Aentries, both of which point to
businesslabs.orgto the same IP. You need to remove one of those entries.
2). The lookup doesn’t report any valid
MXentries, and without them, you’re not going to receive e-mail.
3). The lookup doesn’t report any valid
CNAMEentries, and these are used by your
MXentries, and without them, e-mail won’t resolve to the noted
So to get things in working order…
Let’s start fresh!
Whatever entries you have, whether
CNAMEor other, delete them from within CloudFlare (not GoDaddy) and let’s start from square one by adding our
Adding A Entries
NOTE: I’ll be using
GODADDY_IPas we move along. Simply replace
DROPLET_IPwith your DigitalOcean Droplet IP Address and for
GODADDY_IP, you may need to get in touch with their support team. It all depends on whether the IP shows up in cPanel for you.
Most all DNS providers, including CloudFlare, accept
@as a reference to your domain, which is why I’ve used it in the above. This simplifies things quite a bit.
wwwentry ensures that requests for both
www.businesslabs.orgwill resolve equally.
mailentry is what I was referencing above. Since
mail, which will reference
MXentries do not resolve to IP’s, a name must be available, so we’re setting
mail.businesslabs.orgfrom here on.
Adding MX Entries
Now we need to add an
Here we’re setting a Priority of 0 for
mail.businesslabs.orgwhich is standard since you’re not (to my knowledge) using multiple mail servers. This represents the highest priority.
If you have four input fields, you may need to use
@to reference your domain once again, in which case your
MXentry would look like this:
Adding Other Entries
At this point, we have proper
MXrecords. You may have a
www– it’s not needed as we instead set
Aentry (which is perfectly valid and actually more appropriate).
From here, if you need to add additional entries, simply add them as you did the above. When it comes to sub-domains, they should be setup as
mail. This is the default setup with cPanel, though I’m not really sure why as it simply complicates DNS resolution.
Aentries. The only time you may need to use a
CNAMEentry is if GoDaddy requires it for
For example, if you’ve setup a
Aentry for your domain using:
mailis accessed, the routing looks something like this:
Whereas with with an
Aentry, the routing is cut down to:
Are you wanting to keep your emails hosted with godaddy? If so, then you need to set the MX records of your domain name back to the godaddy mx. If your domain dns is controlled through godaddy, do it at the godaddy control panel. If you changed your domain name server to your own server, then set the mx at your own server to point to godaddy or else change the name server back to godaddy and control the dns settings there.
First: When I was first hosting my site and emails with godaddy i used cloudflare for CDN and so my DNS i can see in Cloudflare.
Second: I have migrated my site to digitalocean but i want to use the same godaddy shared linux cpanel to use my email currently.
Third: What should be dns setting i need to update in cloudflare to get my emails back to track?