My first MIAB setup

So, I have a domain, for the sake of understanding, let’s call it example.xyz. The domain is already pointed to DigitalOcean nameservers so I can manage it on there. On www.example.xyz a NextJS site is being served and example.xyz redirects to www.example.xyz. I have created a droplet called mail.example.xyz and installed MIAB on it. What DNS records should I put in to DigitalOcean to create an email address example@example.xyz. I have managed to do something but my mails would bounce back.

1 Like

you need to create an MX record in your DNS pointing to mail.example.xyz
you also need an A record linking mail.example.xyz to it’s external IP address

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

In addition to the A record pointing at `mail.example.xyz, you’ll need a TXT SPF record and DKIM record if you want to successfully deliver email to major providers.