How to change cpanel port and redirect control panel from https to http

How to change cpanel port and redirect control panel from https to http

CpanelLogin SSH server as root user (cpanel):

#ssh root@Server_IP
login as : root
password : password

Open the configuration file in your favourite editor and change the port :

#vi /var/cpanel/cpanel.config
TO
port=2082
FROM
port=5657

Redirect control panel from https to http :

Requiedssl=1

Now save the configuration file.

Now update the settings :

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

Restart the http service :

/etc/init.d/httpd restart

Leave a Reply

Your email address will not be published. Required fields are marked *