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!
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!
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.
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.