cPanel Config

Welcome to cPanelConfig the fastest growing cPanel configuration and troubleshooting guide on the internet. Please take the time and register. We would love to have your contribution to this completely free cPanel resource. We are updating this daily so be sure to visit us on a regular basis.

Create a tar archive from a directory

Posted by yolau

Since I started working with cPanel server I always needed to create archives from directories.
For example backing up a user’s home directory.

How can you do this? It’s not difficult at all. For exemple to backup a user home directory you would have to run:
tar -pczf rchive.tar.gz /home/USERNAME
You can read more about tar by reading it’s [...]

Enabling quotas

Posted by yolau

In this article I will explain how to enable quotas on a cpanel server.
Recently I had to setup a cpanel server that didn’t have quotas enabled by default.
What is the result of a server without quotas?
Simple. All accounts will have unlimited diskspace.

How to fix this?
First of all you will have to login to your server [...]

Setting up Wildcard DNS & Subdomains on cPanel

Posted by copilas12

Step 1: DNS: A Record
First we’ll need to log in to WHM. Under DNS Functions, select Edit DNS Zone. Choose the domain for the zone in which you wish to edit. Add an A record mapped to asterisk (wildcard) for the subdomain and the IP Address the site is hosted on. You likely already have [...]