Oct
How to access cpanel behind a firewall
Sorry I have not posted in a while, but there is a good reason for this. I will tell you the problem I had and how I managed to get round it.
I am now at university.
The university system is absolute bollocks. After phone calls with the IT support I managed to get online. I went to check my websites and of course the firewall had blocked cpanel ports.
To get round this I had to some searching.
How to access cpanel behind a firewall at work or university
Cpanel does not naturally work through ports 80 so these are the ones we have to unblock.
There are several ways you can do this. The easiest would be to go on a webproxy but this is not the best way. Web proxies are often very dodgey. Also they are usually filtered by the network. This is the best way if you are using your work or school computer as it allows you to access cpanel behind a firewall without downloading anything.
Another way is to download CpanelProxy which is a program which you install server side. Here is how you do it:
- Load cPanel via web proxy.
- Add a subdomain, called it “cpanel”.
- Download cPanel proxy (Thanks to myplacedk for writing the script!)
- Upload the script cpanelproxy.php to the /public_html/cpanel/ directory.
If firewall blocks your FTP tools (like File Zilla), you can use web ftp net2ftp or FireFTP in Firefox. - Modify/upload the file .htaccess /public_html/cpanel/ to include the following 3 lines:
RewriteEngine on
RewriteCond %{REQUEST_URI} !^/cpanelproxy.php
RewriteRule .* /cpanelproxy.php [last]If Windows doesn’t allow you to rename the file as .htaccess (because file is not allowed to have no name), do it in your server.
What’s next?
That’s it! Now use cpanel.yourdomain.com to log in cPanel.
Still can’t access cpanel behind a firewall?
Do what I did. Download hotspot shield from here
Just follow the installation instructions, right click the icon and click connect. You’ll now be able to access cpanel. This is the best way. Took me five minutes to access cpanel.









December 13th, 2008 at 2:00 pm
Great, as lots of the places I visit block WHM, this’ll help me a lot
I’ll probably only need to tweak the URL to get to WHM.
Thanks!