Category: CPanel / WHM

Apache, Cloud Linux, Control Panel, CPanel / WHM

How to fix 502 Bad Gateway | Cloudflare and Nginx [Engintron]

When you want to point cloudflare nameservers to your working website with engintron you will have a technical issue with linking cloudflare with engintron. Our technical support / server administrators at subwayhost worked to fix the issue after the request of many client’s to add cloudflare to our services. So we have gone directly and …

Cloud Linux, Control Panel, CPanel / WHM

Creating cgroups in RHEL/CentOS 7

cgroups allow for system resources to be limited for certain user’s processes, which are defined in configuration files. This is useful e.g. if you wish to limit a compiler’s maximum memory usage and avoid it grinding the system to a halt. Prerequisites libcgroup-tools need to be installed sudo yum list installed libcgroup-tools If not installed, …

Cloud Linux, Control Panel, CPanel / WHM

Tuned – Automatic Performance Tuning of CentOS/RHEL Servers

To maximize the end-to-end performance of services, applications and databases on a server, system administrators usually carry out custom performance tunning, using various tools, both generic operating system tools as well as third-party tools. One of the most useful performance tuning tools on CentOS/RHEL/Fedora Linux is Tuned. Tuned is a powerful daemon for dynamically auto-tuning Linux server performance based …

Cloud Linux, Control Panel, CPanel / WHM

How to fix Cpanel Server shared IP address show customer site?

On a Cpanel Server, when you visit a shared IP address used by multiple websites, you will see the website of the first VirtualHost entry. This is not good when you have multiple customer websites as your other customers may visit the IP and see the site associated with the first VirtualHost entry and complain …

Apache, Control Panel, CPanel / WHM

ACME ( Free SSL Certificate?

ACME ( is a shell script for generating LetsEncrypt SSL certificate. is written in bash, so it works on any Linux server without special requirements. For getting SSL, another popular option is to use certbot. list all SSL SSL using manual DNS method To install, run cd /usr/local/src git clone cd ./ …

Apache, Control Panel, CPanel / WHM, DirectAdmin SSL using manual DNS method?

To provision SSL certificate using with manual DNS verification method, run –issue -d DOMAIN_NAME –dns -d www.DOMAIN_NAME –yes-I-know-dns-manual-mode-enough-go-ahead-please When you run this command, you will get DNS TXT entry that needed to be added to your DNS server. Login to your DNS provider, add the DNS entry, then run the following command to …

Cloud Linux, Control Panel, CPanel / WHM

How to install PHP ssh2 module in Cpanel Server

PHP ssh2 module allows you to connect to SSH servers. On Cpanel servers, this module is not available under EasyApache. You need to install using PECL. The PECL module installer in WHM does not list this module. The module is available to download from To install it, log in to the Cpanel server as …

Cloud Linux, Control Panel, CPanel / WHM

How to enable jailed shell/SSH access to CPanel user using command line.

To enable jailed shell or SSH access to CPanel user. You can run below command. chsh -s /usr/local/cpanel/bin/jailshell username Kindly replace username with CPanel username. It will show output like below [[email protected] ~]# chsh -s /usr/local/cpanel/bin/jailshell abcde23 Changing shell for abcde23. Shell changed. [[email protected] ~]#