How to Secure your Server


Here are some quick tips on how to secure your Linux server. This is only a short list, but, they are must do’s! Some of which are:

1. Change ssh port (use keys if possible as well/allow only specific users)
2. Disable unneeded services
3. Install a good firewall
4. Disable dangerous / unused PHP functions / harden your PHP
5. Install mod_security
6. Virus scan FTP uploads
7. Install root kit detection
8. Set root email to off server email account
9. Make sure your passwords are tough to guess. This is a big one, especially for the root user, this should be a very tough password.

This is a quick list, as there are many other things that can be done. Some things on this list are already on this Knowledgebase, so please be sure to read the related posts.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How To change NameServer Ip

The file that actually handles WHM > DNS Functions > Nameserver IPs area is at...

AppConfig is configured to disallow execution of apps that do not have ACLs defined – cPanel

If you see such an error while accessing any of the WHM Plugins, it is due to the recent changes...

Enable PPP

To enable PPP on your OpenVZ VPS: Log into SolusVM and Enable PPP. Reboot your VPS. Log into...

Initial cPanel WHM Setup

Step by Step Guide to Setup cPanel WHM 1) Login to root WHM (http://IPaddress:2086) 2) In the...

VPS Hosting - Unable to open pty: No such file or directory

When you use vzctl to enter into the VPS from node and get following error than it is due to...

Powered by WHMCompleteSolution