Gmail As Email Hub

Dear All,

Before migrate from Shared Hosting to Digital Ocean, i have email and use Gmail as email hub based on this tutorial

Is it possible to use Gmail as email hub at Digital Ocean? Any tutorial step by step?

Thank You very much.

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


I personally use G Suite, though I’ve used it since it was Google Apps all the way back to when they announced that they were no longer accepting new domains for free, so I’m a bit biased.

There’s also Zoho, which I use as well.

It’s free for up to 25 users and provides 5GB/user. You’re able to use your own domain, but the limit is one domain per account unless you pay, so if you need to setup multiple domains, and you need to decide between G Suite or Zoho, I’d go with G Suite.


What you receive when you deploy a Droplet differs drastically than what you receive with cPanel. A Droplet is either a base OS (Operating System) image or whatever is provided with the one-click that you deploy. Other than the DigitalOcean CP, there’s not a control panel and everything is managed from the CLI (Command Line Interface) using Terminal, PuTTy, or your preferred method.

With the base OS, you’re responsible for setting up Apache or NGINX as your web server as well as installing any additional software that you may need (i.e. PHP, MySQL, NodeJS, etc).

The one-click images provided by DigitalOcean will allow you to jumpstart things a little quicker by providing an image that has most of these things installed for you, though they do not provide a mail server.

If you need a mail server, such as what is provided by web hosting providers that use cPanel, you’d need to install, configure, and test this on your own.

You could use something such as MailCow, which will automate the setup an a fully functional and working e-mail server, though it’s advised that this is setup on a Droplet that is separate from the one you would use for actual hosting of your content.

You can check out the MailCow project here:

I’ve used it in the past and it works well, though as with anything e-mail related, mail servers take time to run, update, upgrade, etc. It’s not as simple as deploy and leave it alone – the above will, however, get you off to a jumpstart and it does install all the bits and pieces needed for fully functional e-mail.