Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Member
    Join Date
    Apr 2005
    Posts
    154

    Default cpanel proxy

    I have a customer having trouble accessing cpanel. It think it's firewall related.

    I'm wondering if cPanel Proxy (cPanel Proxy) is secure and what your experience has been with it. Is it worth installing?

    Thanks.

  2. #2
    Member
    Join Date
    Jul 2008
    Location
    localhost
    Posts
    101

    Post

    Hi there,

    cPanel Proxy is inbuilt with the latest cPanel versions...
    Yes, it is worth installing cPanel proxy but one thing concerns me about is that it doesn't works with https. Using cPanel proxy, your local machine does not connects to the port 2082 directly... It gets connected to the server with port 80 and then establishes connection with the server on port 2082...

    Hope this helps

    Note :: make sure you have the DNS entry for the subdomain cpanel.domain.com, whm.domain.com and webmail.domain.com is added on the server

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by BraveX View Post
    I have a customer having trouble accessing cpanel. It think it's firewall related.

    I'm wondering if cPanel Proxy (cPanel Proxy) is secure and what your experience has been with it. Is it worth installing?

    Thanks.
    The third party cPanel Proxy script is no longer needed as that functionality is now native to cPanel/WHM as of version 11.23.

  4. #4
    Member
    Join Date
    Feb 2006
    Posts
    38

    Default

    Hey david is there somewhere in whm where you have to turn this setting on ?

  5. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by acidstudioz View Post
    Hey david is there somewhere in whm where you have to turn this setting on ?
    First, you will need to have mod_proxy enabled in Apache for this to work.

    Second, you can enable/disable this functionality in Tweak Settings. Here are relevant settings:

    Add proxy VirtualHost to httpd.conf to automatically redirect unconfigured cpanel, webmail, webdisk and whm subdomains to the correct port (requires mod_rewrite and mod_proxy)
    Automatically create cpanel, webmail, webdisk and whm proxy subdomain DNS entries for new accounts. When this is initially enabled it will add appropriate proxy subdomain DNS entries to all existing accounts. (Use /scripts/proxydomains to reconfigure the DNS entries manually)
    If you want users to be able to create their own cpanel/webmail/whm subdomains, you can enable this setting to let them override our reverse-proxy feature:

    Allow users to create cpanel, webmail, webdisk and whm subdomains that override automatically generated proxy subdomains

  6. #6
    Member
    Join Date
    Feb 2006
    Posts
    38

    Default

    Thanks for that david you the man

  7. #7
    Member
    Join Date
    Jun 2006
    Posts
    146

    Default

    I already enabled these and created a new account but the new account does not have the proxies enabled:

    Add proxy VirtualHost to httpd.conf to automatically redirect unconfigured cpanel, webmail, webdisk and whm subdomains to the correct port (requires mod_rewrite and mod_proxy)

    Automatically create cpanel, webmail, webdisk and whm proxy subdomain DNS entries for new accounts. When this is initially enabled it will add appropriate proxy subdomain DNS entries to all existing accounts. (Use /scripts/proxydomains to reconfigure the DNS entries manually)

    Allow users to create cpanel, webmail, webdisk and whm subdomains that override automatically generated proxy subdomains

    I also run /scripts/proxydomains add --domain=domainhere.com

    But it still wont enable the cpanel access using port 80

    Please help!

  8. #8
    Registered User
    Join Date
    Jun 2011
    Posts
    2

    Default Re: cpanel proxy

    If you are using squid go to /etc/squid/squid.conf then add port 2082 to safe ports. service squid reload
    Now to access the cpanel you have to specify the port instead of /cpanel eg
    instead of /http://www.jcit.co.za/cpanel use /http://www.jcit.co.za:2082

  9. #9
    Registered User
    Join Date
    Jun 2011
    Posts
    2

    Default Re: cpanel proxy

    cpanel uses https so add 2082 to SSL_ports then you are good to go

Similar Threads & Tags
Similar threads

  1. Update cPanel using proxy ?
    By kinsky in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-03-2007, 11:58 PM
  2. cPanel Proxy
    By jackal in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-29-2006, 03:18 PM
  3. Cpanel Proxy
    By br3ach in forum cPanel Developers
    Replies: 1
    Last Post: 08-02-2004, 07:31 AM
  4. HOW-TO: cPanel Proxy 0.4.1
    By projectandrew in forum cPanel Developers
    Replies: 3
    Last Post: 07-10-2004, 09:22 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube