Saturday, 28 January 2012

how to change the cpanel port

You can change the cPanel port in /var/cpanel/cpanel.config file. Search for this line
After changing the port, then run these two commands for it to take effect:

# /usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings
# /etc/init.d/httpd restart

1 comment:

  1. Been getting hack attempts, tons and tons, every day on my server.
    So I tried changing the port, I followed those exact steps.

    After I finished, I tried it and it did not work. Still loads cpanel at :2082

    What should I try now?