Warning: session_start(): open(/var/cpanel/php/sessions/alt-php74/sess_849b34575bcbf1474969275fd25d951d, O_RDWR) failed: No such file or directory (2) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/alt-php74) in /home/xsofthost/public_html/help/wp-content/plugins/accelerated-mobile-pages/includes/redirect.php on line 358
How to enable Proxy subdomains in cPanel/WHM - XsoftHost

How to enable Proxy subdomains in cPanel/WHM

Why Need To Enable Proxy subdomains in WHM

Issue on browsing webmail using default port disabled by firewall and bypass firewalls

Its a common case that when your client or you are trying to open your default webmail interface by accessing URL like https://yourdomain.com:2096 that using Port 2096 which is disabled by some firewall like ISA or other firewall product , the solution is simple , you have to enable access the webmail  as subdomain URL , by enabling Proxy subdomains. 

cPanel Proxy subdomains Overview

According to cPanel documentation : In cPanel & WHM version 11.40 and earlier, visitors who used https to access a site that did not have SSL configured saw a connection error. 

In cPanel & WHM version 11.42 and later, they modified Apache’s configuration to properly use proxy subdomains with SSL: 

  • Proxy subdomain virtualhosts now handle SSL and non-SSL connections separately.
  • Each proxy subdomain virtualhost explicitly binds to all of the IP addresses that are in use on a server. 
  • SSL virtualhost configurations—such as the cpanel, whm, webdisk, and webmail proxy subdomains—use the cPanel service SSL certificate. 

How to enable cPanel Proxy subdomain

  1. Login to WHM control panel.
  2. Navigate to Home »Server Configuration »Tweak Settings .
  3. Click Domains Tab and on Proxy subdomains make the option On “It should be a default “.

cPanel Ports and  Proxy subdomain URL List

ServiceStandard portSecure portProxy subdomain
cPanel20822083cpanel.yourdomain.com
Webmail20952096webmail.yourdomain.com
WHM20862087whm.yourdomain.com

Share on facebook
Share on twitter
Share on linkedin
Share on telegram
Share on whatsapp

Related Posts