By mymbugua
I have been having an issue for the last few days. My mail is setup on cpanel. I have an CNAME record ‘mail.example.com’ pointing to my domain ‘example.com’. After changing my domain’s A record to point to digitalocean i stop receiving mail but reverting back to cpanel ip the mail starts coming in. I tried setting up a subdomain ‘mx1.example.com’ and created an MX record on digitalocean pointing to the subdomain but the mail still doesn’t come. Would anyone have a solution to 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!
Hello, @mymbugua
You can simply point the MX record to the IP of the server where your emails are hosted. You can also point the MX to a subdomain like you did if the subdomain is pointed to the correct IP address as well.
Keep in mind that DNS changes might take up t 24 hours or even more due to DNS cache from the ISPs. I believe that you should start receiving your emails soon.
You can check the DNS using this tool here:
Hope that this helps! Regards, Alex
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.