Cannot Enable Force HTTPS Redirect

Operating System & Version
linux
cPanel & WHM Version
102.0 (build 30)

teanmi

Member
Mar 14, 2023
5
0
1
ohio
cPanel Access Level
Website Owner
I am trying to turn on Force HTTPS Redirect on my website but whenever I try to turn it on I am told "Some aliases for this domain may not have a working SSL certificate. My site has an SSL certificate but the service subdomains do not but I cannot find how to remove them. The list of the subdomains are:

mail
cpanel
webmail
webdisk
cpcontacts
cpcalendars
autodiscover

Is there any way I could remove them so I could turn on force https redirect on my website.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,261
2,432
363
cPanel Access Level
Root Administrator
Hey there! Do you have root access to this machine, or only access to the cPanel account?

If you have root access, I would recommend checking the Apache configuration (/etc/apache2/conf/httpd.conf) to ensure the ServerAlias line for your specific domain has those subdomains included. If so, it would be best to fix the SSL errors instead of trying to exclude them.
 

teanmi

Member
Mar 14, 2023
5
0
1
ohio
cPanel Access Level
Website Owner
I do not have root access to the machine. When I try I get some kind of error. Is there any way to do it in cPanel or do I have to figure out how to get root access?
 

teanmi

Member
Mar 14, 2023
5
0
1
ohio
cPanel Access Level
Website Owner
Okay. Sorry I do have root access but I don't know how to use it. I'm very new to everything works and it's not my strong point. Do you have a guide on how to use it?