CyberPanel is high performance web server for WordPress. It powered by OpenLiteSpeed, with auto backups to DO Spaces. Do you want your own super fast web server? Or want to manage all without messing with the command line? CyberPanel is the best choice. Well, here you are going to learn about WordPress CyberPanel Optimization.
Getting Started: Installation
Installation will take time ranging from 10-15 minutes. When the installation is complete, it is going to show you URL to login and credentials to use. The first step after installing any panel must be changing admin password. Also, it applies to CyberPanel, while some panels may use random or root password, CyberPanel by default uses `1234567` as password. So, let us change our admin password. You have to click on the “Caret Down” icon beside name on the header to open the dropdown and click Edit profile. Now, you are able to move to your primary object
Adding a new website in CyberPanel
Please navigate to make website (the option present under Websites group in sidebar) then you are able to choose and fill input fields accordingly. With this step, your site is added to the CyberPanel and ready for use.
Installing WordPress with LSCache in CyberPanel
You have to navigate to Websites > List Websites under the Main group in sidebar. This will be able to open dashboard for your site. Now, you are able to perform actions from this page. You need to scroll to the bottom of the screen and then click WordPress with LSCache. This is going to present you an optional field for entering path to your installation. If left blank, it will assume your public home directory (public_html) which is domain itself as path. To begin installation, you are able to click on the button named Install WordPress. Probably, you will get installation failed error upon doing so. This is due to CyberPanel makes a default index.html file inside your public_html folder. To solve this, you have to use File manager (link present on the same page) to delete the file. Now, WordPress should be installed on the domain along with LSCache plugin.
Configuring WordPress for LSCache in CyberPanel
Upon opening the URL for your site, WordPress is going to ask you to fill few fields as information for your site. It includes admin username and password. Upon complete installation, you have to log in to admin panel and goto plugins section. CyberPanel by default, probably not install the latest version of the plugin. So, first step in this section is to update your LiteSpeed Cache (LSCache) plugin. You are able to delete Hello Dolly as basically serves no important function. Then, you are able to activate the plugin. Upon activation, it will start serving its functions. You are able to verify it by looking at response header of your website. If it contains “X-Litespeed-Cache: hit”, the page was served by LiteSpeed Cache directly without PHP. You will be able to play around with settings of this plugins to improve the performance for your setup.
Get a VPS account
You are able to select any other VPS provider you like. It does not matter. All will work. We feel Linode can be easiest for newbie because of you get to select simpler root password initially, and also you are able to copy-paste right into Linode’s web console. If you have another VPS provider, there is a good chance for you to connect in with SSH program properly. If you want to be quick-and-easy, Linode can be a little faster.
Create a VPS instance
You will be able to select a standard VPS option. Not one of the CPU/GPU/Memory optimized ones. Those are for special application utilizes and you may will not notice much difference for your web server. If you do not know which size to get, we recommend the standard $20/month (2CPU-core/4GB-memory). It is able to handle a million hits easily if your website is not so bloated and you cache properly. Also, you are able to get the smaller $5-10/month plans or larger $40-80/month plans. And, you are able to resize your server later on. Please select the latest version of 64-bit CentOS which you see. Why CentOS and not Ubuntu? Generally CentOS is considered more stable and more secure. Ubuntu is able to be considered as getting updated more often but unfortunately this has downsides of being buggy sometimes or less stable. We think that CentOS is the safe choice, super compatible with everything, and chosen more for web-servers than any other Linux distribution. When the server finishes building, ensure you boot. When it is running, you are able to log into it and start install software.
Some Extra Cyberpanel Configuration Tips
- If you select an insecure root password, you need to make a strong one and change. Please make one up or generate it.
- You have to go to firewall and open TCP port 7080 for LS console.
- Use the command line to do these tasks: Get LS console password and go tweak LS settings. And get mySQL root password for phpMyAdmin.
- Even though you can, but we suggest you not using your web server for DNS. Only host your domains with Cloudflare and point them to your server IP.
- If you are able to afford it, we highly recommend obtaining LiteSpeed Enterprise license. It is cheap and comes with extra performance, security, and many other benefits.
- More CyberPanel configurations and some common fixes
Now, you also need to learn some basic Linux commands, server configuration and security. Surely you are able to get by with very minimal and this is regarding as easy as it gets. However, you definitely are going to know more in the long run especially once the problem occur or your server gets attacked or overloaded. For note: For those who are wondering regarding the RACK911 Labs security review of CyberPanel’s flaws, they have already been patched.
On my daily job, I am a software engineer, programmer & computer technician. My passion is assembling PC hardware, studying Operating System and all things related to computers technology. I also love to make short films for YouTube as a producer. More at about me…