Why It’s Time to Move Away from cPanel
Are you tired of seeing your hosting bills go up every year? If you run a website, you probably know cPanel. For a long time, it was the "gold standard" for managing servers. But lately, things have changed.
The Real Cost of cPanel
The biggest problem today is the cost. cPanel changed its pricing model, making it very expensive for small and medium businesses. Instead of a flat fee, you now have to pay more as you grow. For many, these extra monthly costs are just not worth it anymore.
Meet CyberPanel: The Faster, Free Alternative
If you want to save money without losing power, CyberPanel is the best choice. It is a modern, open-source control panel that doesn't cost a cent for the basic version.
The best part? It is powered by OpenLiteSpeed. This is one of the fastest web server technologies in the world. It makes your WordPress sites load much faster than traditional servers.
Is This for You?
This guide is perfect for developers, agencies, and business owners who want a professional, dedicated environment. If you want full control of your server but don't want to waste money on expensive licenses, this is your solution.
Pro Tip
To get the best results, you need a strong foundation. A high-performance Dedicated Server (like the ones from VMohost) provides the raw power and NVMe SSD speed that CyberPanel needs to perform at its best.
Why Use a Dedicated Server for CyberPanel?
When you first start a website, you might use standard "shared hosting." Think of shared hosting like living in a very crowded apartment building. You have to share the water, electricity, and space with hundreds of other people. In the hosting world, this means you share the server’s brain (CPU) and memory (RAM) with many other websites. If one of your "neighbors" gets too much traffic or has a bad script, your website slows down or even crashes.
A Dedicated Server is completely different. It is like owning your own private house. You get 100% of the server's power, memory, and space all to yourself. Nobody else can use your resources. Because you don't share with anyone, your website stays incredibly fast and stable, even when thousands of visitors come to your site at the same time.
CyberPanel is like a high-speed sports car, but to get the best performance, it needs a great engine. Your underlying hardware matters a lot. Using a high-performance Dedicated Server (like the powerful options offered by VMohost) gives you the perfect foundation. With their lightning-fast NVMe SSD storage and strong processors, your OpenLiteSpeed setup will have the exact power it needs to truly fly!
Pre-requisites: What You Need Before You Start
Before we start building a blazing-fast home for your website, we need to gather our tools. Installing CyberPanel is actually very easy, but you must have the right setup ready beforehand.
Make sure you have these four things checked off your list:
- A Clean Operating System: You need a fresh, brand-new installation of Ubuntu 20.04 or Ubuntu 22.04. Do not try to install CyberPanel on a server that already has other websites or control panels running. The server must be completely empty!
- Minimum Server Power: CyberPanel is very lightweight, but it still needs basic resources. Your server should have at least 2GB of RAM and 10GB of disk space. (Since we are using a dedicated server, you will easily have much more power than this!).
- Root SSH Access: You need the "master key" to your server. This is called "root access." You will use a simple program like Terminal (on Mac) or PuTTY (on Windows) to securely type commands into your server.
- A Domain Name: You need a web address (like
yourwebsite.com) that you own. You will also need access to its DNS settings to connect your domain to the new server.
Quick Tip
When you order a Dedicated Server from VMohost, you can easily select Ubuntu 22.04 during checkout. They will automatically install the clean OS and email you the root SSH details, making your setup process incredibly fast and simple!
Step 1: Connecting to Your Dedicated Server
Now that you have your tools ready, it is time to build your new control panel! Don't worry if you have never used server code before. All you need to do is copy and paste.
First, we need to log into your server. Think of this like calling your server on the phone so you can give it instructions.
To do this, open the Terminal app on your Mac, or download a free program called PuTTY if you use Windows. Then, type this simple command and press Enter:
ssh root@your_server_ip
(Note: Replace "your_server_ip" with the actual numbers given by your hosting company. If you are using VMohost, you can easily find this IP address and your root password right inside your client dashboard!) When it asks, type in your password and press Enter. You are now inside your server!
Step 2: Running the CyberPanel Installer
Before we install anything new, it is always a smart idea to update your server. This ensures you have the latest security patches. Paste this code and press Enter:
apt update && apt upgrade -y
Once that finishes, it is time for the main event! Paste the official CyberPanel installation command below. This magical line of code tells your server to download and set up the entire control panel automatically:
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
The screen will now ask you a few simple questions. Here is exactly what you should choose:
- Press 1 to Install CyberPanel.
- Press 1 to choose CyberPanel with OpenLiteSpeed (This is the fastest, free option!).
- Type Y to agree to the full installation.
- Type s to set your own strong admin password, or press r to let the system create a random one for you.
Now, go grab a cup of coffee! The installation will take about 10 to 15 minutes. When it finishes, your screen will show a list of important links, your username, and your password.
Very Important
Make sure to copy and save all of this information in a safe place. You will need it for the next step!
Step 3: Accessing the Dashboard & Initial Setup
Now that the installation is complete, you can close that black terminal screen. It is time to see your beautiful new control panel! You can now manage your server using your normal web browser (like Chrome or Safari).
To log in, open your browser and type your server's IP address, followed by :8090. It will look exactly like this:
https://your_server_ip:8090
Don't Panic! When you press enter, your browser might show a scary warning saying, "Your connection is not private." This is completely normal for a brand-new server. Just click Advanced at the bottom, and then click Proceed to continue.
You will now see the CyberPanel login screen. Type in your username (which is usually admin) and the strong password you created during the setup. Click "Sign In," and welcome to your new, powerful dashboard!
Step 4: Hosting Your First Website
Adding your very first website is incredibly easy. CyberPanel is built to save you time so you don't have to be a tech expert. Here is how to make your website live in just a few clicks:
- On the left side menu of your dashboard, click on Websites and then select Create Website.
- A simple form will appear. For "Package," choose Default.
- Type in your Domain Name (like
yourwebsite.com) and your email address. - Choose your PHP version. (Selecting PHP 8.1 or higher is always best for top speed and security).
- The Magic Step: Make sure to check the small box that says SSL to get a free security certificate. Also, check the box for OpenBaseDir Protection to keep your site safe.
- Finally, click the Create Website button!
Speed Tip
If you are running this on a VMohost Dedicated Server, this creation process will finish in just seconds because of their high-speed NVMe drives.
Step 4b: Pointing Your Domain to Your Server (DNS Setup)
This is a critical step that many guides skip — but without it, your domain will never load and the SSL certificate will fail. You need to create a DNS A Record that tells the internet which IP address your domain name points to.
Log in to wherever you registered your domain name (e.g., Namecheap, GoDaddy, Cloudflare) and navigate to your DNS Management / DNS Zone panel. Add the following records:
| Type | Name / Host | Value |
|---|---|---|
| A | @ (root domain) |
Your Server IP Address |
| A | www |
Your Server IP Address |
DNS changes can take anywhere from a few minutes up to 24 hours to fully spread across the internet (this is called DNS propagation). You can use a free tool like whatsmydns.net to check if your domain is pointing correctly before you try to issue the SSL certificate.
Important
Always wait for DNS to fully propagate before trying to issue an SSL certificate inside CyberPanel. If you try too early, the SSL will fail with a "domain validation" error.
Step 5: Setting Up Professional Email (DKIM, SPF & rDNS)
For a truly complete hosting setup, you cannot ignore email. Without the correct email records, your outgoing emails will land in your clients' spam folders — or get rejected entirely. There are three key records to configure:
1. SPF Record (Sender Policy Framework)
An SPF record tells email providers which servers are allowed to send email on behalf of your domain. Add this as a TXT record in your domain's DNS panel:
v=spf1 ip4:YOUR_SERVER_IP ~all
Replace YOUR_SERVER_IP with your actual server IP address. The ~all at the end means that any other sending source is a soft fail (suspicious but not outright blocked).
2. DKIM Record (DomainKeys Identified Mail)
DKIM adds a digital signature to your outgoing emails so receiving servers can verify they genuinely came from you. CyberPanel generates this key for you automatically:
- In CyberPanel, go to Email → DKIM Manager.
- Select your domain from the dropdown and click Generate DKIM.
- Copy the long TXT value that appears.
- In your DNS panel, add a new TXT record with Name
default._domainkeyand paste the value.
3. rDNS / Reverse DNS (PTR Record)
A Reverse DNS record (rDNS/PTR) maps your server's IP address back to your domain name. This is one of the strongest spam signals checked by major email providers like Gmail and Outlook. Without it, your emails will almost certainly be marked as spam.
rDNS is set by your hosting provider, not your domain registrar. Log in to your VMohost client area, navigate to your server, and look for the rDNS / PTR setting. Set it to your primary hostname — for example: mail.yourwebsite.com.
Quick Check
After setting up all three records, use MXToolbox Email Health to verify your SPF, DKIM, and rDNS are all configured correctly before sending any emails.
Step 6: Security Best Practices — Installing & Configuring CSF Firewall
Now that your website is live, security is your next priority. When you own a dedicated server, you are the security guard — but CyberPanel's built-in CSF (ConfigServer Security & Firewall) makes this very easy.
Installing CSF
Inside your CyberPanel dashboard, go to Security → CSF in the left menu and click Install CSF. Alternatively, install it from your server terminal:
cd /usr/src && wget https://download.configserver.com/csf.tgz
tar -xzf csf.tgz && cd csf && sh install.sh
Configuring CSF (The Default Settings Are NOT Enough)
After installing, open the CSF configuration file to tune it for a hosting server:
nano /etc/csf/csf.conf
Find and change these important values:
| Setting | Recommended Value | Why |
|---|---|---|
TESTING = "1" |
TESTING = "0" |
Disables test mode so rules actually take effect. |
TCP_IN |
20,21,22,25,53,80,110,143,443,465,587,993,995,8090,8443 |
Allows web, email, FTP, DNS, and CyberPanel ports. |
LF_TRIGGER |
10 |
Bans an IP after 10 failed login attempts (brute-force protection). |
CT_LIMIT |
300 |
Blocks IPs that open more than 300 simultaneous connections (DDoS protection). |
After saving, restart CSF to apply all changes:
csf -r
Other Essential Security Steps
- Change Your Passwords: Use a strong mix of numbers, letters, and symbols for your CyberPanel admin account and root SSH access. Never reuse passwords.
- Set Up Backups: Go to Backup → Schedule Backup in CyberPanel and set it to run weekly. If something ever breaks, you can restore immediately.
With CSF properly configured, your server is protected against the vast majority of automated attacks.
Troubleshooting: What To Do If Something Goes Wrong
Even on a clean server, things can occasionally go wrong. Here are the most common problems and how to fix them quickly:
❌ Problem: The CyberPanel installer fails or hangs
Cause: This usually happens if the server has leftover packages from a previous install, or if the internet connection dropped mid-install.
Fix: Re-image your server to get a completely clean OS, then run the update command first before re-running the installer:
apt update && apt upgrade -y && apt autoremove -y
If the problem persists, check the installer log for the exact error:
cat /var/log/cyberpanel_install.log
❌ Problem: Cannot access CyberPanel dashboard on port 8090
Cause: Port 8090 is being blocked by CSF/firewall, or the CyberPanel service is not running.
Fix: First, check if CyberPanel is running:
systemctl status lscpd
If it's stopped, start it:
systemctl start lscpd
Then make sure port 8090 is allowed through the firewall:
csf -a YOUR_SERVER_IP comment "Allow CyberPanel"
csf -r
❌ Problem: SSL certificate fails with "domain validation" error
Cause: The domain's DNS A Record is not yet pointing to your server's IP address (DNS has not propagated yet), or the domain is still pointed elsewhere.
Fix: Verify your DNS is correct using:
dig +short yourdomain.com A
The output must show your server's IP address. If it shows a different IP or nothing at all, wait for DNS propagation (up to 24 hours) then try the SSL issue again in CyberPanel under Websites → List Websites → SSL.
❌ Problem: Outgoing emails go to spam or get rejected
Cause: Missing SPF, DKIM, or rDNS records (see Step 5 above). Also, some IP ranges from data centers are pre-listed on spam blacklists.
Fix: Check your server IP against major blacklists:
# Visit this URL in your browser:
https://mxtoolbox.com/blacklists.aspx
If your IP appears on a blacklist, you can usually request de-listing directly from the blacklist provider's website after setting up your SPF/DKIM/rDNS properly.
Conclusion: Your New High-Speed Hosting Empire
Congratulations! You have successfully built a professional, lightning-fast web server from scratch. By moving away from expensive cPanel licenses and choosing the free power of CyberPanel, you are saving money every single month. Plus, thanks to OpenLiteSpeed technology, your visitors will love how fast your pages load.
Remember, having great software is only half of the magic. To keep your websites running smoothly as your business grows, you need rock-solid hardware.
If you are ready to take full control of your web hosting, we highly recommend building your new setup on VMohost Dedicated Servers. With their top-tier NVMe storage, powerful processors, and excellent support, VMohost provides the perfect, affordable foundation for your new high-speed hosting empire.
Say goodbye to slow shared hosting and expensive licenses. Take control of your websites today!