cPanel Linux Server Security Practices


cPanel Linux server security practices

You may have questions, about how can we avoid attacks to our Linux VPS and Servers?

It is easy to have your cPanel Linux servers attacked or harmed by a malware attack, a DDoS attack or other security threats. Let us guide you with some basic practices to keep your server secure and defend against unknown security threats.

Check out some of the important practices of cPanel Linux server:

1) Check Your cPanel Version

As always, you are encouraged to check the cPanel version you are currently using. There are 3 ways to check it:

a) Access SSH and use cPanel command:  /usr/local/cpanel/cpanel -V

*Not sure how to access SSH? See HERE 

b) Other than accessing using command, you can access SSH and view the version file to know your cPanel version: cat /usr/local/cpanel/version

c) Access WHM and view the version of cPanel via the WHM Dashboard.

whm version check

2) Check if “Auto-Update” is enabled

Enable “Automatic” so that you can always get the latest updates. Simply follow the below sequence to enable it.

Log in WHM > Update Preferences > Daily Updates > Automatic
whm auto update

3) Install additional security features/plugins to protect your VPS/Server.

a) CloudLinux

CloudLinux essentially creates a virtual environment for each individual account and protect your server environment from symlink attack.

For the installation steps, please refer HERE:

Also, you can install CageFS (Part of CloudLinux) for additional protection.
CageFS allows the availability of safe only binaries to users while restricting users to see server configuration files.

For installation steps, please refer HERE
***CageFS will automatically detect and configure all necessary files for cPanel.

b)  Imunify360

Imunify360 offers a security suite that protects servers against a wide range of attacks. It integrates with cPanel & WHM, and provides reports to the system administrator on the server’s status.

Installation steps, please refer HERE

**If you are yet to get Imunify360, which can help you prevent attacks against your server, get it now HERE OR contact our Professional Sales Team at [email protected] for the latest update/promotion. or [email protected] for help!

c) Run Security Advisor to verify your current environment

This is a new feature provided by cPanel recently. It helps to verify and advise which application you should turn ON or OFF.

Login WHM >> Home >> Security Center >> Security Advisor

**As this is a new feature recently provided by cPanel, feel free to refer HERE for the CPanel official advice.

** Otherwise, contact your hosting support if you need any assistance on running Security Advisor.

4) Check your OS

Check the OS version that you are currently running. Remember cPanel CentOS 6 will reach end of support soon, and you should prepare to switch over to CentOS 7.

CentOS will stop supporting

We encourage you to migrate to a server that runs on CentOS 7 before November 30, 2020. For further assistance, please contact your Hosting Customer Service Team.


Notify of
Inline Feedbacks
View all comments