Set up mail-in-a-box for existing website

There is this tutorial:

It’s a very good tutorial, I managed to make my web mail running. But, I had to change the nameservers on my registrar to the glue records:

From the original digital ocean name servers:

Now in the tutorial there is a quote about this situtation: “If you do have an active website at your domain, make sure to set up the appropriate additional DNS records on your Mail-in-a-Box server. Otherwise, your domain won’t resolve to your website. You can copy your existing DNS records to make sure everything works the same.”

But what exactly do I do? I need to get more accurate instructions because the original website is not working now.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

The “appropriate additional DNS records” that are needed for a web site are:

  • The main domain’s A record @ IN A [Web Server IP Address]
  • The “www” CNAME www CNAME @ which ensures that requests for are pointed to the same place as