I have a godaddy domain but my site is hosted on digitalocean. How do I forward emails using godaddys free email forwarding?

May 5, 2016 8.7k views
Email DNS

I setup a free forward with godaddy so webmaster@mydomain.com sends copies to my gmail account.

However when I send an email to webmaster@mydomain.com I don’t seem to be getting any emails, returned emails or errors.

On my digitalocean side of things I have currently setup

A record: @ : Ip address of droplet
CNAME record = www : mydomain.com
CNAME record = pop : pop.secureserver.net.
CNAME record = imap : imap.secureserver.net.
CNAME record = smtp : smtpout.secureserver.net.
MX record = 0 : smtp.secureserver.net.

Nameserver records = ns1.digitalocean.com. , 2 3 etc

Can someone point me in the right direction? Cheers.

1 Answer

I don’t see any issue with the records you’ve shared. I would recommend reaching out to GoDaddy support in case they are preventing mail delivery if you use non-GoDaddy nameservers (if they do, please let us know here so others will have the info).

If that is the case, you can keep your DNS records on GoDaddy and simply create an A record for your droplet(s) that point to their IP address.

  • I replaced the nameservers on godaddy with digitaloceans.

    I have since reverted them back to the original godaddy nameservers and have an A record pointing at my droplets ip.

    I didn’t do that on digital ocean though, I just did it on godaddy.

    Do I need to set up an A record to point back to godaddy?

    • No. If your domain is again using GoDaddy’s DNS servers then they are authoritative and the records they return are what will be seen from anywhere that requests them. The A record pointed to your droplet should be all you need to ensure web traffic is routed correctly and your previously working settings for mail should ensure you are good there. There is no need with this configuration to have anything set up for this domain in the DigitalOcean DNS servers.

      • I thought so!

        Thanks very much for your help mate. I am quite sure my previous attempt would of worked now as I have worked out what was going wrong.

        I was sending emails from the gmail I had set as the email I wanted my domain to forward too (if that makes sense haha). They weren’t coming through. I thought it wouldn’t matter because you can usually send emails to yourself.

        As soon as I switched to another email to test with it worked! :)

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!