<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.acenet.us/index.php?action=history&amp;feed=atom&amp;title=Secure_your_cPanel_server</id>
	<title>Secure your cPanel server - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.acenet.us/index.php?action=history&amp;feed=atom&amp;title=Secure_your_cPanel_server"/>
	<link rel="alternate" type="text/html" href="https://kb.acenet.us/index.php?title=Secure_your_cPanel_server&amp;action=history"/>
	<updated>2026-10-27T18:32:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.6</generator>
	<entry>
		<id>https://kb.acenet.us/index.php?title=Secure_your_cPanel_server&amp;diff=2945&amp;oldid=prev</id>
		<title>Docs admin: Rewritten for current WHM and Acenet servers (WHM section refresh)</title>
		<link rel="alternate" type="text/html" href="https://kb.acenet.us/index.php?title=Secure_your_cPanel_server&amp;diff=2945&amp;oldid=prev"/>
		<updated>2026-10-27T14:26:20Z</updated>

		<summary type="html">&lt;p&gt;Rewritten for current WHM and Acenet servers (WHM section refresh)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This checklist is for &amp;#039;&amp;#039;&amp;#039;cloud servers and dedicated servers&amp;#039;&amp;#039;&amp;#039; with cPanel, where you have root access. It covers the steps that prevent most security problems. If you&amp;#039;re not sure whether we manage any of these for your server, please [[Open a support ticket|open a support ticket]].&lt;br /&gt;
&lt;br /&gt;
== Keep everything updated ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;cPanel:&amp;#039;&amp;#039;&amp;#039; in WHM, go to &amp;#039;&amp;#039;&amp;#039;Server Configuration&amp;#039;&amp;#039;&amp;#039; &amp;gt; &amp;#039;&amp;#039;&amp;#039;Update Preferences&amp;#039;&amp;#039;&amp;#039; and keep automatic updates turned on.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Operating system:&amp;#039;&amp;#039;&amp;#039; install updates regularly with &amp;lt;code&amp;gt;dnf update&amp;lt;/code&amp;gt; (AlmaLinux and CloudLinux) or &amp;lt;code&amp;gt;apt update &amp;amp;&amp;amp; apt upgrade&amp;lt;/code&amp;gt; (Ubuntu). Restart the server after kernel updates, so the new kernel is used.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;PHP:&amp;#039;&amp;#039;&amp;#039; move your websites to a [https://www.php.net/supported-versions.php supported PHP version] in &amp;#039;&amp;#039;&amp;#039;MultiPHP Manager&amp;#039;&amp;#039;&amp;#039;, and remove versions nobody uses in &amp;#039;&amp;#039;&amp;#039;EasyApache 4&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Website software:&amp;#039;&amp;#039;&amp;#039; update WordPress and other applications, with their plugins and themes, in every account.&lt;br /&gt;
&lt;br /&gt;
When your operating system version reaches end of life, it stops getting security updates. Plan a move to a newer server before then.&lt;br /&gt;
&lt;br /&gt;
== Run Security Advisor ==&lt;br /&gt;
&lt;br /&gt;
In WHM, go to &amp;#039;&amp;#039;&amp;#039;Security Center&amp;#039;&amp;#039;&amp;#039; &amp;gt; &amp;#039;&amp;#039;&amp;#039;Security Advisor&amp;#039;&amp;#039;&amp;#039;. It checks your server for common problems and explains how to fix each one. Run it after setting up the server, and again from time to time.&lt;br /&gt;
&lt;br /&gt;
== Protect your logins ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Two-factor authentication:&amp;#039;&amp;#039;&amp;#039; turn it on for root in &amp;#039;&amp;#039;&amp;#039;Security Center&amp;#039;&amp;#039;&amp;#039; &amp;gt; &amp;#039;&amp;#039;&amp;#039;Two-Factor Authentication&amp;#039;&amp;#039;&amp;#039;. Also turn it on for the Client Area. See [[Secure your Client Area account]].&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;SSH keys:&amp;#039;&amp;#039;&amp;#039; log in to SSH with a key instead of a password. Add your key in &amp;#039;&amp;#039;&amp;#039;Security Center&amp;#039;&amp;#039;&amp;#039; &amp;gt; &amp;#039;&amp;#039;&amp;#039;Manage root&amp;#039;s SSH Keys&amp;#039;&amp;#039;&amp;#039;, test it, then turn off password logins in &amp;#039;&amp;#039;&amp;#039;SSH Password Authorization Tweak&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Brute force protection:&amp;#039;&amp;#039;&amp;#039; turn on &amp;#039;&amp;#039;&amp;#039;cPHulk Brute Force Protection&amp;#039;&amp;#039;&amp;#039; in &amp;#039;&amp;#039;&amp;#039;Security Center&amp;#039;&amp;#039;&amp;#039;, and add your own fixed IP addresses to its whitelist. If your server runs Imunify360, it provides this protection instead.&lt;br /&gt;
* Use a strong, unique root password and keep it in a password manager.&lt;br /&gt;
&lt;br /&gt;
Keep a way back in if something goes wrong. See [[Locked out of your server]].&lt;br /&gt;
&lt;br /&gt;
== Use a firewall ==&lt;br /&gt;
&lt;br /&gt;
Allow only the ports your server needs. cPanel lists them in [https://docs.cpanel.net/knowledge-base/general-systems-administration/how-to-configure-your-firewall-for-cpanel-services/ How to Configure Your Firewall for cPanel Services].&lt;br /&gt;
&lt;br /&gt;
== Scan for malware ==&lt;br /&gt;
&lt;br /&gt;
Install a malware scanner, such as ImunifyAV or Imunify360, or the ClamAV scanner from &amp;#039;&amp;#039;&amp;#039;cPanel&amp;#039;&amp;#039;&amp;#039; &amp;gt; &amp;#039;&amp;#039;&amp;#039;Manage Plugins&amp;#039;&amp;#039;&amp;#039; in WHM. Infected websites are the most common cause of spam, blacklisted IP addresses and slow servers.&lt;br /&gt;
&lt;br /&gt;
== Limit outgoing email ==&lt;br /&gt;
&lt;br /&gt;
Set an hourly email limit and turn on &amp;#039;&amp;#039;&amp;#039;SMTP Restrictions&amp;#039;&amp;#039;&amp;#039;, so a hacked account can&amp;#039;t send large amounts of spam. See [[Email sending limits and spam protection in WHM]].&lt;br /&gt;
&lt;br /&gt;
== Keep backups off the server ==&lt;br /&gt;
&lt;br /&gt;
In &amp;#039;&amp;#039;&amp;#039;Backup&amp;#039;&amp;#039;&amp;#039; &amp;gt; &amp;#039;&amp;#039;&amp;#039;Backup Configuration&amp;#039;&amp;#039;&amp;#039;, turn on daily backups and send them to another server or storage service. A backup stored only on the same disk won&amp;#039;t help if that disk fails. Test a restore now and then.&lt;br /&gt;
&lt;br /&gt;
[[Category:WHM]]&lt;/div&gt;</summary>
		<author><name>Docs admin</name></author>
	</entry>
</feed>