I found a similar post, but I don’t think it quite answered my question.
First, mailcow version: 2024-06c
I have two separate domains (more coming, moving off SmarterMail on expensive VPS). Let’s call the domains: a.com and b.com. I have all the right DNS entries for mail.a.com and mail.b.com, all the testing is working, all the sending and receiving is working (now that I disabled IPv6 so Gmail will let me in). I’ve since restarted all the docker containers, as well.
When I go to https://mail.a.com to get to the webmail UI, it’s fine. But when I got to https://mail.b.com I get browser alerts telling me that the SSL cert is for mail.a.com, not mail.b.com. To be clear, these are NOT domain aliases. These are separate domains with separate admins and mailboxes.
I don’t want to have to put Traefik in to manage this, that just seems like dumb overhead I don’t need. I must be missing something. I’m no nginx expert, not even close (never even worked with it). What I read about “creating separate sites” can’t be right. I must be missing something to get SANs into the LetsEncrypt certs?
Any insight would be much appreciated. Thanks!