How to Install and Configure Varnish with cPanel

How to Install and Configure Varnish with cPanel (WHM) There are a few steps you need to follow to install Varnish with cPanel (WHM): 1. Configure Apache to Listen on Port 8080 You can change the Apache listening port by editing httpd.conf or directly from WHM: Tweak Settings menu > set value of field Apache non-SSL IP/port to 8080 and Save settings. 2. Install Varnish on Your Server Execute these commands to install Varnish: # install varnish repository rpm -Uvh https://repo.varnish-ca...

How to Create a Directory and Configure a Custom VirtualHost for a Domain in cPanel

This article provides step-by-step instructions for creating a directory and configuring a custom virtualhost.conf file for a specific domain in cPanel. Please ensure that you replace any placeholder values (such as yourdomain.com) with your actual domain name. 1. Create the Custom Directory To create a custom directory for your domain, use the following command. Replace yourdomain.com with your actual domain name: mkdir -p /home/username/custom/yourdomain.com 2. Create the VirtualHost Confi...

How to Enable Root Access via SSH in WHM

Even if you have root access to your server through the WHM web interface, root access via SSH does not need to be enabled by default. To enable root access through an SSH client (e.g., PuTTY, Terminal, or the SSH command-line tool), follow these steps: Step 1: Log in to WHM Log in to your WHM panel. [WHM Login Screenshot] Step 2: Add User to the Wheel Group Navigate to Security > Manage Wheel Group Users and ensure your user is included in the Wheel group (this group determines who can...
×