Question

Two droplets for one domain

Posted May 25, 2014 2.4k views
Hi, I want to use one domain in two droplets. In the first droplet i want to install the web server and in the second iredmail and a few cron jobs. It is possible? Thank you, Szilard

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.

×
2 answers
Definitely! You don't have to host the mailserver on the same server as your website.
Your DNS setup should look like this:
@ A 1.3.5.7

www CNAME @

mail A 2.4.6.8
@ MX 5 mail (Priority: 5, value: "mail")

where 1.3.5.7 is your webserver's IP address and 2.4.6.8 is iRedMail's IP address.
Let me know how it goes! :)
Thank you, is working properly:)
Submit an Answer