Can I create my mail server on the same droplet that i am hosting my website on?

October 29, 2019 782 views

I have my website on -let’s say on- droplet X
I want to create an email account say"“, how i can create it?

5 Answers

Hi @amiralbtal,

Since you haven’t mentioned what OS you are running on your droplet, I’ll take a guess and say it’s Ubuntu 18.04 since it’s the most used one.

I’ll recommend using Postfix to send out mails and configure mail accounts. Digital Ocean have a very good article on how to configure your mail server on a droplet - How To Install And Configure Postfix On Ubuntu


by Justin Ellingwood
by Hanif Jetha
Postfix is a popular open-source Mail Transfer Agent (MTA) that can be used to route and deliver email on a Linux system. It is estimated that around 25% of public mail servers on the internet run Postfix. In this guide, we'll teach you how to get up and running quickly using the Postfix mail server.

thanks for you fast reply!
i will give a try


“For the purposes of this tutorial, we will assume that you are configuring a host that has the FQDN of”

what’s suppose to mean?

“fully qualified domain name”. You are supposed to replace “” with your own domain name.

Hey guys!

Sorry for bothering, but the answer is not clear to me.
Is it possible to create a mail server on the same droplet that i am hosting my website on?
Im running Magento2 on Ubuntu 16.

Thank you in advance.

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!