We do support Round the Clock 24 x 7 x 365 (+91) 883 012 3924

How to change cPanel WHM Port

How to change cPanel WHM Port

The default port numbers for cPanel and WHM are given below :

cPanel : 2082 / 2083 (SSL)
WHM : 2086 / 2087 (SSL)

Please follow below steps to change the default port number to any value.

# SSH to cPanel server with root user

# Open “/var/cpanel/cpanel.config” file and change the default port number


# Run the following commands after changing the default port value with new port number

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

# Ensure new port number is opened into the firewall
# Now you can access cPanel & WHM with new port number.


Leave a Reply

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