Search results

  1. Rootali

    Let's Encrypt certificates not renewing automatically?

    Ah yeah, that happens when the command is executed as the wrong user or if line breaks sneak into the domain arguments. Make sure you're running the script as the clp user, not root. You can do it like this: su -s /bin/bash -c '/usr/bin/clpctl lets-encrypt:renew:certificates' clp That should...
  2. Rootali

    Let's Encrypt certificates not renewing automatically?

    Yep, good timing actually—I just updated the script to support SANs. Just make sure you're using the latest version from the repo. It should take care of domains and subdomains just fine. Let me know how it goes!
  3. Rootali

    Let's Encrypt certificates not renewing automatically?

    Yeah, I ran into the same problem before. CloudPanel should auto-renew them via cron, but in practice, it doesn’t always work—especially if something in the environment is off or if you’re using custom DNS setups. To solve it, I wrote a simple script that checks and renews the certificates...
  4. Rootali

    Does it make sense to install Ghost on CloudPanel?

    Yes, installing Ghost on CloudPanel works well and runs quite stable. In fact, CloudPanel has an official guide specifically for setting up Ghost. Since it uses Nginx instead of Apache and supports Node.js out of the box, it integrates smoothly with Ghost. You can check out the documentation...
  5. Rootali

    I’m using CloudPanel. How can I fix it?

    Hi there! A 403 Forbidden error on an Nginx server in CloudPanel usually means the server is denying access due to one of the following reasons: 🔹 1. No index file in the directory By default, Nginx looks for files like index.html or index.php. If none are found, it doesn’t know what to show...
  6. Rootali

    How to Set Up and Restore Remote Backups in CloudPanel

    CloudPanel includes a Remote Backup feature that allows you to store your site backups on external storage services such as Amazon S3, Wasabi, Dropbox, Google Drive, DigitalOcean Spaces, SFTP, or any service supported by Rclone. 🔸 Step 1: Set Your Instance Timezone Before scheduling backups...
  7. Rootali

    How to Configure Fail2Ban with ModSecurity on CloudPanel (Nginx)

    CloudPanel does not come with ModSecurity or Fail2Ban pre-installed, but you can configure both manually. This process requires advanced server management skills since CloudPanel uses Nginx, and ModSecurity is not natively integrated like it is in Apache environments (e.g., Plesk). 🔸...
  8. Rootali

    Does CloudPanel Support ModSecurity? How to Enable It?

    CloudPanel does not include ModSecurity by default, as it’s designed to be lightweight and performance-focused. However, if you need Web Application Firewall (WAF) capabilities like ModSecurity, you can install and configure it manually. 🔸 What is ModSecurity? ModSecurity is an open-source WAF...
  9. Rootali

    How to Solve CloudPanel Login Page Redirect Loop After an Update?

    A redirect loop on CloudPanel's login page after an update usually indicates an issue with the session, cookies, firewall, or incorrect SSL configurations. Here's how you can quickly fix this issue: 🔸 Step 1: Clear Browser Cache and Cookies First, ensure it's not a browser caching issue: Clear...
  10. Rootali

    How to Fix "Connection Timed Out" SSH Issue on CloudPanel?

    A "CONNECTION TIMED OUT" SSH issue usually indicates a firewall misconfiguration, service crash, or blocked IP address. Here are steps to resolve this issue on CloudPanel: 🔸 Step 1: Check IP Blocklist and Firewall Your IP might be blocked by the integrated firewall (UFW): If you have...
  11. Rootali

    Best Practices for Securing CloudPanel, Server, and Your Websites

    Here are the recommended security best practices to protect your CloudPanel instance, server environment, and hosted websites effectively: 🔸 CloudPanel Security Integrated Firewall (UFW) Open only required ports (22 SSH, 8443 CloudPanel) exclusively to your IP addresses. If no static IP is...
  12. Rootali

    Best Practices for Migrating a PHP Site to CloudPanel

    Below are the recommended best practices for migrating a PHP site (e.g., www.domain.com) to CloudPanel smoothly and safely: 🔸 Step 1: Create a PHP Site on CloudPanel Use your live domain (e.g., www.domain.com) when creating your PHP site. This ensures correct Nginx redirection from non-www to...
  13. Rootali

    Useful CloudPanel Site User Commands (CLI)

    CloudPanel provides several helpful CLI commands that can be executed by site users via SSH. Here’s a quick reference to essential site user commands: 📌 System (File Permissions) Reset Permissions (Directories & Files): This command resets file and directory permissions recursively. clpctl...
  14. Rootali

    Useful CloudPanel Root User Commands (CLI)

    CloudPanel offers powerful CLI commands for root users to easily manage your system. Below is a categorized summary of commonly used commands: 🔸 Cloudflare Integration Update Cloudflare IPs (Executed daily via cron at 6 AM)clpctl cloudflare:update:ips (Updates /etc/nginx/cloudflare/ips for...
  15. Rootali

    How to Set Up and Manage Remote (Off-site) Backups in CloudPanel?

    CloudPanel supports Remote Backups (off-site backups) using popular storage providers such as Amazon S3, Wasabi, DigitalOcean Spaces, Dropbox, Google Drive, Hetzner Storage Box, SFTP, and other providers compatible with Rclone. 📌 Setup Remote Backups 1. Set Instance Timezone Ensure your...
  16. Rootali

    How to Enable ionCube Loader on CloudPanel?

    CloudPanel ships with the ionCube Loader extension included but disabled by default for performance reasons. You can easily enable it for your specific PHP version by following these steps: ⚠️ Important Note: Currently, ionCube Loader is not available for PHP 8.0. Check your PHP version...
  17. Rootali

    How to Configure Nginx to Serve Your Website on https://www.domain.com Instead of Redirecting to https://domain.com?

    To configure Nginx to serve your website on https://www.domain.com and redirect https://domain.com to https://www.domain.com, follow these steps: DNS Configuration: Ensure both domain.com and www.domain.com point to your server's IP address in your DNS settings. Nginx Configuration: Open...
  18. Rootali

    How to Enhance Security on CloudPanel (IP Blocking, Bot Blocking, Basic Auth & Cloudflare)

    CloudPanel provides several built-in security features that can help protect your site: 🔸 IP Blocking To block specific IP addresses: Navigate to Security → Click on "Add IP". Enter the IP address in IPv4 or IPv6 format: Example IPv4: 8.8.8.8 Example IPv6: 2400:6180:100:d0::99b:5001 Click...
  19. Rootali

    How to Create, Manage, Backup, and Restore Databases in CloudPanel?

    CloudPanel provides straightforward tools for managing your databases: 📌 Creating a Database: Click on "Add Database". Enter your Database Name, Database User Name, and Password. Click "Add Database". 📌 Deleting a Database: Click on "Delete" next to the database. Confirm the action. 📌...
  20. Rootali

    How Can I Manage SSL/TLS Certificates in CloudPanel?

    By default, CloudPanel generates a self-signed SSL certificate when you first set up your site. However, a self-signed certificate is not suitable for public websites because browsers will display security warnings. Recommended options for SSL/TLS certificates: 1. Let's Encrypt (Free) You...
Back
Top