WHM/cPanel

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

Service Standard port Secure port Proxy subdomain
cPanel 2082 2083 cpanel.yourdomain.com
Webmail 2095 2096 webmail.yourdomain.com
WHM 2086 2087 whm.yourdomain.com

XsoftHost Support

Share

Recent Posts

Add Extra IP addresses to server configuration On Ubuntu 17.10 and later

Each failover IP address will need its own line in the configuration file. The configuration…

3 years ago

Create RAID Arrays with mdadm on Ubuntu

What is mdadm? The mdadm utility can be used to create and manage storage arrays…

4 years ago

How to change the maximum upload file size for PHP

There are several scenarios that you might need to increase or decrease your php maximum…

6 years ago

How to install Let’s Encrypt Plugin in WHM/cPanel

What is Let’s Encrypt? Let’s Encrypt is a free certificate authority provided by the Internet…

6 years ago

How to install python in my cPanel and add py extension

Python normally installed on all cPanel hosting server because most of Centos/red hat update system…

6 years ago

How to install and enable GUI GNOME Desktop on centos 7

Usually CentOS 7 comes in a numbers of variants, For most users, there are two…

6 years ago