How to Install Free Let’s Encrypt SSL on Linux (Certbot Auto-Renewal Guide)

How to Install Free Lets Encrypt SSL on Linux (Certbot Auto-Renewal Guide) - CpanelFree Guide

Quick Answer: To install a free Let’s Encrypt SSL certificate on a Linux VPS, install Certbot via snap (sudo snap install –classic certbot), run the web server plugin (sudo certbot –nginx or sudo certbot –apache), enter your domain and email, and verify automated renewal with sudo certbot renew –dry-run. ⏱️ 5 min read (1,023 words) … Read more

How to Change the Default SSH Port on Linux to Block 99% of Bot Scanners

How to Change the Default SSH Port on Linux to Block 99% of Bot Scanners - CpanelFree Guide

Quick Answer: To change the default SSH port on a Linux VPS, select an unused high port (such as 22022), allow the new port in UFW (sudo ufw allow 22022/tcp), edit /etc/ssh/sshd_config to set Port 22022, restart OpenSSH (sudo systemctl restart ssh), and verify connection in a separate terminal before closing your active session. ⏱️ … Read more

How to Install and Configure Fail2ban on Linux (Stop SSH Brute-Force Attacks)

How to Install and Configure Fail2ban on Linux (Stop SSH Brute-Force Attacks) - CpanelFree Guide

Quick Answer: Install Fail2ban using sudo apt install fail2ban, create a custom configuration file at /etc/fail2ban/jail.local, enable the [sshd] jail with a 24-hour ban time (bantime = 1d), and start the service with sudo systemctl enable –now fail2ban. ⏱️ 5 min read (908 words) 🛡️ Verified on Ubuntu 24.04 / Debian 12 🔄 Updated for … Read more

How to Configure UFW Firewall on Ubuntu Server (Rules, Ports & Best Practices)

How to Configure UFW Firewall on Ubuntu Server (Rules, Ports & Best Practices) - CpanelFree Guide

Quick Answer: To secure an Ubuntu VPS using UFW (Uncomplicated Firewall), set the default policy to deny incoming traffic (sudo ufw default deny incoming), allow your SSH port (sudo ufw allow 22/tcp or sudo ufw limit ssh), allow HTTP/HTTPS (sudo ufw allow ‘Nginx Full’), and enable the firewall with sudo ufw enable. ⏱️ 5 min … Read more

Shared Hosting vs VPS Hosting: Which is Better for Your Growing Website?

Shared Hosting vs VPS Hosting: Which is Better for Your Growing Website? - CpanelFree Guide

Quick Answer: Shared Hosting is the most cost-effective and beginner-friendly solution for blogs, portfolios, and small business sites, where the host manages all server infrastructure. VPS Hosting provides dedicated CPU/RAM slices, root access, and kernel isolation, making it essential for high-traffic stores, custom web apps, and Docker microservices. ⏱️ 5 min read (1,016 words) 🛡️ … Read more

How to Automatically Backup Your Linux VPS to Cloud Storage (S3 / Rclone Guide)

How to Automatically Backup Your Linux VPS to Cloud Storage (S3 / Rclone Guide) - CpanelFree Guide

Quick Answer: To automatically backup a Linux VPS to offsite cloud storage, install rclone and restic, configure an S3-compatible bucket (such as Cloudflare R2, AWS S3, or Backblaze B2), and execute an automated daily cron script that captures MySQL database dumps and compressed filesystem snapshots with client-side AES-256 encryption. ⏱️ 5 min read (1,068 words) … Read more