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.
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.
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
Chinmay
ESDS - Data Center in India
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)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: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
Thanks for that david you the man
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!
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
cpanel uses https so add 2082 to SSL_ports then you are good to go