XL Hosts NL Knowledgebase

How to use ModSecurity in cPanel

Understand the web application firewall option in cPanel.

Back to all guides
Security

How to use ModSecurity in cPanel

ModSecurity is a web application firewall that helps block suspicious requests before they reach your website scripts. In cPanel, open ModSecurity to see whether it is enabled for your domains. For most websites it should stay enabled because it protects against common attack patterns. Occasionally, a legitimate admin action or plugin request may be blocked. If that happens, note the time, action and URL, then contact support rather than disabling protection permanently. XL Hosts NL can review the rule and advise. Keeping ModSecurity enabled improves security for WordPress, PHP apps and business websites.

Need help? XL Hosts NL customers can open a support ticket from the client area and our team can check your hosting account safely.