Setup web and mail server on 2 different droplets

  • Posted April 18, 2014

I have already setup nginx web server on a droplet and it’s running fine. I have also setup to point to the droplet (Droplet A).

Now I would like to run a mail server on a separate droplet (Droplet B). How to configure the DNS / MX records so that Droplet B receive mail for while droplet A serves the web?


Submit an 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.

Just setup postfix (and dovecot if you wish to connect with a mail client) on a new droplet, make sure its pointing to something like Create an A record and call it and have the IP of your mail server be located there. Then create a MX record and have it be <br> <br>If you want it to be simple, you could try iRedMail, but I would suggest learning how to set everything up by hand so you could get a good understanding how the software works. It is not hard at all :)