Remove All error_log Files In Home Directory

If you ever find yourself wanting to remove the error_log files from all the hosted sites on your server, and you have access to the server via SSH, the following command will quietly remove these files in one hit. find /home/ -type f -name error_log -delete

cPanel Server Hardening Security Tips

Securing your cPanel hosting server and the core applications that run your deliver your websites to the web is an absolute no brainer in todays ruthless world. Below are just some of the good practices you can follow to help minimise the potential for you server getting hacked or compromised. 1) Use Super Strong Passwords This ...

Install ImageMagick On A cPanel Server

ImageMagick® is a popular application used on many web hosting servers(and standard pc’s) to create, edit, compose, or convert bitmap images. Many image plugins for web applications such Joomla, WordPress, Drupal, Magento, Gallery 3, etc can be configured to use this tool as the basis for their image capabilities so it is pretty much a ...

Install GotRoot ModSecurity Rules On A cPanel Server

ModSecurity is a web application firewall that provides script request filtering to prevent poor or malicious coding from being executed or exploited on a Linux server. This module is easily installed when running a cPanel server by using the EasyApache application and is highly recommended to enhance your server’s security. However, the default rules supplied by ...

Disable Use Of Custom PHP.INI files On cPanel Server

When compiling Apache using cPanel’s EasyApache application, you have the option of installing ‘Mod suPHP’, which is just one of many options that make your php installation more secure when hosting multiple sites on the same server; e.g. shared hosting server. When you have Mod suPHP installed, you can configure your server to force the ...

Force SMTP Authentication On A cPanel Server

By default, a cPanel server uses POP before SMTP as its method of checking if a sender is allowed to send mail via the server. However, if you would like to force people to use proper SMTP authentication then there is a simple shell command that will enable this requirement. To force SMTP authentication on ...