Can I redirect my naked domain to a different IP without breaking mail?

Hi all,

I’d like to change the A record for so that instead of pointing to the static site server built into MIAB, it points elsewhere.

This won’t break mail delivery, will it?

(I realize I could just use the MIAB server as a web host, but I’d rather keep my email separate from everything else, so I’m less likely to accidentally screw it up.)


No, that’s not a problem.

Assume your box is named:, you can safely point your and to a different host.

Awesome, thanks.

I figured it would work, but I’d rather not take down my email just to find out.


This will work, but only change your A / AAAA records. Not the MX/SPF and other records.

Surely this will break the certificate renewals as the challenge on the domain needs to find the MIAB website?

Please try it before guessing advice. The earlier comments are correct and it is a typical setup to have the main domain name (e.g. point to a different server to serve a website, so long as the main domain name is not the same as the box’s hostname (typically That’s because (all) mail uses a TLS certificate for the box’s hostname (not the main domain).

It “breaks” renewal of web certificates, but mail certs are still good since the email will originate from

Installing let’s encrypt on the web server of your choice and setting up cron to do auto renew will work just as well as it does on MIAB.

Mmm I have been trying off and on for some months, under the mistaken belief that the web site cert was needed for mail, and inventing ways around it. As is usual within minutes of sending my post the truth dawned on me! So I am good to go now, albeit with the little frustration about the postfix recipient delimiter (address tagging) being ‘+’ only.
Thanks for the good work.

1 Like