Avoid domain.com/webmail redirect to https://hostname.com:2096

stefanbc

Well-Known Member
Apr 13, 2015
52
0
6
toronto
cPanel Access Level
Root Administrator
I tried the following without success

Always redirect to SSL OFF
Non-SSL redirect destination Origin Domain Name default
SSL redirect destination SSL Certificate Name default

If I am not mistaking https:// domain . com / webmail should not redirect to https://hostname.com:2096
I have a secure certificate installed on https:// domain . com /

Thank you
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
Hello :)

SSL certificates for services such as cPanel/WHM/Webmail are not supported on a per domain basis. Instead, the service certificate installed via "WHM >> Service Configuration >> Manage Service SSL Certificate" is utilized. There's a feature request for what you are seeking at:

SSL certificate per domain on all services

Thank you.
 

stefanbc

Well-Known Member
Apr 13, 2015
52
0
6
toronto
cPanel Access Level
Root Administrator
Hi,

I already know about that request. Is there a way to go around it from the terminal?

My provider says that if I buy a secure certificate for webmail.domain.com they might be able to at least make the subdomain work without any ssl errors?

Thank you
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
There are two options as it stands now for accessing webmail.domain.com over SSL:

1. Enable proxy subdomains, which forces the use of the SSL Certificate in "WHM Home » Service Configuration » Manage Service SSL Certificates".
2. Disable proxy subdomains, and manually configure redirects for the subdomains to the proper SSL ports.

Thank you.