Topic: SOGo FQDN redirects to private IP address
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello, everybody.
I have SOGo published along with RoundCube and other apps and they all work properly (except SOGo).
I tried playing with SOGo and found out that for some reason once I log in SOGo redirects me to a url with the private IP address. So, the initial URL is https://myhostname.com/SOGo/ and it resolves correctly and the browser is happy. Once I enter my login details SOGo takes me to https://192.168.2.104/SOGo/so/myemailad … n.com/Mail and since the certificate is issued to https://myhostname.com/ I get a warning in the browser about the certificate mismatch.
How do I make SOGo stay in the FQDN instead of generating URLs with the private IP address?
Thanks
Since I have a certificate linked to the server
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.