fbpx

CyberPanel Cloud have a dedicated WordPress Manager that can be used to deploy and manage WordPress sites. But if you are connecting existing CyberPanel installation to Cloud, you can use the scan feature to bring existing WordPress sites to WordPress Manager.

Follow along the tutorial to bring existing sites to WordPress manager.

How to detect existing WordPress sites to WordPress Manager:

Detecting existing WordPress sites in WP Manager is very easy and just a few clicks away. To detect the existing WordPress site first of all login to CyberPanel Cloud using your login details.

Provide your username and password.

https://cloud.cyberpanel.net

wordpress manager scan

Now from the top menu go to the Server->List Server

You can see all servers you added to the account select the required server and click on the three dots you can see the Manage button press that.

 

Scroll down and you can see all of the sites you have on this server. To detect the WordPress on any existing site you just need to click the CyberPanel icon under the launch column.

You will navigate to a new screen here in the left menu you can see WP Manager -> Scan for WP press this button.

Now it's time to scan your site a big blue Scan button appears on your screen.

Click the Scan Now button and if your site have WordPress installed it will be detected and you will be redirected to WordPress Manager.

 

Backups are the primary concern of any website owner because they carry all of the information and the hard work of the many years you have put into your website. You can lose your website's data in a moment due to uncertainty on the web. Nowadays, Cyber attacks are widespread, and hackers find loopholes to access your personal and professional information and benefit from it. It is essential to have a reliable backup system that secures your website's data as a priority.

After reading this guide, you will understand the difference between a conventional Backup System and an Incremental Backup System in CyberPanel, and how feasible it is for you to use incremental backups rather than a conventional backup.

At the end of the article, you will know the steps necessary to create local incremental backups in CyberPanel.

Table of Contents

What is CyberPanel?

CyberPanel is a web hosting control panel that runs on OpenLiteSpeed or LiteSpeed Enterprise and allows you to install WordPress, Joomla, PrestaShop, and Magento with one-click. It is the best hosting control panel that you can install with one command on your CentOS or Ubuntu server. Many professionals use CyberPanel to manage their sites by themselves, and in the same way, you can manage your sites from its simple GUI (Graphical User Interface).

If you have the technical knowledge, then you must understand the complexity of hosting a website by yourself without a web hosting control panel. It requires expertise on the Linux command line terminal to install the necessary prerequisites for running your WordPress website. Further, managing your site is also a proper job. Luckily, if you don’t have the technical knowledge, then you don’t need to learn it because CyberPanel provides pre-installed applications to install on your private or shared server with one-click. In the same way, you can create a local incremental backup in CyberPanel with one click.

What is CyberPanel (Main Dashboard)

What is the difference between a conventional backup system and an incremental backup system in CyberPanel?

There are two backup systems in CyberPanel that provide backups of your data, databases, passwords configurations and emails. Both backup systems allow you to take the backup of your website manually, or you can configure backups to run automatically on a daily or weekly basis.

The Conventional Backup System in CyberPanel

The conventional backup system takes a backup of your websites without knowing the repetition of your data. For example, if you have set a conventional backup system to take backup daily it will take a backup disregarding any duplication even if your data is changed by a mere 1%, and it takes the full backup of your website again that already exists. Ultimately, a backup will consume more disk space and bandwidth (if you are storing them remotely, more bandwidth will be used to transfer them),

The Incremental Backup System in CyberPanel

To resolve the problem of consuming more disk space by the conventional backup system, CyberPanel has recently launched an incremental backup system that takes a backup of only new data, databases, and emails. For example, if you have set an incremental backup system daily, it will take a backup of only new data, databases, and emails that were added in the last 24 hours. Ultimately, the backup of your website consumes less disk space and bandwidth than a conventional backup system and it will be easier and faster to create backups and restore them.

Steps to create an incremental backup and restore your site in CyberPanel

CyberPanel allows you to create an incremental backup of your website with few clicks. Let’s discuss the following in detail:

How to create a website in CyberPanel

If you don't have a website set up and you want to try out the incremental backup, use the following steps to create a new website in CyberPanel. If you already have a website you can skip this step.

From the main dashboard of CyberPanel, you can create a website with one click. Navigate to Website > Create Website from the left menu bar and fill out the following information:

  1. Set the default package of your website from the scroll down menu.
  2. Set the owner of your website to the admin from the scroll down menu.
  3. Enter the domain name of your website.
  4. Enter the email address of your website. Later on, you can make a new email in CyberPanel for official use.
  5. Select the PHP version of your website from 5.6 to 7.3.
  6. You can choose any additional features that are available for your sites such as SSL (Secure Socket Layer), DKIM Support, and Open_basedir Protection.
  7. Click the Create Website button for the instant creation of your site.

How to create a website in CyberPanel

Access Your Site's File Manager in CyberPanel

Your site is successfully created. Now we need to make some changes, let's say create a new file in the existing site to use the functionality.
Next, we are going to access the file manager of your site, in which we make a new file in the public_html folder, and test the incremental backup of this site. For that, you need to go to Websites > List Websites &gt Manage:

List website and manage to access file manager of your site

Scroll down the newly opened window and click File Manager to access the public_html folder or index.html file of your site

File Manager in CyberPanel

Also, you can create a new folder or file in the public_html folder to make changes to your site from the graphical user interface with one-click. The File Manager is straightforward and carries prominent settings to make changes such as Delete, Add a new folder or file, and much more.

File Manager in CyberPanel to make changes with one-click

