Report this

What is the reason for this report?

Use custom domain but keep email hosting.

Posted on May 14, 2018

Hi, I’m planning to move my production web app from a Cpanel hosting to a DO droplet + Laravel forge. However, I didn’t consider there are a few existing email accounts in use for my app’s domain. In Cpanel, email accounts were pretty easy to setup/manage.

Is there any way that I can keep the Cpanel email functionality on my old hosting, but also have my domain point to my web app in the new DO droplet?



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.

Yes. Web and Mail utilize different DNS records so they can be easily pointed to different IP addresses. What you’ll want to do is:

  • Change your blank or “@” A record to point to your droplet’s IP address
  • If “www” is defined with an A record instead of a CNAME, update it’s IP address as well.
  • Leave records like MX and A records for mail.yourdomain as they are.

Another option for email hosting would be to set up services with a provider like zoho.com who provide a free tier of service for hosted email. This will allow you to continue to offer managed mail for your domains without the associated costs.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.