How to check ModSecurity in cPanel when a 403 error appears
ModSecurity is a web application firewall that can block suspicious requests before they reach your site. If a rule blocks a legitimate action, you may see a 403 error when saving a form, uploading content, or opening the WordPress admin area.
ModSecurity does not always appear as a cPanel tool for every account. In the current NubeHost demo account it is not visible under Security, so first confirm whether your account shows it. If it does not appear, do not turn off unrelated protections: collect the evidence and ask support to review the exact rule.
Before you start
- Have access to cPanel for the account where the affected domain lives.
- Write down the exact URL, approximate time, and action that triggers the 403 error.
- Run the test in a private window to avoid cache or old sessions.
- Avoid changing security status on domains you are not reviewing.
Check whether ModSecurity appears in your cPanel
- Log in to cPanel and locate the Security section.

- Check whether ModSecurity appears inside that section.
- You can also use the Search Tools (/) field and enter
ModSecurity.

- If ModSecurity does not appear, do not disable similar-looking tools such as Imunify360, SSL/TLS Certificates, or IP Blocker. Open a ticket and share the exact URL, time, and action that triggered the block.
- If ModSecurity does appear in your account, open it and locate the domain or subdomain where the 403 error happens.
If ModSecurity appears, run a temporary test
Use this test only if the ModSecurity tool is available in your cPanel.
- In the affected domain row, confirm the current status before changing it.
- Change the status from On to Off only for that domain.
- Wait for cPanel to confirm or reflect the change before leaving the screen.
- Return to the URL where the 403 error appears and repeat exactly the same action.
- If the error disappears, note the time, URL, and form, file, or button you were using.
Turn protection back on
- Go back to cPanel → Security → ModSecurity.
- Change the domain from Off to On to restore protection.
- Repeat the action once more to confirm whether the block returns.
- If the block returns, open a ticket with the test time, affected URL, and what you were trying to save or upload.
When to contact support
- ModSecurity does not appear in your cPanel.
- The switch appears but does not let you change the domain status.
- The 403 error continues even when ModSecurity is disabled for that domain.
- The site needs one specific rule allowed without turning off the full protection.
- The block happens on a payment screen, login, API, or public form with real traffic.
Common errors
- The 403 error disappears only when ModSecurity is off → a rule is blocking a legitimate request → turn it back on and ask for a rule review with the exact time, URL, and action.
- The error stays the same after disabling ModSecurity → the cause may be permissions,
.htaccess, a plugin, or site code → review recent changes before turning off more protections. - Another domain starts failing after the test → the wrong switch was changed → restore the original status and review only the affected domain.
Recommended reading
Still need help?
If this guide didn’t solve your issue, our team can help you via ticket.