How to Create a New File/Folder in File Manager

  1. Navigate to the public_html folder of your site in File Manager.
  2. To create a file, click New File from the main menu bar on the top of the screen.
  3. Enter the file name. In this guide, we are going to create a file with the name of CyberPanel.txt. Once you enter the file name and click Create File, the file will be displayed instantly in your File Manager.
  4. Select the file and click Edit from the menu bar on the top of the screen. Add content to the file, just like in Microsoft Word, and click Save Changes.

Cyberpanel.txt is created in File Manager

How to Create an Incremental Backup

  1. Navigate to the main dashboard of CyberPanel, and click Incremental Backup > Create/Restore Backup from the left menu bar.
  2. Select your website from the scroll down menu bar.
  3. Select local in the Destination section.
  4. CyberPanel offers you the ability to take a backup of your site's data, databases, and emails. You can select all of them at once, or you can select any of these three while taking an incremental backup of your site based on your requirements. But, the CyberPanel team recommends taking a full backup of your site, i.e. (Data, Databases, and Email), to avoid any problem in case of an emergency.
  5. Click Create Backup.

Create an Incremental Backup of your site in CyberPanel

The incremental backup of your site based on Data, Databases, and Emails is stored, and the result looks like this:

Incremental Backup of your site is created in CyberPanel

How to restore your website through Incremental backup in CyberPanel

Click Restore Point in the Output section to restore your site. When you click it, the results look like this:

Restore Point to restore your site information in CyberPanel

You can restore your website instantly with one click, or according to your requirements. For example, you can restore data that is on Job ID 19, emails that are on Job ID 20, and databases that are showing on Job ID 21.

Example: Delete and restore a file with incremental backup

Let's take a look at how a Restore of your website works if we delete a bunch of files, including CyberPanel.txt, from the file manager. We can restore them from the incremental backup that we just created.

Navigate to the public_html folder in the File Manager of your website, select all the files and delete them.

Select all the files in Public_html folder and delete

All the files of your website are now deleted from the public_html folder in the file manager.

All files deleted from Public_html folder in file manager

Navigate to Incremental Backup > Create/Restore backup, and select the website. The last backup that has been taken either manually or automatically per your settings is going to be aligned at the top. Click Restore and restore your site's data as seen in the following screenshot:

Example to restore your site's data in CyberPanel

Visit File Manager for your site, and you will see the restored files:

Site is restored through Incremental backup in CyberPanel

Similarly, you can visit the public_html folder to check your deleted files, including CyberPanel.txt, which is back again through incremental backup in CyberPanel.

CyberPanel.txt is restored again in Public_html folder in CyberPanel

Example: Restore your WordPress site from an incremental backup

Let's discuss the real example of taking an incremental backup of your WordPress site and how it works. First, you need to set up WordPress on your site in CyberPanel. Navigate to Websites > List Websites > Manage > Application Installer > WordPress + LSCache and install it with one click. You can get help from the article  Set up Self-Hosted WordPress Site for Free in 10 Minutes, if necessary.

After the successful installation of WordPress, navigate to http://domain name/wp-login.php/ and provide your username and password to log into the main dashboard of your WordPress site.

Main dashboard of WordPress site through CyberPanel

Now, we are going to apply the theme on our WordPress and take an incremental backup. Afterward, we are going to delete WordPress from CyberPanel and restore it to demonstrate the functionality of incremental backup. You will understand that if a hacker tries to make changes to your site, that an incremental backup is available to restore your site with one click. It gives a clear process to use incremental backup as the most reliable backup system for your websites.

Navigate to Appearance > Themes from the main dashboard of your WordPress site, and apply any theme. Afterward, the site looks something like this:

Applied theme to WordPress site

Take an incremental backup of the WordPress site in CyberPanel to save the changes to the theme. You can see in the following screenshot that the backup is stored:

Incremental backup of wordpress site in successfully created

Like in the previous example, go to your site's File Manager and into the public_html folder that carries all of the files of your WordPress as seen in the following screenshot, and delete all of them:

Delete all the files in the public_html folder of your WordPress site

All the files in the WordPress site's public_html are deleted.

Deleted all the files in the public_html folder of your WordPress site

Refresh the WordPress site, and it gives a 404 Error, as we have deleted all the files from the public_html folder.

404 error occured due to deletion of all public_html files

Navigate to Incremental Backup in CyberPanel and restore Job ID 22, 23, 24 of your site's data and databases in the same way as before. You can see in the following screenshot that shows the restoration:

Restore data and databases of your wordpress site in incremental backup

Refresh the File Manager and visit the public_html folder of your WordPress site. All the files are stored again with one click.

Successfully restored all the files of WordPress site in Public_html folder

Also, the WordPress site is live again after restoration from incremental backup in CyberPanel:

WordPress site is Live again after restoraion from Incremental backup in CyberPanel

Conclusion

In this guide, we have successfully demonstrated the functionality and difference between conventional and incremental backup systems in CyberPanel. You must have learned the simple functionality of our backup system that is available to use with a few clicks. Most of the professionals in the world use CyberPanel to secure their websites with an incremental backup system that consumes less storage and bandwidth of your server. We have covered two examples that practically showed you the results by deleting all the files in the public_html folder in File Manager. Similarly, you can restore your site data, databases, and emails with one click from our latest feature of Incremental backup.

Moreover, you can easily install CyberPanel with one command with the help of our guide to Install CyberPanel.

Do you want to host a free and super fast WordPress blog by yourself without any technical knowledge? Yes, now it is possible. You can set up self-hosted WordPress on CyberPanel in 10 minutes. We have come up with a step-by-step guide to self host your blog without any coding knowledge.

