Hi guys,
Little help here :) We’ve just sorted out our server with serverpilot.io and configured multiple domains there. Now we need to setup mail server and we’re a bit puzzled with the records.
We’ve created another droplet running Ubuntu 12 with VestaCP on it, as we had experience with it. The problem is connecting the domain to a different server where the mail server is. What are the MX records we should set, and is there anything else we should know about it?
Thanks!
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.
I can suggest Mail-in-a-Box for a dedicated email server, works very well and easy to setup.
You can definitely point set up a domain name’s email on a different server than the website itself. To do that, create an A record that points to the mail server and an MX record that points to the A record:
Make sure you replace “mail server’s IP address” with your VestaCP droplet’s IP address.
Or better yet - how can this work if we already have the domain name pointing to another IP address of a droplet where the site is.
https://www.digitalocean.com/community/tutorials/how-to-install-iredmail-on-ubuntu-12-04-x64