How To

How to Setup Free Custom Email On DigitalOcean

If you are using DigitalOcean as your hosting provider, then you might know that it quite hard to setup and configure your email server on your droplet. Also, it is poorly reputed because it conflicts with many other services and very hard to manage. You might know this if you have read it about on DigitalOcean guides.

Apart from these facts, there are several other issues like Firewall, Emails treated as spam, Antivirus false detection and much more. For that reason, we have seen that the beginners are not that attracted by DigitalOcean.

Read: Why You May Not Want To Run Your Mail Server?

Why Choose Digital Ocean?

But to be honest, DigitalOcean is the best hosting service that I came across in the past four years. You can customize anything in any way you want from memory limit to PHP version to operating system. With unlimited bandwidth and enormous processing power, it can handle almost anything that you throw at it.

Let me explain this with an example. One of my friends was doing event blogging, and he purchases $5/month droplet. And luckily when he got lots of traffic approx 10000+ real time visitors, he was worried about the server. You can optimize your WordPress PageSpeed score to get even more speed. But server handled that much of traffic effectively.

So, you can see there is no chance for any other hosting provider to beat its competitive price. But now back to the custom email problem.

But what if I say that there is a way around this without setting up anything on DO?

You will be thinking about Gmail for business.

What if I say it is absolutely free?

Pretty intriguing right! So here in this article, we are going to see how you can add custom emails with your DigitalOcean droplet using free email service.

How to Setup Free Custom Email On DigitalOcean

So let me reveal the service that I have entertained a lot. Its name is Zoho. You probably may have heard about this, but what you don’t know is that it provides free custom email for single domain per account and up to a total of 10 custom emails.

Getting excited huh? So let’s get on with how to setup Zoho email with your DO server.

Signing Up with Zoho

  1. The very first thing that you will need to do is to sign up with Zoho. For this go to and sign up using your details and complete the verification process.Zoho Email
  2. Now login to your Zoho account.Zoho Sign In
  3. After logging in you will see various Zoho services. Click on Mail option.
  4. Now you will be redirected to plans page. There select Lite plan. You will get 5 GB of storage per email account with ad-free experience. Make sure to choose to add your existing domain option.Zoho Plan
  5. After selecting the free plan, it will ask you to add your domain to Zoho. Enter your domain name and proceed.

Verifying the Domain Name & Setting up Custom Email

  1. Now you will have to verify whether you own the domain or not. There are various options to verify the domain but to keep it neat and straightforward we will use Cname method.Zoho Domain Verify
  2. Login to your Digital Ocean account and go to networking tab. From there select your domain and click on more and then click manage domain to access the DNS Manager.
  3. Now click on CName and enter the Zoho records to verify the domain.CName Verify Zoho
  4. Click on proceed verification using CName. If it says, verification fails then recheck that records are properly added in Digital Ocean or not. If yes, then wait for some time and then try verifying later.
  5. After successful verification of your domain, you will now have to create your custom email address. In my case, it was admin[at]
  6. Now you can add users and also can create groups to manage multiple email addresses. But for now, we are going to skip that part because it’s quite easy.
  7. To receive email on these new custom email, you will have to add MX records to your DNS. Go to DNS Manager in Digital Ocean, select MX records and add these records.
    @ 10
    @ 20Zoho MXRecords
  8. Now you will be able to receive emails on your custom email addresses.

Setting up IMAP/POP/SMTP access

After completing the above steps, now you will be able to access your email account using the setting given below. You can use it with services like Gmail or any other 3rd party email service or client. Use Easy WP SMTP, one of the best plugins for WordPress to configure your WordPress to send mail using a custom email address. You can also use SSL and TLS encryption.

Dodging the SPAM Filters & Making the Mails Origin Authentic

If you are a very keen user, you may have seen something like this on your Gmail account.

Gmail Spam Filter

Even though your email will not land in SPAM, but the user will see a question mark when they receive mail from your custom email. This doesn’t look good. So now we are going to fix that by using SPF and DKIM records.

What is SPF and DKIM records?

Authentication is a way to prove an email isn’t forged. Adding these records means that your domain has verified to send this email on behalf of Zoho, WordPress or any other service.

Adding SPF Records

Zoho SPF Record

You can add SPF record by adding @ in the hostname and v=spf1 ~all in value

You can verify this using several tools like

Adding DKIM Records

  1. Go to Zoho Mail control panel. Click mail administration, go to Email Authentication -> DKIM.Zoho DKIM Control Panel
  2. Click edit and click add selector. You can add anything there, click on save.Zoho DKIM Selector
  3. Now you will have to add the newly generated records in the DNS and complete the verification process.Zoho DKIM Selector Verify
  4. After successfully verifying the selectors, the next thing you need to do is to enable it for your domain. Go to DKIM in control panel and click the gray button next to your domain name. It will turn green, and that means you are now ready to roll.

After effects of adding SPF and DKIM records

Now the next time you send an email it will look like this:

Gmail New Mail

Now it looks pretty dope right. I hope that you have liked this guide to setup custom email on DigitalOcean. If you find any difficulties,  then do let me know in the comment section below.

Article written by Rachit Mangi

Hey, fellas! This is Rachit Mangi, co-founder and administrator of Tricks N Tech. He is a Computer Engineer by degree and a passionate blogger by heart. He likes to code sometimes. He is fond of watching movies and cricket. He loves to travel to new places.

This Post Has 4 Comments

  1. Junaid Kayani Reply

    Hi, really nice post, I was looking for help on this topic, and I found it here. Got information from this. Love your site. Thanks!

  2. Neil Reply

    Unfortunately Zoho is no longer offering a free IMAP service. The free plan is now webmail only.

  3. Xá Lợi HCM Reply

    Hurrah, that’s what I was searching for, what a stuff!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.