You may wonder, how is it possible to host a website in 10 minutes? It takes hours to set up a website on a web server due to its complex back-end work. You need technical knowledge on Linux to install necessary prerequisites like PHP and MySQL (Maria DB) to run and install WordPress on your server. There are many tutorials and guidelines available on the web to install WordPress on your website from the command line terminal, but still, it takes hours to set up your website. Mostly non-technical users pay for managed web hosting services to set up their sites.

CyberPanel has solved this major problem through its simple to use graphical user interface. It is a web hosting control panel from where you can self-host your WordPress blog in 10 minutes without any cost.

Table of Contents

1. CyberPanel Features
2. Steps to Install WordPress on CyberPanel in 10 minutes
2.1 Buy a VPS (Virtual Private Server)
2.2 Install CyberPanel on Your Server
2.3 Set up WordPress on CyberPanel
3. Conclusion

1. CyberPanel Features

CyberPanel is a web hosting control panel backed by OpenLiteSpeed that allows you to manage your websites along with many other features that include but are not limited to Email and DNS. It provides auto-installation of WordPress, PrestaShop, Joomla and Magento with one click from its graphical user interface. Its functionality is very simple for non-technical users to self host their websites/blogs. You can self manage the following features that CyberPanel provides:

CyberPanel Features (Main Dashboard)

CyberPanel offers two variants: free and paid. Both options come with similar features. You can avail yourself of the free version for your WordPress website, which comes with the OpenLiteSpeed web server. Compare this to cPanel, which charges at least a $15 per month license fee to set up your self hosted website on a private server. For more information, you can click this link to read the difference between the two control panels.

2. Steps to Install WordPress on CyberPanel in 10 minutes

First, you need some online space to install CyberPanel. For that, you need to buy a VPS (Virtual Private Server) to store your data. In this guide, we will discuss step-by-step how to get a free VPS from DigitalOcean and how to install CyberPanel on your self-purchased private server.

2.1 How to Purchase a VPS (Virtual Private Server)

There are many hosting platforms from where you can purchase a cloud server such as DigitalOcean, Hetzner, Vultr, etc. In this guide, we will help you get a free cloud server from DigitalOcean.

2.1.1

Navigate to DigitalOcean and sign up. (You will get $50 as a credit in your account.)

2.1.2

Go to https://cloud.digitalocean.com/login and log into the DigitalOcean cloud platform.

Digital Ocean login

2.1.3

On the right corner of your dashboard, click the Create button. It will display a list of options. Choose Droplets (Create Cloud Servers).

Digital Ocean Droplets (Create Cloud Servers)

2.1.4

Choose CentOS 7.x as your operating system from the list.

Choose CentOS7 (Digital Ocean)

2.1.5

Choose a plan according to your requirements. For this example, we will choose a Standard Plan of $5 per month. (If you choose this plan your website can run free for almost 10 months using the free $50 credit that you got above.) The Standard Plan is enough to run a website with 25 GB SSD Disk, 1GB/1 CPU and 1000 GB Transfer. Other options range from $5 to $80 per month with a maximum of 16 GB/6 CPU, 320 GB SSD Disk and 6TB Transfer.

Choose a plan (Digital Ocean)

2.1.6

Choose the appropriate datacenter region for your server.

Choose a datacenter region (Digital Ocean)

2.1.7

Choose One-time password in the Authentication setting.

Choose One-time password in Authentication setting (Digital Ocean)

2.1.8

Write any hostname in the Finalize and Create section.

Choose a hostname in Finalize and create setting (Digital Ocean)

2.1.9

Skip the other options and click Create Droplet.

Create Droplet (Digital Ocean)

2.1.10

Our droplet, faizan.cyberpanel.net was successfully created.

Droplet Succesfully created (Digital Ocean)

At this point, you should receive a message at the email address you provided when you signed up for DigitalOcean. It contains a one-time password and your IP address to log into your root account from the command line terminal on CentOS 7. If you are a Microsoft Windows User, then download Putty 0.73 software from the web. Log in as root by providing your IP address on port 22. After login as root, it will ask for the password that you received via email. After entering your password, change the password right away for security purposes.

2.2 Install CyberPanel on Your Server

From the terminal command line, enter the following command to install CyberPanel:

