Question

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

There is this tutorial: https://www.digitalocean.com/community/tutorials/how-to-run-your-own-mail-server-with-mail-in-a-box-on-ubuntu-14-04

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.

Thanks!

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.

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 www.example.org are pointed to the same place as example.org