Question

Step by step instruction for configuring dns records for email server.

Please provide step by step instructions for setting up dns records for an email server. The tutorial says create a mx record, but not where or how to create it. Other tutorials give conflicting information. Such as “create a mx record at your registrar”, the tutorial on dns says to point the mx record at the gmail servers, but I want to host my own email. I tried the modoboa setup that someone else suggested, but it was awful. Horrible software. I just want to send and receive emails and be able to use webmail. (because console email is not useful for attachments) I need for my website users to be able to have their own account too, and I’m not going to have them using a console.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Maybe you should understand first is the domain name record and Droplet are two things. Your domain name added to DigitalOcean Domians is independent of your Droplet, you can create the relationship with a sub-domain to a service on your Droplet. For example, you have added a domian name ‘abc.com’ to DO’s Domains. you can create an ‘A’ record with name ‘www’ and point to your IP address ‘119.119.119.0’ of Droplet(A), now the sub-domian ‘www.abc.com’ is related with the Droplet. The same way, you can add another ‘A’ record with name ‘images’ to point to your Droplet(B) which IP address is ‘220.220.220.0’, let the ‘images.abc.com’ is related with the Droplet(B).

The domain name has nothing to do with droplet before you add dns records.

You create your MX record wherever your domains nameservers are and you point them to your droplet IP.