logo
. . .

How to secure Cyber Panel VPS

Ensuring the security of your Cyber Panel VPS is crucial to protect your data, websites, and server resources from potential threats. Here are some best practices to enhance the security of your Cyber Panel VPS:

1. Regularly Update Cyber Panel and System Packages. (Best VPS provider)

– Update Cyber Panel: Keep Cyber Panel up to date to ensure you have the latest security patches and features. Use the following command to update:
# [ sudo su –
cyberpanel upgrade ]

– Update System Packages: Regularly update your operating system and installed packages. Use:-
# [ sudo apt-get update && sudo apt-get upgrade -y ]

2. Use Strong Passwords and Change Them Regularly.

Admin and User Passwords: Ensure that all passwords are strong and complex, combining uppercase and lowercase letters, numbers, and special characters.

Change Passwords Regularly: Periodically update passwords for Cyber Panel, databases, and FTP accounts to reduce the risk of unauthorized access.

3. Enable Two-Factor Authentication (2FA).

Set Up 2FA: Cyber Panel supports two-factor authentication for added security. Navigate to “Users” > “List Users” and enable 2FA for your admin account.

4. Configure Firewall and Security Settings. (Free Windows VPS Server)

Enable Firewall: Use the built-in firewall to block unauthorized access. Navigate to “Security” > “Firewall” in Cyber Panel to configure rules.

Configure Fail2Ban: Set up Fail2Ban to protect against brute force attacks. Navigate to “Security” > “Add New Rule” to create custom rules for Fail2Ban.

5. Use Secure Protocols.

SSH Security: Configure SSH to use key-based authentication instead of password authentication. Edit the SSH configuration file /etc/ssh/sshd_config:
# [ sudo nano /etc/ssh/sshd_config ]

Disable password authentication: (Free VPS Provider in India)
# [ PasswordAuthentication no ]

Enable key-based authentication and restart SSH:
# [ sudo systemctl restart sshd ]

Use SFTP Instead of FTP: Secure FTP (SFTP) encrypts data during transfer. Ensure all file transfers are conducted via SFTP.

5. Install and Configure a Web Application Firewall (WAF).

OpenLiteSpeed WAF: Use OpenLiteSpeed’s built-in WAF to protect against web-based attacks. Navigate to “Security” > “WAF” to enable and configure rules. (Best Web Hosting in India)

7. Regularly Back Up Your Data.

Automated Backups
: Set up regular automated backups for your websites and databases. Navigate to “Backups” > “Schedule Backup” to configure backup schedules.

Offsite Backups: Store backups in a secure, offsite location to ensure data recovery in case of a server breach.

8. Monitor and Audit Logs.

Regular Log Review: Regularly review server logs to detect suspicious activity. Navigate to “Logs” in Cyber Panel to access system and access logs.

Set Up Alerts: Configure alerts for unusual activities such as multiple failed login attempts.

9. Limit Access and Permissions.

User Access Control: Only grant access to users who need it. Use Cyber Panel’s user management tools to control and limit user permissions. (Low cost VPS hosting)

File Permissions: Ensure that files and directories have appropriate permissions to prevent unauthorized access. Use the following commands to set permissions:
# [ sudo chmod -R 755 /path/to/your/web/directory ]
# [ sudo chown -R www-data:www-data /path/to/your/web/directory

10. Secure Your Database.

Database User Management: Create separate database users with limited permissions for different applications. Avoid using the root user for application connections.
Database Backups: Regularly back up your databases and store them securely.

11. Install Antivirus and Anti-Malware Software.

– ImunifyAV: Cyber Panel supports ImunifyAV for malware scanning. Install and configure ImunifyAV to scan for and remove malware.

– Regular Scans: Schedule regular scans to detect and eliminate potential threats.

12. Disable Unnecessary Services.

Service Management: Disable or remove services that are not required for your server. This reduces the attack surface and potential vulnerabilities. (dedicated server hosting)

By implementing these best practices, you can significantly enhance the security of your Cyber Panel VPS, protecting your websites, data, and server resources from potential threats. Regularly review and update your security measures to stay ahead of new vulnerabilities and ensure a robust security posture.