Question

Different mail and web server

Posted December 15, 2015 2.6k views
Getting Started Configuration Management

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?

1 comment

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.

1 answer

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

Submit an Answer