This is the second part of our cPanel Tutorial Series. If you are planning a new VPS, then we recommend starting with part 1.
Automated bots continuously scan IPs for vulnerabilities. To prevent this from causing problems on your VPS, setting up the security of your VPS is the first thing we do after the installation.
Given the large number of IPs used by bots, we cannot include all attacking IPs in our own firewall, nor do we receive reports of the attempts to penetrate your VPS.
Security measures
We go through the following steps to secure your VPS:
- Change your SSH port
- Fail2Ban brute force protection
- Restrict access to cPanel & WHM to specific IPs
- Anti-virus / malware protection with ClamAV
- WHM Two-Factor Authentication
- Securing localhost & mail with SSL
This is relatively complex material. If you use the steps below to secure an existing (instead of new) VPS, then always make a snapshot of your VPS first before you follow the steps below. That way you always have a snapshot to fall back on if it turns out that a change creates a problem.
Using the above steps you have set up solid security for your VPS. Click here to continue to Part 3: updating your VPS.
Should you have any questions left regarding this article, do not hesitate to contact our support department. You can reach them via the ‘ContactUs’ button at the bottom of this page.
If you want to discuss this article with other users, please leave a message under 'Comments'.





Comments