Hi,
I’m currently confronted with a tricky problem that I can’t seem to solve. Here goes.
I have two servers that are supposed to be hosting web and mail services for a given domain. Currently I have something like this:
Server A :
- Nameserver ns.example.com
- Website https://www.example.com (alias https://example.com)
- Mailserver for a single mail address contact@example.com
- Webmail https://mail.example.com
Server B :
- Accounting software https://accounting.example.com
Here’s the thing. I’d like to migrate everything except mail/webmail to server B. But there’s a problem I can’t seem to solve :
- Mail for contact@example.com will be on server A.
- https://example.com (alias) will be on server B.
With BIND I can have an MX record for that. But what about LetsEncrypt ? I can only have a certificate for “example.com” on a single machine. Looks like I’m confronted with an impossible choice.
Cheers,
Niki