In the latest versions of cPanel, you have the ability to disable/enable ModSecurity from your cPanel account.
Notice that you may not have this option enabled in cPanel. Ask your host.
ModSecurity, sometimes called Modsec, is a popular Open-source Web application firewall (WAF). Originally designed as a module for the Apache HTTP Server, it has evolved to provide an array of Hypertext Transfer Protocol request and response filtering capabilities along with other security features across a number of different platforms including Apache HTTP Server, Microsoft IIS and NGINX. It is a free software released under the Apache license 2.0.
Navigate to Security section, look for ModSecurity option
Here you can Disable/Enable ModSecurity for all domains.
Or, you can choose an individual domain on which to disable/enable ModSecurity. Click the On/Off button.
When you disable ModSecurity, a notice will be shown:
Warning: ModSecurity is disabled for one or more of your domains. Only disable ModSecurity while you troubleshoot a problem with your configuration. Without ModSecurity enabled, your domains lose the extra layer of protection that the module provides.
Check our video on this:
If you have any questions, please comment below. We answer to all comments.
cPanel doesn’t offer an explicit option to limit the bandwidth usage for a subdomain.
Anyway, you can use a workaround for this situation. You(or your host) can create a separate cPanel account for the subdomain. Having a cPanel account for the subdomain will allow you to set a bandwidth usage limit for it. Like 20000MB, 2000GB etc. (Yes, it’s possible to create cPanel accounts for subdomains.)
If you are processing all requests via a single script, you can limit the bandwidth usage based on site visits. This will not be very accurate.
Due to abusive users, many Internet Service Providers (ISPs) block SMTP port 25. So you may want to set up another port on your web server instead of the default 25.
SMTP is the acronym for Simple Mail Transfer Protocol, a protocol used to send emails. More info on the Wikipedia page.
We will show you here two ways on how to add another SMTP port in WHM.
1.Log into WHM as root
2. Navigate to Service Configuration >> Service Manager
3.Look for Exim Mail Server (on another port) option. Check the two checkboxes – cPanel will enable and monitor this service. Add the desired port(s) in the right field. The notice states: Useful for providers that block port 25 (multiple comma-delimited ports may be added).
4. Scroll to the bottom of the page and click the Save button.
1.Log into WHM as root
2. Navigate to Service Configuration >> Exim Configuration Manager
3. The Exim configuration page will open. Click on the Advanced Editor top tab.
4.Look for daemon_smtp_ports option and add your desired port(s). cPanel notice for this option: This option specifies one or more default SMTP ports on which the Exim daemon listens.
5. Scroll to the bottom of the page and click the Save button.
Instead of adding another SMTP port you can instruct users to use Secure SMTP ports – 465 or 587. Usually these ports are not blocked by IPSs.
Don’t forget to add the new port(s) to the allowed ports in your firewall’s configuration.