Question

Different mail and web server

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?

Show comments

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.

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