Redirect requests for the servers hostname to webmail
Hello, I am trying to find a way to redirect my servers hostname to the webmail login so that if someone browses to does anyone know of a way to do this without throwing up a ssl error? I have attempted to do a redirect in /usr/local/apache/htdocs/index.html using a html redirect to the browser blows an error "ERR_SSL_VERSION_OR_CIPHER_MISMATCH", perhaps there is a different way I have missed?
-
Have you tried: Tweak Settings -> Redirection -> Always redirect to SSL/TLS? If enabled will redirect: domain.tld:2095 to host.tld:2096 and domain.tld:2082 to host.tld:2083 0 -
Have you tried: Tweak Settings -> Redirection -> Always redirect to SSL/TLS? If enabled will redirect: domain.tld:2095 to host.tld:2096 and domain.tld:2082 to host.tld:2083
Hi thanks for the reply, it's not that redirecting from 2095 to 2096 is the issue. Really I just want any https request with no specified port number to redirect to the webmail login. I only have one domain on this server and am strictly using the server for email, no websites being hosted. So users will be using the servers hostname eg mail.mydomain.tld to access webmail. What I'm hoping is that I can simply redirect any requests to mail.mydomain.tld to webmail. So I believe the ssl redirection is working as it should because if I visit mail.mydomain.tld without specifying https it redirects perfectly to webmail using the html redirect I have placed in /usr/local/apache/htdocs/index.html. The issue is when I specify https in my browser and visit0 -
Actually I got it figured out, the thing that was getting me was the default shared ssl certificate. Once I swapped out the default shared cert with my commercial cert all was well. Nonetheless thanks for your help! 0 -
Hi @scristopher I'm glad to hear that you were able to get the issue resolved can you let us know exactly what you did to achieve this for others who may want to know as well? Thanks! 0 -
HI @scristopher I see! Thank you very much for updating us with the resolution, I'm sure it'll help others who may have had the same issue. This is very much appreciated. Thank you 0
Please sign in to leave a comment.
Comments
6 comments