Proxy access for cPanel, WHM, and webmail. Needed to bypass firewalls.

With your Linux Shared Hosting accounts, you have access to a control panel that contains the admin functions of your account. Generally you would access this using the following syntax:

http://yourdomain.com/cpanel

This URL would change to

http://yourdomain.com:2082

This URL causes a problems for some owners, as it attempts to connect to port 2082. This is an uncommon port and may be blocked by corporate and public firewalls, thus preventing access.

If you are unable to access your cPanel using the above URL, you can now access it using the following syntax:

http://cpanel.yourdomain.com

This syntax does not connect using an uncommon port, and will allow you access. The same rules apply for Webmail and WHM.

http://whm.yourdomain.com

http://webmail.yourdomain.com

NOTE: You must use HostGator nameservers (or nameservers which resolve to your HostGator server) in order to use these "proxy" URLs. Otherwise, you will need to create A records for each subdomain so they point to your HostGator server.


Article Comments

Marcel
Thank you!!!

Travis
will this also work with an install of WordpressMU ?

HostGator
No, you will need to setup your own subdomains.

Please note, your Wordpress website will always be served from port 80, so there is no need to proxy it.

Randeep
I still cannot access it from work - are there any other variations of the URL?

HostGator
The only proxies are the subdomain names mentioned above. These allow you to access your control panel via port 80.

If your work has other measures to prevent personal browsing, then there is nothing you can do short of speaking to your work's network administrator.

William
i get a error code 404 when im trying to access http://cpanel.yourdomain.com

it says page cannot be found

HostGator
The proxy URL will only work if your domain name uses the name servers that resolve to HostGator.

Also, you must replace "yourdomain.com" with your actual domain name.

If you still have questions, please contact HostGator via phone or live chat.

Nunoscobar
Was great. Thanks.

Arlo
How about the temp URL used with these proxies?

Like: http://cpanel.gator560.hostgator.com/~YOUR_USERNAME/

Would this work? It doesn't work for me, just thought I would ask.

HostGator
There is no proxy URL for your website, because all website requests already use port 80. The proxy is only for ports which are not common.

Mike
When I go to http://cpanel.mydomain.com or http://webmail.mydomain.com, it takes me to the same place as http://www.mydomain.com instead of proxying. Do I need to make a configuration change to get it to work?

HostGator
You likely have mod_rewrite code which stops this from working.

You can try to remove the code from your .htaccess file, or just use the standard URL for cPanel.

Gauden
Thankyou SO VERY MUCH!!! :D

Paul
Very cool! Thanks for having such complete information available!


Your comments help us keep the knowledge base updated. This is not a medium for support. If you have questions or need help, please contact us via email, phone or live chat for fast assistance.

Post Comment