cPanel is an online Linux-based control panel that simplifies website and server management.

cPanel allows you to publish websites, manage domains, organize web files, create email accounts, and more.

How to Increase cPanel Memory for Java TomCat

In order to increase memory limit for Java, perform the following steps, edit the file: /var/cpanel/tomcat.options Insert the following 2 lines: Xmx200M Xms100M where, Xmx is the upper limit and Xms is the lower limit. You have to replace the values...

How to ODBC support on a cPanel server

You first have to install the devel packages for unixodbc, then add a line in rawopts file and rebuild Apache+PHP. 1. Install the UnixODBC devel packages: yum install unixODBC unixODBC-devel 2. You now need to create a file “all_php7″ to add a line...

⚠️ Fatal! Write Failure: /etc/valiases/domain.tld ⚠️

You may see error “Fatal! Write failure” error message while adding email forwarders OR setting a catchall email address from cPanel >> “Email Accounts” section. The error is: Fatal! Write Failure: /etc/valiases/domainname.tld. Ignore any...

How to Install mod_cloudflare in cPanel

When using Cloudflare, all the hits to your web server will come from a Cloudflare IP address. So in order to retrieve the actual IP address from the visitor you must install mod_cloudflare. 1. Connect to your server through SSH and log in as...

How to Change SSH port 🔢 in cPanel

In order to change SSH port and protocol you will have to edit sshd_config

nano /etc/ssh/sshd_config

Change Protocol 2,1 -> to Protocol 2Change #Port 22 -> to some other port and uncomment it


Protocol 2
Port 2345

Sample postwwwacct.dir scripts

This directory contains some sample scripts that can be dropped into /etc/postwwwacct.dir. Note that you need to be root to set up this stuff, which means usually that you’ll need a dedicated server or VPS to run these scripts (a very...