Force SSL for cPanel?
-
try going through the below docs. Tweak Settings - Redirection - Version 68 Documentation - cPanel Documentation 0 -
Hi, It also forces ssl for subdomains created by me. The only problem I have is that it doesn't work for cpanel.example.com. all of my subdomains has forced ssl but the cpanel subdomain doesn't. Any thoughts on this?
The code that you are using is for the account specific and is used in the .htaccess of the particular account and this .htaccess may not override the global configuration set for proxy subdomains. You will have to change the proxy subdomain behavior from the tweak settings section only..0 -
Both of the responses to this are exactly what I would suggest as well. Please let us know if you continue to have issues with the proxy subdomains over SSL. You'll want to ensure the following are set to on in WHM>>Server Configuration>>Tweak Settings: [QUOTE]Choose the closest matched domain for which that the system has a valid certificate when redirecting from non-SSL to SSL URLs. Formerly known as "Always redirect to SSL/TLS"
[QUOTE]Require SSL for cPanel Services0 -
Hello, I have already prepared above settings (redirection via WHM Tweak Settings) but the redirection does not work. I have let's encrypted AutoSSL. And AutoSSL does working. Please, advice. Thanks. 0 -
Hi @Lillike I'd also try clearing the browser's cache as sometimes this prevents this from appearing to work as intended. 0 -
Hi @Lillike I'd also try clearing the browser's cache as sometimes this prevents this from appearing to work as intended.
The caches are cleared yet. But the redirection does not work...0 -
Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks! 0 -
Hello, Lauren, Redirection setup is via WHM Tweak Settings. But the redirection does not work. My first thread in this case: - Merged Threads - Support ticket: 12158423 0
Please sign in to leave a comment.
Comments
8 comments