Matino Matino
  • Servers
    • Proxmox
  • Web Dev
  • Gaming
    • PC Gaming
  • Guides
  • Security

Language

  • English English ✓

Only reviewed, locally published translations can be opened.

Publication gate closed

Translation unavailable

This language will open after its translation is reviewed and published locally.

Font ResizerAa

Notifications

No new notifications. Follow a category to prepare local update alerts.

Manage notifications

My Matino

Personalization Your data Sign in
Joseph MatinoJoseph Matino
Servers Web Dev Gaming

Language

  • English English ✓

Only reviewed, locally published translations can be opened.

Publication gate closed

Translation unavailable

This language will open after its translation is reviewed and published locally.

Font ResizerAa

Notifications

No new notifications. Follow a category to prepare local update alerts.

Manage notifications

My Matino

Personalization Your data Sign in
Find a guide
Search Matino
  • Servers
    • Proxmox
  • Web Dev
  • Gaming
    • PC Gaming
  • Guides
  • Security
Servers Web Dev Gaming Guides Security
  • English English ✓

Only reviewed, locally published translations can be opened.

Publication gate closed

Translation unavailable

This language will open after its translation is reviewed and published locally.

Follow US
  • Terms & Conditions
  • Privacy Policy
  • Contact
© Joseph Matino. All Rights Reserved.

Setting Up An Apache Reverse Proxy For cPanel And WHM – Worthy?

Joseph Matino
Last updated: July 9, 2026 11:01 am
By Joseph Matino
Setting Up An Apache Reverse Proxy For cPanel And WHM - Worthy?
SHARE
+0Spark this articlePreferences consent remembers one private reader identity, so your spark stays reversible.

I’ve been exploring the effectiveness of the Apache Reverse Proxy for cPanel and WHM for a while now. After experimenting with various setups, I’m ready to share my findings and address the real question: Is it truly worth it?

But before we decide on its value, we first need to understand how an Apache Reverse Proxy works with these platforms.

How Apache Reverse Proxy Works with WHM And cPanel

Apache Reverse Proxy acts as an intermediary for requests from clients seeking resources from servers that host platforms like cPanel and WHM. It takes requests from users and forwards them to the server that runs your website or management tools.

Here are four key advantages of using a reverse proxy:

1. Easier to Remember and Use

Normally, to use cPanel or WHM, you need to remember and type in port numbers and the website address. A reverse proxy lets you skip the port numbers. For WHM, don’t type something complicated like “example.com:2087”. Just type “example.com/whm”. It’s much simpler and easier to remember.

2. Better Security

When you visit websites, there is a technology called SSL/TLS. It helps keep your information safe. SSL/TLS turns “http” into “https” in your browser’s address bar.

This change shows that your connection is secure. A reverse proxy can make cPanel and WHM use this security technology better. It acts like a shield, adding extra protection. This makes it harder for unwanted visitors to see the data between your computer and your server.

3. Faster and Smoother Experience

A reverse proxy can make your cPanel and WHM run smoother and faster. It can save (or “cache”) parts of your sites that don’t change often. This means when someone visits your site, the reverse proxy can show these saved parts.

It won’t have to ask the server again, which can speed things up. Also, it can handle the SSL/TLS security stuff itself, taking some work off your server’s shoulders. This can speed up everything. It will make loading your website and accessing your cPanel or WHM faster.

How To Set Up Apache Reverse Proxy For cPanel And WHM Access

Step 1: Log into WHM

To access your WHM interface, go to https://yourserver.example.com:2087 in your web browser. Replace yourserver.example.com with your actual server’s domain or IP address.

Step 2: Open Apache Include Editor

In WHM, find the “Service Configuration” section. Click on “Apache Configuration” and select “Include Editor.” This tool lets you safely change your Apache setup.

Step 3: Edit Pre VirtualHost Include

Choose to edit the “Pre VirtualHost Include” for Apache 2.4. This section lets you add directives. They apply globally. They affect all virtual hosts on your server.

Step 4: Add Reverse Proxy Configuration

In the editor, paste the following configuration, customizing domain names and paths as necessary:

SSLProxyEngine On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off

# Reverse proxy setup for WHM
ProxyPass /whm https://yourdomain.com:2087/
ProxyPassReverse /whm https://yourdomain.com:2087/

# Reverse proxy setup for cPanel
ProxyPass /cpanel https://yourdomain.com:2083/
ProxyPassReverse /cpanel https://yourdomain.com:2083/

