Report this

What is the reason for this report?

Different mail and web server

Posted on December 15, 2015

How do i configure two droplets, one for mail sever and other for web server. I already have my web server configured with lamp , just need help with mail server. And how do they communitcate as domain name will be mapped to webserver, right?



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!

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.

Hi there!

Great question! This is handled at the DNS level. You set your primary A record to the server hosting the website (as well as a www record, if you like). Then you have MX records which are separate records. Those are the ones that you point to your mail server.

To give you an idea of what this looks like in our DNS panel:

http://d.jarland.me/s/bTUQx6PDan.png

In this example 127.0.0.1 would represent the web server address while 127.0.0.2 would represent the mail server address. I hope that helps!

If I can be of any further assistance, please be sure to let me know.

Kind Regards, Jarland Platform Support Specialist

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.