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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.