skip to Main Content

Redirect http to https for cpanel

I want to redirect http://cpanel.domain.com to https://cpanel.domain.com what can i do? I tried this but its not working for cPanel it just working for domain.com : RewriteEngine On RewriteCond %{HTTPS} !on RewriteCond %{REQUEST_URI} !^/[0-9]+..+.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/.well-known/pki-validation/[A-F0-9]{32}.txt(?: Comodo DCV)?$ RewriteRule…

VIEW QUESTION
Back To Top
Search