This configuration directs traffic from yourdomain.com/ whm to WHM and yourdomain.com/cpanel to cPanel, without exposing port numbers.

Once you’ve entered all the necessary settings, make sure to save your changes. You’ll then see a prompt from WHM asking you to restart Apache. This is to make sure the new settings take effect.

Step 5: Restart Apache

When WHM asks you to confirm, go ahead and restart Apache. This is a crucial step to ensure that your Apache server is now running with the new reverse proxy configuration.

Step 6: Verify the Configuration

To make sure everything is set up correctly, visit yourdomain.com/cpanel and yourdomain.com/whm. Both pages should open properly, showing their respective interfaces without including port numbers in the URLs.

So is Apache Reverse Proxy for cpanel and whm worthy?

Considering the advantages Apache Reverse Proxy offers, such as simplified access, enhanced security, improved performance, and effective load balancing, using an Apache Reverse Proxy with cPanel and WHM seems worthwhile for many scenarios.

However, it’s important to note some limitations. In practical terms, while I found the proxy exceptionally useful for general web management, it struggled with specific tasks like accessing email through cPanel’s default port 2096. This indicates that not all server functions are ideally suited for this setup.

cPanel and WHM also support NGINX as a reverse proxy, which can similarly improve traffic redirection and server efficiency. Both systems have their strengths, and choosing between them might depend on your particular needs and the specific challenges you face in your server environment.

Have you experimented with reverse proxies and faced challenges with certain ports or found effective solutions? Please share your experiences in the comments below.

Was this guide useful?Send one spark to support practical, tested writing.
Share This Article
Facebook Whatsapp Whatsapp Reddit Copy Link
Joseph Matino
ByJoseph Matino
Follow:
Full-stack developer, quant systems builder, and server-performance engineer working across WordPress, Linux, Docker, private networks, automation, and trading-system research. Matino documents real builds from my own work, including what I tested, what broke, what improved, and what I would change before using the same idea again.
Previous Article Best ASCII Art Generators For Developers Top 10 Best ASCII Art Generators For Developers
Next Article 14 Best Payment Gateways in Kenya 14 Best Payment Gateways in Kenya for 2024
guest
guest
2 Comments
Most Voted
Newest Oldest

Latest Posts

View all
Step-by-step guide to install Brotli nginx compression on Ubuntu 22.04. Includes compilation, HestiaCP configuration, and troubleshooting tips.

How to Build and Enable Brotli for Nginx on Ubuntu 22.04

Servers
4 weeks ago
Proxmox VE 9.0 brings Debian 13, better hardware support, and storage snapshots. Complete upgrade guide for bare metal servers.

Proxmox VE 9.0: Better Bare Metal Performance with Debian 13

Proxmox
2 months ago
Best Black Myth Wukong Mods

Best Black Myth Wukong Mods in 2024

PC Gaming
2 months ago
Starlink Vs Safaricom: Could Kenya’s Internet Shift in 2024?

Starlink Vs Safaricom: Could Kenya’s Internet Shift in 2024?

Networking
2 months ago
Matino

I build and document production systems across WordPress, Proxmox and Linux infrastructure, cloud applications, private networks, developer tools, automation, and quantitative software.

EXPERTISE

Cloud Application Architect

Software, systems & infrastructure

WordPress Specialist

Performance, security & plugins

Quant Systems Builder

Algorithms, data & risk

Explore

Blog
Servers
Algorithms & Quant
WordPress
Web Development
Gaming
Guides

About

About Me
Contact
Privacy Policy
Terms of Use
Cookie Policy
Legal Notice
Disclaimer

Work with Joseph

Available for WordPress, Proxmox and Linux infrastructure, cloud applications, automation, and quantitative software.

Let's Build

Connect

Follow new engineering articles, developer tools, and build notes.

Github Facebook-f X-twitter Youtube Instagram Rss
WordPress

Built with

Linux

Engineered on

Docker

Containerized with

Best Practices

Secured by

Privacy First

Designed for

Linode

Hosted on

© 2026 Matino. All rights reserved.

Building in public. Sharing knowledge. Shipping systems.

Privacy Policy • Terms of Use • Cookie Policy • Legal Notice

  • Sitemap
  • RSS
  • Back to top

Your privacy

Choose how Matino uses cookies

Essential storage keeps the site working. Analytics, advertising, and external video stay off unless you allow them.

Privacy policy Cookie policy
wpDiscuz