A web application firewall called ModSecurity can help shield your website from many types of threats. Here are simple steps to help you set it in cPanel:
- Login into cPanel
Login to your cPanel login page by entering your username and password, by clicking the "Log in" button in the cPanel dashboard. - Navigate to the Security Section
Look for the "Security" section on your cPanel dashboard. Click on "ModSecurity." - Enable ModSecurity
Select the domain you want to protect from the list.Toggle the switch to "On" to enable ModSecurity for that domain. - Configure ModSecurity Settings
Review the default settings. ModSecurity includes pre-configured rules that safeguard against common attacks. You can adjust the settings by clicking "Configure" next to the domain. This lets you enable or disable particular rules. - Save Your Settings
If you changed any of the configuration settings, click the "Save" button. ModSecurity is now functional and protecting your website.
By following these instructions, you can quickly configure ModSecurity in cPanel to improve your website's security and safeguard it from potential dangers.SSL