sh <(curl http://cyberpanel.net/install.sh || wget -O - http://cyberpanel.net/install.sh)

CyberPanel login screen

Note: You need to set up DNS records of your domain before moving forward. Setting DNS records are out of the scope of this tutorial. However, we can recommend various tutorials depending on your needs.

  1. CloudFlare DNS: If you want CloudFlare to manage your DNS follow this tutorial: How to setup Cloudflare for your domain!
  2. Custom Nameserver: You can set up a Custom name server as well: Namecheap or GoDaddy

Once custom nameservers are setup on domain registrars, CyberPanel will take care of the rest for you.

2.3 Set up WordPress on CyberPanel

2.3.1

The main dashboard of CyberPanel is straightforward. You can easily access the pre-installed features from the panel due to its prominence. There is a menu bar on the left side of your screen. To make a website, click on Websites > Create Website to open the following window. Provide the following information:

Create a website on CyberPanel

  1. Set Select Package to Default.
  2. Set Select Owner to admin. If there are other users who should also be allowed to manage your site, you can add them later.
  3. Set Domain Name to the domain where you want to install WordPress.
  4. Set Email to the email address of your website. You can make one for official use with one-click from the CyberPanel email system.
  5. Set Select PHP to the latest version. CyberPanel gives you an option from PHP 5.6 to PHP 7.3.
  6. You can also avail yourself of additional website features with one-click. SSL (Secure Socket Layer), DKIM Support and Open_basedir Protection are your choice.
  7. Click Create Website.

2.3.2

The website faizan.cyberpanel.net is now successfully created. The next step, is to install WordPress on CyberPanel. Go to Websites > List Websites where you will see your site listed. On the right side of your screen, you will see aManage option. Click it to make changes to your website.

List Website and manage option on CyberPanel

It will take you to the following screen. Now, scroll down to pre-installed applications where you will find WordPress + LSCache.

WordPress + LSCache Application on CyberPanel

2.3.3

Click WP + LSCache to install WordPress and LSCache. The LSCache plugin speeds up the load time of your WordPress site. The reason it is different from other cache plugins is its installation is at the server level. You can study its details by clicking this link. Enter the following information:

Install WordPress + LSCache on CyberPanel

  1. Set Blog Title to the title of your WordPress site.
  2. Set Login User to the username who operates the site.
  3. Set Login Password to a strong password to enter your blog.
  4. Set Email to an email address for the authentication of your blog.
  5. Press the Install Now button.

2.3.4

WordPress is now successfully installed. Next, navigate to http://domain-name/wp-login.php/ and enter your username and password to log into the main dashboard of your WordPress website:

WordPress + LSCache is successfully installed

3. Conclusion

Now you must understand the difference between CyberPanel and other web hosting control panels. It is the simple control panel that provides the same features as cPanel at no cost. The most important thing is its accessibility to all functions that provide the best user experience. Most of the customers who use CyberPanel are non-technical, and they are happy to use it without any complaints. Further, in case of any problems, the CyberPanel support department is here to help around the clock.

If you followed our guide, it is easy for you to purchase a VPS, install CyberPanel, and set up a self-hosted WordPress on your server. Most of the non-technical users are not aware of CyberPanel as the best possible solution for hosting your WordPress site for free. If you followed our guide till now, then you must have learned how easy it is to set up your self-hosted WordPress site on CyberPanel in 10 minutes.

This article will help you install WordPress with the LSCache plugin on OpenLiteSpeed using LSPHP. We are also going to see how we can use free Lets Encrypt SSL to secure your WordPress site.

This article guides you through installing and configuring OpenLiteSpeed web server, MariaDB as a database management system, LiteSpeed PHP, LetsEncrypt SSL to secure your website and Pure-FTPD (File Transfer Protocols Daemon) in case you want to use FTP to transfer WordPress files from your computer to server. The result would be to create a WordPress site on a domain (faizan.cyberpanel.net with the issuance of SSL Certificate) using OpenLiteSpeed as a web server.

Prerequisites

Step 1: Set up OpenLiteSpeed Web Server, MariaDB and PHP on Centos 7

Step 1.1: Enable LiteSpeed Repository

A repository is a storage location where software packages are retrieved and installed on a server. We can install OpenLiteSpeed without compiling it by directly adding the LiteSpeed repository. Use the command below to enable the repository:

sudo rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm

Step 1.2: Installation of Components

Step 1.2.1

Now that we can access LiteSpeed repositories, we can set up the server along with the MariaDB database management system by using the following command:

sudo yum install OpenLiteSpeed mariadb-server

Step 1.2.2

Different versions of PHP are available in LiteSpeed repositories. We will install PHP version 5.6 along with the PHP extension needed to connect with the MariaDB database management system.

sudo yum install lsphp56 lsphp56-mysql

Step 1.2.3

LSPHP denotes LiteSpeed PHP. You can also search for various available extensions. Replace 56 with the corresponding PHP version to search for extensions of other PHP versions:

yum search lsphp56

Step 1.2.4

You can also install all the extensions for LSPHP 5.6 using the command below:

sudo yum install lsphp56-*

Step 1.3: Setting up the Default Admin Password

To execute and change the default admin password for OpenLiteSpeed's WebAdmin Console, use the following command and set it to 123456:

sudo /usr/local/lsws/admin/misc/admpass.sh

It will ask for a username but by default, the admin username is used. You can press Enter to accept, and use the password 123456 on a temporary basis. Later, you can change your temporary password to a strong password for protection.

Step 1.4: Adding a New PHP Link

By default, OpenLiteSpeed will use the PHP at /usr/local/lsws/fcgi-bin/lsphp5 We will create a symlink to our installed PHP version so that OpenLiteSpeed can use the PHP 5.6 that we installed earlier because it contains the MySQL extension which is required by WordPress.

sudo ln -sf /usr/local/lsws/lsphp56/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5

Now, the PHP version 5.6 at /usr/local/lsws/lsphp56/bin/lsphp will be used by OpenLiteSpeed to process PHP files.

Step 1.5: MariaDB Configuration

Step 1.5.1

Start MariaDB by using following command:

sudo systemctl start mariadb

Step 1.5.2

Enable MariaDB service automatically, when we boot our system:

sudo systemctl enable mariadb

Step 1.5.3

Run the first time command to set up and configure MariaDB:

sudo mysql_secure_installation

First, it will ask for the root password for Maria DB, but since we haven't set one, press the Enter key to proceed. Now, it will ask you to set the root password. Provide a secure and strong root password to log into MariaDB.

For the rest of the questions, you can press Enter to continue and you will successfully install MariaDB on your server along with OpenLiteSpeed and LSPHP.

Step 1.6: Confirmation

Now we will confirm the OpenLiteSpeed web page and Admin interface.

Step 1.6.1

You can check the status of your OpenLiteSpeed web server using the following command, which provides a LSWS PID:

sudo service LSWS status

Step 1.6.2

You can also browse to your server's domain name or IP address on port 8088 to view the following OpenLiteSpeed default page:

https://your-IP-Address:8088

Openlitespeed web server installed

Now you have successfully installed OpenLiteSpeed web server which is running on port 8088.

Step 1.6.3

Log into the OpenLiteSpeed administrative interface by browsing to your server's domain name or IP address on port 7080:

https://your-IP-Address:7080

You will see a browser warning for an invalid SSL certificate, but you can proceed by clicking the "Proceed" link as shown:

SSL not validated page warning

Step 1.6.4

After proceeding, it will take you to the OpenLiteSpeed administrative interface, where you will enter your username and default password.

web admin console for OpenLiteSpeed

Step 1.6.5

Now you are on your main server management dashboard.

Openlitespeed dashboard

Step 1.7: Change Port for the Default Page

Log into your the OpenLiteSpeed administrative interface. Go to Listeners > Listener List > View/Edit Button > from main menu bar of your dashboard, and change port 8088 to conventional port 80. Save the changes and restart the server.

restart your server for configuration

Now we have installed OpenLiteSpeed web server, MariaDB and PHP version 5.6 on Centos 7. OpenLiteSpeed web server and its administrative interface provides useful features to run and manage your websites in a user-friendly environment.

Step 2: Set up WordPress with OpenLiteSpeed Web Server on Centos 7

WordPress is the most powerful website creation tool in the world. It is the prevalent content management system (CMS). WordPress owes its popularity to a user-friendly interfance for blog, website, and post management that doesn't require a user to know any programming languages. WordPress websites are set up on top of a database back-end system that uses PHP scripts to execute the processing of dynamic content.

Let's set up WordPress with OpenLiteSpeed on CentOS 7.

Step 2.1: Prerequisites

At this point, you must have successfully installed the above prerequisites to move ahead.

Step 2.2: Creating a Database and Database User on MariaDB for WordPress

To create a database and database user for WordPress, we need to log into MariaDB with the following command:

mysql -u root -p

It will ask for the administrative password for MariaDB that you entered during installation.

Once you are logged into MariaDB, you will need to create a database for WordPress. You may choose any name for your database, but we will use cyberpanel for a simple example.

CREATE DATABASE cyberpanel;

Now we will create a database user and grant it access to manage the database that has just been created. We will create a user by the name of cyberpaneluser but, again, you may name it whatever you like. Also, you can replace the password in the command section to keep it strong. We will be using password for simplicity.

GRANT ALL ON cyberpanel.* TO [email protected] IDENTIFIED BY 'password';

Use the flush command to make your changes available to the current MariaDB process.

FLUSH PRIVILEGES;

Now, exit out of MariaDB to your regular shell.

exit

Step 2.3: Installation of Necessary PHP Extensions for WordPress

Earlier we installed PHP 5.6 from LiteSpeed repositories. WordPress requires some additional extensions that we will install now using the command below:

sudo yum install lsphp56-gd lsphp56-process lsphp56-mbstring

Now, these extensions will automatically be available to OpenLiteSpeed web server to run WordPress.

Step 2.4: Configuration of Virtual Host for WordPress

Step 2.4.1

For the configuration of a Virtual Host, navigate to OpenLiteSpeed's administrative interface by browsing to your server's domain name or IP address on port 7080 i.e. https://your-IP-Address:7080

Step 2.4.2

Enter your username and default password to log in, then go to Virtual Hosts from the main dashboard menu bar on the left and follow the steps below:

add a virtual host

Step 2.4.3

Press the add button on the top right corner. The following window will be opened.

Virtual Host in OpenLiteSpeed administrative interface

click to create option in virtual host

Now a Virtual Host has been created and is called "faizan.cyberpanel.net":

faizan.cyberpanel.net virtual host created

Step 2.4.4

Navigate to Virtual Hosts > faizan.cyberpanel.net > General and press the edit/view button to make the following changes:

general tab in virtual host faizan.cyberpanel.net

Step 2.4.5

Navigate to  Virtual Hosts > faizan.cyberpanel.net > General > Index Files and press the edit/view button. In the Index files field, add index.php before index.html to allow PHP index files to take precedence. Now, save changes and restart your server.

index files in virtual hosts

Step 2.4.6

Navigate to Virtual Hosts > faizan.cyberpanel.net > Rewrite Rules, press the edit/view button, and make the following changes:

rewrite rules in virtual hosts

Step 2.4.7

Navigate to Virtual Hosts > faizan.cyberpanel.net > Script Handler, press the edit/view button, and make the following changes:

script handler in virtual hosts

Step 2.4.8

From the OpenLiteSpeed administrative main dashboard, navigate to: Listeners > Listener List > Virtual Host Mappings, press the edit/view button, and make the following changes:

virtual host mappings in OpenLiteSpeed

At this point, we have completed the necessary virtual host tasks required to run WordPress on faizan.cyberpanel.net. Now, we will install and configure WordPress in the /home/wordpress directory on CentOS 7.

Step 2.5: Install and Configure WordPress

Step 2.5.1

Now we are ready to download and install WordPress to the /home/wordpress directory that we set up on the Virtual Host Root and Document Root.

cd /home
wget https://wordpress.org/latest.tar.gz

Step 2.5.2

Extract WordPress:

tar xzvf latest.tar.gz

Now, WordPress has been installed in /home/wordpress.

Step 2.5.3

Set permissions on the WordPress directory so that the user which runs the web server may make changes through the WordPress interface.

chown -R nobody:nobody /home/wordpress/

Now we have successfully downloaded and extracted WordPress in the /home/wordpress directory.

Step 2.6: Complete Installation through the WordPress Interface

Step 2.6.1

Now, with the files downloaded to /home/wordpress, we can access WordPress by going to the faizan.cyberpanel.net/index.php domain that we set up for running WordPress in Virtual Hosts.

Wordpress running on faizan.cyberpanel.net/index.php

Step 2.6.2

Press Continue to proceed; the next page will ask you to enter the following things for validation:

Step 2.6.3

After adding the above information, enter Site Title, Username, Password, and Your Email for authentication.

Wordpress installation and configuration from interface

Press the Install WordPress button.

Step 2.6.4

Enter your username and password to log into the main dashboard of your WordPress website:

main page of wordpress installed

Step 3: Set up the LSCache Plugin

The LSCache plugin for WordPress works by generating static HTML pages of your WordPress website and saving them on your server. The main benefit of this feature is that when a user tries to access a website, LSCache provides a lighter HTML page, instead of running the heavy PHP scripts, and gathering data from the beginning. LSCache is installed on servers to improve the load time of a website through this process.

Prerequisites

Step 3.1: LSCache Configuration

The LSCache server module installed and enabled itself when you first set up OpenLiteSpeed. You need to set the LSCache parameters to the following by going to Openlitespeed's Administrative Interface > Main Dashboard > Server Configuration > Modules > Server Modules Definition > View/Edit Button > Module Parameters.

checkPrivateCache   1
checkPublicCache    1
maxCacheObjSize     10000000
maxStaleAge         200
qsCache             1
reqCookieCache      1
respCookieCache     1
ignoreReqCacheCtrl  1
ignoreRespCacheCtrl 0

enableCache         0
expireInSeconds     3600
enablePrivateCache  0
privateExpireInSeconds 3600

LSCache configuration

Save changes and restart your server.

Step 3.2: Set LSCache Rewrite Configuration for Virtual Hosts

Now, go to Virtual Hosts > faizan.cyberpanel.net > Rewrite Rules, press the edit/view button, and make the following changes:

LSCache Rewrite configuration in Virtual Hosts

Step 3.3: Activate LSCache WordPress Plugin

Step 3.4: Verify LSCache Activation

X-LiteSpeed-Cache: hit

This means the LSCache plugin for WordPress is successfully activated and is caching your site.

Step 4: Set up LetsEncrypt SSL on CentOS 7

SSL stand for Secure Socket Layer, and it is used to ensure privacy, authentication and data protection in Internet communication. It uses the HTTPS protocol and encryption to secure your website from threats and an insecure environment.

Step 4.1: Install Acme.sh

To install acme.sh, execute the command below:

wget -O -  https://get.acme.sh | sh

You will see an output in which acme.sh is installed to /root/.acme.sh/ directory.

Step 4.2: Issue a LetsEncrypt Certificate

The following command is used to issue a LetsEncrypt certificate for a single domain, i.e. faizan.cyberpanel.net.

/root/.acme.sh/acme.sh --issue -d faizan.cyberpanel.net -w /home/wordpress

Output

acme.sh results

In the output, the certificate key and full chain certificate key are outlined in red. Now you will need to enter these two keys in the Virtual Hosts area.

Step 4.2.1

Navigate to Virtual Hosts > faizan.cyberpanel.net > SSL > SSL Private Key and Certificate, press the edit/view button, and make the following changes:

SSL configuration in virtual hosts

Step 4.2.2

Go to Listeners > Add Listener, and make the following changes:

create a new listener for SSL

Step 4.2.3

Go to Listeners > Listeners faizan.cyberpanel.net > Virtual Host Mappings > SSL > SSL Private Key and Certificate, press the edit/view button, and make the following changes:

Listeners SSL in virtual hosts

Step 4.2.4

Go to your browser visit your index page, like so: https://faizan.cyberpanel.net/index.php

LetsEncript SSL is setup successfully

You have now successfully installed LetsEncrypt SSL on CentOS 7 for the domain faizan.cyberpanel.net. You can follow the steps mentioned above to do the same for your own website in an easy way.

CyberPanel and cPanel are both hosting control panels, and they help you manage your websites. With one command you get a fully functional LAMP stack that is ready to serve your web applications. Let see how CyberPanel is a feasible cPanel alternative.

If you are new to development or managing sites then you will sooner or later discover that some variation of the LAMP stack  (Linux, Apache, MySQL, and PHP) is mandatory to run your sites. Here Apache can be replaced with other web servers such as OpenLiteSpeed, and PHP can be replaced with other programming languages like Python. Control panels like cPanel and CyberPanel offer many other features on top of the LAMP stack, and these features can help you in many ways.


Basic Feature Comparison

cPanel is almost 20 years old, and 20 years ago everything was very different. Hardware and bandwidth were expensive, so cPanel was designed to be used by shared hosting companies. Usually, in a shared hosting environment, a single server is hosting hundreds or even thousands of sites, which allows the company to get maximum profit out of existing hardware. Everything was expensive back then.

Considering these facts, cPanel is bloated with umpteen number of features, many of which are not required by a normal end-user. Additionally, all of these features make cPanel expensive to buy and a high consumer of server resources.

Fast-forward 20 years, and these days hardware and bandwidth are not as expensive as they were in the past. Anyone can get a virtual private server for $5/month, with roughly 1GB of RAM and 20GB disk space. If configured right, a $5 VPS can host 10-20 sites easily or even 100 static sites. The most basic cPanel package is $15. Spending $5 + $15 does not make sense if you only want to host a simple WordPress site.

CyberPanel to the rescue! CyberPanel is a great cPanel alternative. It offers all of the features needed to host and run a site including Web, DNS, FTP, and Email server. On top of that CyberPanel also offers two variants: Free and Paid.

CyberPanel Free vs Paid Variant

CyberPanel's free version is 100% identical to CyberPanel Enterprise, the paid version. However, the free version comes with the OpenLiteSpeed web server, whereas the paid version comes with LiteSpeed Enterprise and our premium support.

You can learn the difference between OpenLiteSpeed and LiteSpeed Enterprise Web Server here. The most relevant differences are:

Note: On our pricing page, the listed plans include the cost of the corresponding LiteSpeed Web Server license. This means you do not need to buy a web server license separately. You get huge saving plus high performance. To see all of the plans in detail, you can visit the store. Or if you want to try the fully function free version of CyberPanel, just run this command on your terminal:

sh <(curl http://cyberpanel.net/install.sh || wget -O - http://cyberpanel.net/install.sh)

Within a few minutes, your server is ready to deploy super fast WordPress or other web apps. If you are still not convinced then learn why people are moving their WordPress setups to CyberPanel.


Use Case: cPanel vs CyberPanel

Let's walk through a website administrator's daily routine tasks. Since WordPress is the most-used CMS, we will use that as an example. We'll create a site, install WordPress, set up SSL, back up the site, use the staging features on CyberPanel, and finally set up email.

Step 1: Buy Server and Install Control Panel

Some hosting companies will give you pre-installed servers, if you chose a specific control panel. On the other hand, you can also self-install cPanel or CyberPanel.

To install cPanel you can run the following command on your server terminal:

cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest

After command line installation is complete, visit https://<IP Address>:2087. During this first visit, you will need to set up your basic configuration. This can be hard for new or inexperienced users.

Installing CyberPanel is comparatively easy, as you don't need to do any configuration once the installation is completed. To install, run the following command:

sh <(curl http://cyberpanel.net/install.sh || wget -O - http://cyberpanel.net/install.sh)

After successful installation, you can immediately visit the CyberPanel interface at https://<IP Address>:8090, with no additional configuration required.

Step 2: Create a Website

cPanel via WHM

cpanel alternative

 

To create a website via cPanel + WHM, you would follow these steps:

  1. Log into WHM with your username and password, or enter your URL (example.com/WHM or example.com:2087)
  2. Go to Create a New Account by searching on left top search bar
  3. Enter your site's Domain
  4. Enter your Username
  5. Enter your Password
  6. Provide an Email Address
  7. Choose a package. The default option is for unlimited resources, or you can enter resources (disk space, bandwidth, ftp accounts etc.) manually according to your requirements.
  8. Select a default language for your website.
  9. Update Mail Routing Service, in which you can choose to automatically detect the configuration
  10. Press the Click to Create button, and within 3-to-5 seconds, your account will be created in WHM. Then, you will see a dialog box to enter cPanel via a list of websites.

This process is not user-friendly. Beginners don't need many of the features, nor do they necessarily know how to determine their requirements based on projected usage. Beginners need more time to understand the complexity of the software.

CyberPanel

Creating a website on CyberPanel is much easier than with cPanel. CyberPanel is designed for end-users to create their website and manage it. CyberPanel's GUI (Graphical User Interface) is simple and user-friendly as compared to cPanel.

cyberpanel

Follow the steps below to create a website on CyberPanel:

  1. Log into CyberPanel with your username and password
  2. Go to Websites > Create Website from left menu bar
  3. Select Package (Choose the default or create your own package according to your requirements.)
  4. Select Owner (Normally admin is used, or you can give management access to any of your users.)
  5. Enter Domain Name (example.com)
  6. Enter Email Address
  7. Select PHP (Options available range from PHP 5.6 to 7.3)
  8. Additional features like SSL, DKIM, and DNS Verification are available with one click, and they are absolutely free.
  9. Click the Create Website button and within 10 seconds, you will have your new website.

Note: If you want SSL to be successfully issued make sure that your site's DNS is already pointed to the server IP.

Step 3: Manage Your Site

The cPanel interface is very complex, compared to CyberPanel. While cPanel has existed for more than 20 years, CyberPanel is designed for end-users and includes all basic and advanced features with a user-friendly GUI. It can be difficult for an end-user to understand WHM and locate the required features (as they are innumerable) but CyberPanel displays all icons in the main dashboard.

cPanel

 

Interface of cpanel alternative managing domains

 

The above image shows the cPanel domain management interface. The dashboard offers major and advanced features in the following categories: Files, Databases, Domains, Email, Metrics, Security, Software, Advanced, Preferences and Applications. These categories narrow down major tasks that are performed by either the system administrator or the end-user. Most of the features, though, are not relevant to the end-user.

CyberPanel

Interface of a domain in cyberpanel

 

The above image shows the CyberPanel interface, which helps end-users to manage their websites in a friendly way. To manage your site, navigate to Websites > List Websites > Manage. If you scroll down, you will find relevant features that are easily understandable for end-users. You can view access logs, control child domains, edit configuration files, visit the file manager, use email marketing, or install applications with our one-click application installer for WordPress, Joomla and PrestaShop.

Step 4: Set up a WordPress Site

cPanel

setting wordpress on cpanel

 

When you log into the cPanel dashboard, you will need to go to Domains > Site Publisher where you will follow three steps to set up your website on WordPress: Select your domain, choose a template, and publish your website. The cPanel dashboard carries all of these features under one umbrella, which can be confusing to end-users who just want the basic tools to run their websites.

CyberPanel

setting wordpress on cyberpanel

 

The installation of  WordPress on CyberPanel is very easy as compared to cPanel. Navigate to Websites > List Websites > Manage, where you will find our auto-installer for WordPress with LS Cache Plugin. The LS Cache Plugin feature reduces website load time when compared to other cache plugins because it is built right into the server. It uses disk space to save and serve cache copies. Click WordPress, and it will take you to the above window where you will enter your desired information. The website will be ready to use in 10 seconds.

Step 5: Back up the System

The Backup feature helps to secure/restore your data. In an era of cyberattacks, hackers find loopholes to attack recognized websites. Backup allows you to save your data as per your requirements on a daily and weekly basis. In the case of computer viruses, system files get affected easily and need to be removed from system, otherwise, chances of cyberattacks get increased. It's smart to have a backup of important files.

cPanel

 

backup wizard at cpanel

cPanel's backup system offers two types of backup: Full and Partial. A full backup creates an archive of all the files and the configuration of a website. Partial backup allows you to download archive files of the home directory, MySQL databases and email forwarders and filters separately. cPanel is useful for a system administrator to manage their content as an advanced tool, but it is very complex for end-users to understand the backup process. On the other hand, CyberPanel provides a user-friendly backup system with self-explanatory GUI.

CyberPanel

 

Create backup of your website

 

CyberPanel allows you to restore your data in one click. There are two types of backups that CyberPanel provides to their end-users. After logging into your CyberPanel account, navigate to Backup > Create Backup and it will generate a backup of your website in one go.

Backup file location: /home/<domain name>/backup

Restore backup of your website

 

To restore your website's data, navigate to Backup > Restore Backup where you can select your website's backup file. Your website will be restored in one click.

incremental backup of your website

 

Recently, CyberPanel introduced an incremental backup system, which allows you to create a backup of your website's data, databases and emails separately. The purpose of the incremental backup is to reduce repetition of backed up content. It gives you free space at the server level to increase efficiency and reduced bandwidth cost, in case incremental backups are stored remotely.

setup incremental backup destinations

 

Incremental backup destinations include: Local (default destination), SFTP  (Server IP Address required) and S3 (AWS S3 key required).

Step 6: Stage Your WordPress Site

Digital businesses use staging to test their websites outside of the production environment whenever they need to make changes to their websites. Website changes involve risk. A staging feature helps developers to make changes in a secure environment where your live website will not be impacted. After careful testing, the QA team allows the changes to go live to the website.

cPanel

This feature is not available in cPanel.

CyberPanel

CyberPanel's WordPress Staging Feature allows you to test your websites in a secure environment and then pushes it live when you are fully satisfied with the changes. The staging feature reduces the chances of insecurity, loss of data, bugs, and general failures by keeping the testing phase-out of production. This feature has increased the overall efficiency of end-users' websites.

wordpress staging option in cyberpanel

 

The first step in staging is to clone the website. Navigate to Main Dashboard > Websites > List Websites > Manage >Clone/Staging.

domain name for staging

When you click on the Clone/Staging dialog box, enter your domain name, and the clone will be created as child domain, pending DNS validation. Once complete, you can start testing.

sync to master in staging

 

sync website from child domain to master

 

syncing final step to master

 

Second, when testing is complete, you can copy the child domain's content back to the master domain. Navigate to Main Dashboard > Websites > List Websites > Manage > List Domain > Manage/Launch > Copy/Sync to Master.

You have the option of syncing your website by copying complete data, database, or changed files.

Step 7: Manage Email

cPanel

cPanel email system

 

The cPanel Email system offers advanced features to handle hosting accounts. To create an email account in cPanel you need to log into cPanel > Main Dashboard > Email Accounts.

CyberPanel

 

Creating an email address in cyberpanel

CyberPanel's Email system offers some basic features that are very useful for end-users to communicate officially. To create your email account, navigate to Dashboard > Email > Create Email.

 

access webmail portal in cyberpanel

 

After the creation of an email account, you can access the Webmail Portal to send or receive messages. Apart from that, CyberPanel also helps in setting up DKIM, and SPF records along with SSL for email. You can get more deep information in our previous article:

Achieve 10/10 Email score with CyberPanel!


Conclusion

As you can see, anything that you can do with cPanel can be easily achieved in CyberPanel as well. Plus CyberPanel involves little-to-no cost. That is why CyberPanel is a good candidate for the cPanel alternative. From website creation to WordPress installation, everything is super easy and with Incremental Backup, you can sleep in peace.

 

In CyberPanel v1.8.8 we've introduced WordPress staging site feature, in which you can put your live site to staging make your changes, do testing and then put that site in production.

To get this feature you first needs to be on v1.8.8. It is always recommended to Backup your site before using this feature so that you can restore if anything goes wrong.


Clone or put your site to Staging

Cloning or putting your site in staging is very easy.

Dashboard -> Websites -> List Websites -> Manage -> Clone/Staging

 

 

Then you will have to enter the domain. This domain will be created as child-domain to this site, make sure to add proper DNS A record if your DNS is hosted somewhere. If DNS is hosted on CyberPanel A record will be added and you won't have to do anything. This will clone your website data along with database and ready for you to start testing/developing.

We will not copy LiteSpeed Cache plugin in the staging site, so you won't need to clear the cache.


Copy or sync site to Master

Once you are done with your testing, you can copy your staging site to production.

Dashboard -> Websites -> List Websites -> Manage -> List Domain -> Manage/Launch -> Copy/Sync to Master

 

 

 

Once syncing is done, your changes will be live to master/production site. Once child/staging site is copied to master, make sure to purge the cache from whatever cache plugin you are using, because we will not remove cache plugin from the production site, you need to purge cache manually.

chevron-down