disable forceful SSL redirection in WHM/cPanel

Hello,

To disable forceful SSL redirection in WHM/cPanel servers edit below lines in file /var/cpanel/cpanel.config

alwaysredirecttossl=0 
requiressl=0

and execute the below script for cPanel to reflect the changes.

 /usr/local/cpanel/whostmgr/bin/whostmgr2 -–updatetweaksettings

Now, you should be able to access the WHM, cPanel and webmail with http port 2086, 2082 and 2095 ports respectively.

Thank you for viewing helpinlinux.com

 

keywords: cpanel disable ssl redirect

Leave a Reply

Protected by WP Anti Spam