Topic: <SOLVED (kinda)> dual hostnames one server/IP/iRedMail instance
================ Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7 MARIADB edition
- Linux/BSD distribution name and version: Raspbian GNU/Linux 8 (jessie)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? : NO (OS iredadmin)
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Running: Roundcube (with a couple of addins; haven't dug into SOGo)
Running certbot-auto with a combine certificate (reasons for this in one of the other posts)
I have two FQDNs pointed to the same email server with a combined Let's Encrypt certificate on auto update:
AAAAAA.freeddns.org
BBBBBBB.freeddns.org
https://AAAAAA.freeddns.org redirects to https://AAAAAA.freeddns.org/mail like its supposed to. I can log in to email addresses on both AAAAAA.freeddns.org and BBBBBBB.freeddns.org without issue. The SSL works without errors.
When I try the same thing with BBBBBBB.freeddns.org, it to successfully redirects to /mail but the SSL isn't loaded properly and I have to add an exception.
The SSL is combined to have both AAAAAA.freeddns.org and BBBBBBB.freeddns.org in it as I think there's a limitation in postfix for a single SSL certificate.
My question is this: is it even possible to host multiple FQDN/iRedMail/Roundcube on s single machine/IP? If so how?
Thanks
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.