You can create additional users with restricted access. Each role has specific permissions, explained in the following section.
Users with the Admin role have full permissions and are not restricted to the frontend, admin area, or a specific site.
Users with the Site Manager role have full access to manage all sites but no access to the admin area.
Users with the User role are restricted to specific sites. They only see the assigned sites and cannot see and manage other sites.
To add a new User do the following steps:
In the Events overview, you see which user has made changes in CloudPanel.
To reboot your instance, click in the left menu on Instance and then on the button Reboot top right.
To restart a service like NGINX, MySQL, or PHP-FPM, click in the left menu on Instance and select the Service to restart.
For connecting via FTP you need to enter the Instance IP in the field MasqueradeAddress.
The MasqueradeAddress causes the instance to display the network information for the specified IP address or DNS hostname to the client, on the assumption that the IP address or DNS host is acting as a NAT gateway or port forwarder for the instance.
The timezone of your instance is essential for executing cron jobs and other scheduled tasks at the right time in your region.
With Remote Backups, also known as off-site backup, you can store copies of your sites to services like Amazon S3, Wasabi, Digital Ocean Spaces, Dropbox, Google Drive, SFTP, or any other storage provider supported by Rclone.
Select the Storage Provider of your choice and click on Continue.
Log in to the AWS Management Console.
Create an S3 Bucket and create an AWS Access Key and Secret Access Key with restricted permissions to S3.
Fill out the form and click on the button Save.
By default, all sites are backed up. The vhost and the entire home directory of each site, excluding the .ssh, logs, and tmp directory, are included in the backup. In the Excludes field, you can exclude directories and files.
If you want to exclude a site from the backup, put /home/$site-user/ in the excludes.
To restore files or directories, go to your storage provider and download the backup file backup.tar of your site.
Restoring files via File Manager is recommended for backup files smaller than 2 GB.
Go to the File Manager of your site and upload the backup file backup.tar to the tmp directory.
Make right-click on the file backup.tar and extract the file.
tar xf ~/tmp/backup.tar
Google Drive as storage provider can only be used if you use the paid Google Workspace service.
To create an Service Account, follow the steps on the following site https://rclone.org/drive/.
Fill out the form and click on the button Save.
By default, all sites are backed up. The vhost and the entire home directory of each site, excluding the .ssh, logs, and tmp directory, are included in the backup. In the Excludes field, you can exclude directories and files.
If you want to exclude a site from the backup, put /home/$site-user/ in the excludes.
To restore files or directories, go to your storage provider and download the backup file backup.tar of your site.
Restoring files via File Manager is recommended for backup files smaller than 2 GB.
Go to the File Manager of your site and upload the backup file backup.tar to the tmp directory.
Make right-click on the file backup.tar and extract the file.
tar xf ~/tmp/backup.tar
The integrated Firewall in CloudPanel is based on UFW, also known as Uncomplicated Firewall.
Developed to ease iptables firewall configuration, ufw provides a user-friendly way to create an IPv4 or IPv6 host-based firewall.
CloudPanel is being shipped with pre-configured rules to achieve higher security.
For higher security, whitelist the SSH Port (22) for your IPs only. The CloudPanel Port (8443) should only be whitelisted if you have a static ip.
To add a new Rule, click on the button Add Rule.
Select the Type, enter the Port Range, Source, and Description (optional) and click on Add Rule to apply the firewall rule.
If you don’t have a static ip to close port 8443, a Basic Auth in front of CloudPanel is recommended to restrict the access.
To enable Basic Auth, click in the left menu on Security and then on the tab Basic Auth.
Enter a User Name and Password and click on Save to enable basic auth.
To enable Basic Auth via the command line, log in via SSH and execute the following command as the root user.
clpctl cloudpanel:enable:basic-auth --userName='john.doe' --password='password123'
To disable Basic Auth, click in the left menu on Security and then on the tab Basic Auth.
To disable Basic Auth via the command line, log in via SSH and execute the following command as the root user.
clpctl cloudpanel:disable:basic-auth
To run CloudPanel under your Custom Domain with a Let’s Encrypt Certificate, do the following.
A DNS Record pointing to this server is required to issue a Let’s Encrypt Certificate.
An alternative way to run CloudPanel under your Custom Domain is to use a Reverse Proxy, e.g., if you want to use your own SSL/TLS Certificate, which is useful where Let’s Encrypt can’t be used.
Go to Sites and create a Reverse Proxy.
Enter the Domain Name, enter https://127.0.0.1:8443 as Reverse Proxy Url.
Using a separate Database Server to handle database queries has advantages like better performance and the possibility to restore to a specific time.
All major cloud providers offer MySQL Database Services like Amazon RDS, Digital Ocean Managed MySQL.
Supported Database Versions are: MySQL 5.7, MySQL 8.0, >= MariaDB 10.6
To add a Database Server, click in the left menu on Settings and then on the tab Database Servers.
Enter the Host, User Name, Password and Port and click on Add Database Server.
systemctl stop mysql && systemctl disable mysql
To add a Database Server, click in the left menu on Settings and then on the tab Database Servers.
Click on the Database Server you want to delete.