At this time mail.Domain1.com is an alias of mail.OldMailDomain.com A user enters http://mail.Domain1.com and logs in with username.Domain1-psw
I have a new domain, new path and a new squirremail installation from Virtualmin. It is on a private IP xxx.xxx.xxx.2 (public is xxx.xxx.xxx.1) Commercial certificate.
All users are able to enter https://mail.NewMailDomain.com and logging in with username.Domain1-psw
What I want to know is what changes are needed to access the same webmail using https://mail.Domain1.com, the same url the user is using regularly (but httpS) (I have a condition rule to redirect from http://mail.NewMailDomain.com to https://mail.NewMailDomain.com)
At this time mail.Domain1.com mail.Domain2.com .... are aliases of mail.OldMailDomain.com
For testing I moved this alias to the new mail domain but this is not enough, http://mail.Domain1.com displays the Apache 2 test page and https://mail.Domain1.com warns about the certif created during VM installation.