You can follow below steps to enable ModSecurity on server.
- First login to WHM.
- Click on “ModSecurity Configuration” under “Security Center”.
- Here you have to check Modsecurity configuration.