Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.

The ability to customize the WHM & Cpanel port & url

Daniel Kempton shared this idea 8 years ago
Open Discussion

Forgive me if has already been suggested or has even been comlpleted but I did not see anything on this.


I will admit from the start, when it comes to security, I can be a bit OCD and sometimes a bit overboard. However it has always amazed me that the only ports you can't seem to modify are those for WHM, cPanel and web-mail. While, it is not easy, through WHM you can change the ports for things like SSH and FTP, which I have done. It is harder for them to try and hack in, if they can't even find the port.


However with cPanel, anyone can try going to http://www.mydomain.com/cpanel or http://www.mydomain.com:2083. I see serious security issues with this. For starters, by determining that I am running cPanel, and possibly determining the version of cPanel, they know how to tailor their attack.


I'd like to be able, to define a port such as 32083, and a url such as http://www.mydomain.com/mysiteconfig.While there is a way to modify the port in the WHM/cPanel config, currently doing so, breaks things. If I recall when I tried this, it broke communication between the site and the host. It might work, to use 2083 for cPanel for localhost or on the local network, but still allow a custom port/url for publicly routed IP Addresses.

Leave a Comment
 
Attach a file