AdminsForum

Paste the error. Find the fix.

Step-by-step guides and community answers for Linux servers, VPS and hosting control panels.

New threads

The latest guides and questions from every forum.

aaPanel Websites & Web Servers Guides

How to update aaPanel NGINX and verify the running version after NGINX2Root

NGINX2Root affects several NGINX configurations, including servers that accept HTTP/2 connections. The November fixes first appeared in upstream mainline 1.31.9 and stable 1.30.7. This walkthrough follows an aaPanel-managed mainline installation. If your distribution supplies the running binary, use its security advisory and package revision instead.

1. Identify the web server that handles your sites
Open App Store → Installed and find the Nginx row. The demo started on 1.31.7. The Update control on the aaPanel home screen updates the panel itself. Use the Nginx row to update the website server.

2. Back up and test before updating
Keep a private backup of your NGINX configuration, virtual hosts, current binary and any custom modules. Record module and build options, and have a working restore method. On a typical aaPanel installation, test the current configuration with:
Code:
/www/server/nginx/sbin/nginx -t
Resolve configuration errors before continuing. Schedule the update when a brief interruption is acceptable.

3. Update and follow the task
In App Store → Installed, select Update beside Nginx. Confirm the target branch and release, then follow the build in the panel task list. A source build can spend several minutes compiling dependencies while the old server continues answering requests. Leave the running task to finish.

4. Verify the process, configuration and website
Run the checks below in Terminal. The first command shows the version installed on disk. For the process check, use the PID of the website NGINX master from the process list. aaPanel can also run its own separate web server.
Code:
/www/server/nginx/sbin/nginx -v ps -C nginx -o pid,args readlink /proc/PID/exe /proc/PID/exe -v /www/server/nginx/sbin/nginx -t
Replace PID with the numeric process ID. Check that the executable path belongs to the website server and the running version matches the intended update. Visit a normal HTTPS page on each important site and check its content, certificate and error log. If the tests fail, use the backup and your maintenance procedure before returning the site to service.

Upstream advisory: https://nginx.org/en/security_advisories.html


   

Demo result, 24 November 2026. The previous screenshot shows the starting version. After the task completed, both the installed binary and running website master reported 1.31.10. The configuration test passed and the blog homepage returned HTTP 200 over HTTPS.

   
DEV 11-24-2026, 10:04 AM Read thread
FASTPANEL Getting Started Guides

FASTPANEL FAQ: Answers to the Most Common Questions Before You Install

FASTPANEL FAQ: Answers to the Most Common Questions Before You Install

Update, 19 November 2026: the official FASTPANEL website and its license server are currently down (the billing site no longer resolves, and fastpanel.direct shows a "We are updating our website" page that also states new ownership and an open-source license). Until that is resolved, a new install can't be activated, and details on this page may change. We'll update this post when the official site is back.

Short answers to the questions people ask most before trying FASTPANEL. Everything here comes from the official FASTPANEL site and knowledge base, checked on 15 November 2026. Where the official pages don't say, we tell you so. We'll update answers as we test each area on our own server.

New to the panel? Start with What is FASTPANEL?

Cost and license
Is FASTPANEL really free?
Yes. The Standard license is free forever and includes all core features. The official site says it's free for end users and hosting providers.

Is there a limit on websites or domains?
No. The official feature list says unlimited domains and accounts, on the free license too.

What do the paid licenses add?
Six extras: Node.js support, Telegram and Slack alerts, Prometheus monitoring, disk usage statistics, extended mail statistics and white-label branding. Details and prices are in FASTPANEL Licenses Explained.

Is it open source?
No. It's free to use, but the source code isn't public. The license agreement describes it as software owned by the vendor.

Do I need to register?
You need an email address. On first login the panel asks for a license, you enter your email, and the free license is sent to it.

Who makes it?
FASTPANEL is a registered trademark of P.A.G.M. OU, a company based in Estonia.

Server and installation
Which operating systems are supported?
Ubuntu 18.04 to 24.04, Debian 9 to 12, AlmaLinux 8, Rocky Linux 8 and CentOS 7, all 64-bit. See FASTPANEL System Requirements for which one to pick.

How much RAM do I need?
The official minimum is 1 GB RAM, 5 GB free disk and one CPU core. That's the minimum for the panel, not a comfortable size for real sites.

Can I install it on a server that already has websites?
No. The official instructions say it can only be installed on a clean operating system without any preinstalled software. Move your sites to a fresh server instead.

Can I install it next to another panel?
No, for the same reason. One panel per server.

Does it work on ARM servers?
The official feature list says ARM64 ready. We haven't tested it on ARM.

How do I open the panel after installing?
In a browser at
Code:
https://YOUR-SERVER-IP:8888
. The installer prints the login (
Code:
fastuser
) and a generated password at the end.

How long does installation take?
The official pages don't say. We'll time it in our install guide.

Features
Which PHP versions does it offer?
PHP 5.3 to 8.5, according to the official feature list, depending on your operating system. Not every version is available on every system.

Which databases?
MySQL and PostgreSQL, with phpMyAdmin and phpPgAdmin. You can choose the MySQL version during installation.

Does it include email?
Yes: mailboxes and Roundcube webmail are in the free license. Whether your mail actually gets delivered also depends on your DNS records and on your server provider allowing outgoing mail.

Does it include DNS?
Yes. It can run its own DNS server (bind), and it can also manage DNS at some providers, such as DigitalOcean and Vultr.

Is free SSL included?
Yes, Let's Encrypt certificates are part of the free license.

Can it install WordPress for me?
Yes, the feature list includes easy WordPress installation.

Where can backups go?
Website backups to FTP, SFTP, Dropbox and Google Drive, and differential backups to FTP, SFTP and S3-compatible storage.

Does it have a firewall and security tools?
Yes: a firewall (iptables) and a website vulnerability scanner are on the free feature list.

Can I run Node.js apps?
Built-in Node.js support is in the paid Extended license only.

Does it support Docker?
Docker isn't on the official feature list.

Can I give a client or developer access to just one site?
Yes, the feature list includes website developer access.

Is there a command line?
Yes. The list includes a command-line interface and a web terminal.

Compared with other panels
Is FASTPANEL better than aaPanel, CyberPanel or HestiaCP?
It depends on what you need, and this forum stays neutral between panels. Three plain differences to start from: FASTPANEL isn't open source (HestiaCP is), it has no Docker feature on its list (aaPanel and CyberPanel have Docker managers), and its paid extras are few and clearly separated from the free core.

Can I move sites from another panel to FASTPANEL?
There's no answer to this on the pages we checked. We'll cover moving a site by hand in a later guide. If you've done it, share your steps in the FASTPANEL forum.

Have a question that isn't here? Ask below and we'll add it.
JAY 11-15-2026, 04:26 PM Read thread
FASTPANEL Getting Started Guides

FASTPANEL Licenses Explained: Standard (Free) vs Extended vs Lifetime

FASTPANEL Licenses Explained: Standard (Free) vs Extended vs Lifetime

Update, 19 November 2026: the official FASTPANEL website and its license server are currently down (the billing site no longer resolves, and fastpanel.direct shows a "We are updating our website" page that also states new ownership and an open-source license). Until that is resolved, a new install can't be activated, and details on this page may change. We'll update this post when the official site is back.

FASTPANEL is free, but it does have paid licenses, and the names cause confusion. This page explains the three options and what each adds, based on the official FASTPANEL license page and knowledge base, checked on 15 November 2026. Prices and features can change, so confirm them on the official site before you pay for anything.

The short answer
  • Standard is free forever and includes all the core hosting features. Most people never need more.
  • Extended is a paid subscription that adds monitoring, alerts, Node.js support and branding.
  • Lifetime Membership is a one-time payment that includes Extended plus a bundle of services.

Standard: free
Price: free, forever. The official page says the panel is free for end users and for hosting providers, and that there is no limit on domains or accounts.

You get it by entering your email address when you first log in to the panel. The license is sent to that email.

What the official feature table lists for Standard:
  • Websites: quick site creation, easy WordPress installation, a request limit per website, developer access to a single site
  • PHP: PHP 5.3 to 8.5 (which versions you get depends on your operating system), with flexible PHP settings
  • Databases: MySQL and PostgreSQL, database settings, phpMyAdmin and phpPgAdmin
  • SSL: certificates including free Let's Encrypt
  • Email: mailboxes, Roundcube webmail, delivery reports and blacklist tools
  • DNS: your own DNS server (bind), plus DNS management at providers such as DigitalOcean and Vultr
  • Files and access: file manager, FTP and SFTP accounts, web terminal, disk quotas
  • Backups: website backups to FTP, SFTP, Dropbox and Google Drive, and differential backups to FTP, SFTP and S3
  • Security and server: firewall (iptables), website vulnerability scanner, cron jobs, log tools, resource usage statistics
  • Other: automatic updates, a command-line interface, multi-language interface, ARM64 support

Extended: paid subscription
Price on the official site: 4.20 EUR per month or 46.20 EUR per year, per license.

Extended includes everything in Standard, plus six features that Standard doesn't have:
  • Built-in Node.js support for running Node.js apps
  • Server notifications through Telegram and Slack (CPU, memory, disk and load alerts)
  • Server monitoring with Prometheus, including a metrics exporter
  • Disk usage statistics for the folders of website users
  • Extended outgoing mail statistics, with error codes and suggested fixes
  • White label: your own branding on the panel
The knowledge base also lists one paid support request per month per license.

Who it's for: people who run Node.js apps from the panel, hosts and agencies who want their own branding, and anyone who wants alerts when a server runs out of memory or disk.

Lifetime Membership: one-time payment
Price on the official site: 399 EUR, paid once. The page marks it with "Terms apply" without showing those terms, so read them before buying.

It includes all Extended features, plus a bundle the official page lists as:
  • Lifetime FASTPANEL updates
  • Installation on your server
  • Migration of up to 5 websites
  • A wildcard SSL certificate for 1 primary domain
  • 1 TB of backup storage for 1 year
  • A VPN server for 5 years
  • A server security and performance audit
  • FASTPANEL support for 1 year, and server support for 1 year (3 tickets per month)
Several of those items run for a fixed time (1 or 5 years), not for life. The "lifetime" part is the Extended features and updates.

Side by side
Code:
                                Standard  Extended      Lifetime Price                          Free      4.20 EUR/mo  399 EUR once All core hosting features      yes        yes          yes Unlimited domains and accounts  yes        yes          yes Node.js support                no        yes          yes Telegram / Slack alerts        no        yes          yes Prometheus monitoring          no        yes          yes Disk usage statistics          no        yes          yes Extended mail statistics        no        yes          yes White label                    no        yes          yes Setup, migration, audit bundle  no        no            yes

Good to know
  • Free doesn't mean open source. FASTPANEL's license agreement describes it as software owned by the vendor, licensed for use. The source code isn't public. If open source matters to you, that's a real difference from panels such as HestiaCP.
  • You still need a license on the free plan. It costs nothing, but the panel asks for it on first login, and it's tied to your email address.
  • Paid licenses are ordered for a server. The official site says you need the server's IP address when you order one.
  • Node.js without Extended: the built-in Node.js feature is Extended-only. We'll test what's possible on the free license in our guides.
  • Who makes it: FASTPANEL is a registered trademark of P.A.G.M. OU, a company based in Estonia.

Using Extended or Lifetime? Tell us below whether it was worth it for you. We stay neutral between panels here, so honest experiences in both directions are welcome.
JAY 11-15-2026, 04:25 PM Read thread
FASTPANEL Getting Started Guides

FASTPANEL System Requirements and Supported Operating Systems (2026)

FASTPANEL System Requirements and Supported Operating Systems (2026)

Update, 19 November 2026: the official FASTPANEL website and its license server are currently down (the billing site no longer resolves, and fastpanel.direct shows a "We are updating our website" page that also states new ownership and an open-source license). Until that is resolved, a new install can't be activated, and details on this page may change. We'll update this post when the official site is back.

Before you install FASTPANEL, check two things: that your server's operating system is on the supported list, and that the server is clean. This page collects what the official FASTPANEL site and knowledge base state, checked on 15 November 2026. We haven't installed it for this post. Our own tested install guide, with screenshots, follows in this section.

Supported operating systems
All 64-bit only:
  • Ubuntu: 18.04, 20.04, 22.04, 24.04
  • Debian: 9, 10, 11, 12
  • AlmaLinux: 8
  • Rocky Linux: 8
  • CentOS: 7
What this means in practice:
  • For a new server, pick Ubuntu 24.04 or Debian 12. They're the newest systems on the list and get security updates the longest.
  • AlmaLinux 9, Rocky Linux 9 and Debian 13 are not on the official list. Don't assume they work.
  • CentOS 7 and Ubuntu 18.04 are still listed, but those systems no longer get regular security updates. Avoid them for a new install.
  • The feature list also says ARM64 Ready, so ARM servers are supported as well as the usual Intel and AMD ones.

Minimum hardware
The official minimum is small:
Code:
RAM:        1 GB Disk:      5 GB free CPU:        1 core, 1 GHz
That is the minimum for the panel to install and run, not a recommendation for real websites. The official pages don't give a recommended size. Remember that the same server also runs the web server, PHP, the database and (if you use it) mail. From general experience with hosting panels, 2 GB of RAM is a more comfortable start for a few WordPress sites. We'll report real memory use from our own test server in the install guide.

The server must be clean
The official wording: the panel can only be installed on a clean operating system without any preinstalled software. So:
  • Use a fresh VPS or dedicated server, or reinstall the operating system first.
  • Don't install it on a server that already has a web server, a database, or another control panel (aaPanel, CyberPanel, HestiaCP and so on). The installer is expected to fail or leave a broken mix.
  • You need root access over SSH. Shared hosting accounts can't run it.

What you need besides the server
  • An email address. On first login the panel asks for a license. You enter your email and the free license is sent to it.
  • Port 8888 reachable. The panel runs on port 8888 (
    Code:
    https://YOUR-SERVER-IP:8888
    ). If your provider has a firewall in front of the server, open that port for yourself.
  • A domain pointed at the server, if you want to host a website with SSL straight away. The panel itself works on the IP address.

How installation works (short version)
From the official instructions for Debian and Ubuntu: update the system and reboot, then run the installer as root.
Code:
apt-get update && apt-get upgrade && apt-get install ca-certificates wget && reboot
After the reboot:
Code:
wget https://repo.fastpanel.direct/install_fastpanel.sh -O - | bash -
You can choose the MySQL version during installation. At the end the installer prints the panel address, the login (
Code:
fastuser
) and a generated password. Copy the password before you close the window.

We'll walk through every step, with timings and screenshots from a real Ubuntu 24.04 server, in the install guide.

Quick checklist
  • Ubuntu 24.04 or Debian 12, 64-bit, freshly installed
  • At least 1 GB RAM and 5 GB free disk (more for real sites)
  • Root SSH access
  • No other panel or web software on the server
  • An email address for the free license
  • Port 8888 open to you

Running FASTPANEL on a system that isn't on the list, or on a very small server? Tell us how it went below.
JAY 11-15-2026, 04:25 PM Read thread
CyberPanel Databases & phpMyAdmin Guides

Upgrade MariaDB 10.11 to 11.4 on CyberPanel: What We Ran and What Changed

Upgrade MariaDB 10.11 to 11.4 on CyberPanel: What We Ran and What Changed (Tested)

CyberPanel 3.0.8 installs MariaDB 10.11. If an app needs a newer version, or you want the current long-term release, you can upgrade MariaDB yourself. CyberPanel has no button for it. We upgraded a CyberPanel server (Ubuntu 24.04) from MariaDB 10.11.19 to 11.4.13 and checked the panel, the websites, mail and DNS afterwards. Everything kept working, but the upgrade silently threw away our tuned database settings, and one automatic step failed and had to be run by hand.

Before you start: this is a major-version upgrade of the database every site on the server uses. Take a snapshot of the VPS if your provider offers one, do it at a quiet time, and expect the databases to be offline for a short moment. Going back down to 10.11 afterwards is not a simple reinstall, which is why step 1 matters.

Step 1: Back up everything
Over SSH as root:
Code:
mkdir -p /root/mariadb-upgrade cp -a /etc/apt/sources.list.d/mariadb.sources /root/mariadb-upgrade/ cp -a /etc/mysql /root/mariadb-upgrade/etc-mysql mysqldump --all-databases --single-transaction --routines --events | gzip > /root/mariadb-upgrade/all-databases.sql.gz ls -lh /root/mariadb-upgrade/
The dump is a copy of every database in one file. Ours took a second, because our databases are small. Check that the file isn't empty before you go on. The copy of
Code:
/etc/mysql
is your config backup. You'll need it in step 5.

Step 2: Point the package source at 11.4
CyberPanel set up MariaDB's own package source, fixed to version 10.11. Check yours:
Code:
grep URIs /etc/apt/sources.list.d/mariadb.sources
Ours showed
Code:
.../mariadb-server/10.11/repo/ubuntu
. Change the version number in that line and refresh:
Code:
sed -i "s#/10.11/#/11.4/#" /etc/apt/sources.list.d/mariadb.sources apt-get update apt-cache policy mariadb-server
The last command should now show a Candidate starting with
Code:
1:11.4
. If it still says 10.11, stop here and check the file.

Step 3: Upgrade
Code:
DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold mariadb-server mariadb-client
The two
Code:
Dpkg::Options
tell the installer to keep your existing config files instead of stopping to ask. On our server this took 21 seconds. Then:
Code:
systemctl is-active mariadb mariadb -e "SELECT VERSION();"
Ours answered active and 11.4.13-MariaDB.

Step 4: Run mariadb-upgrade by hand
After a version jump, MariaDB has to check and update its internal tables. It tries this by itself at startup, and on our server that attempt failed. The log showed:
Code:
Access denied for user 'root'@'localhost' (using password: NO) FATAL ERROR: Upgrade failed
The automatic check logs in without a password, and on a CyberPanel server root has one. So run it yourself. As root it picks up the saved password:
Code:
mariadb-upgrade
It listed every table with OK and ended with
Code:
Phase 8/8: Running 'FLUSH PRIVILEGES'
and
Code:
OK
. That same failed line shows up again at every MariaDB start. Once you've run the upgrade by hand, it's noise.

Step 5: Check your settings (ours were gone)
We had used CyberPanel's Optimize MySQL tool before, which writes its settings into
Code:
/etc/mysql/my.cnf
. After the upgrade:
Code:
ls -la /etc/mysql/my.cnf /etc/mysql/my.cnf -> mariadb.cnf
The package had replaced our file with its standard link. The buffer pool was back at the default 128 MB (it had been 1228 MB), and the slow query log was off again. There was no warning.

We put our file back from the step 1 backup and restarted:
Code:
cp --remove-destination /root/mariadb-upgrade/etc-mysql/my.cnf /etc/mysql/my.cnf systemctl restart mariadb
MariaDB 11.4 started fine with the old settings file, and the values were back (buffer pool 1228 MB, slow query log on). If you never changed
Code:
/etc/mysql/my.cnf
, you have nothing to restore. Settings in
Code:
/etc/mysql/mariadb.conf.d/
were kept.

Step 6: Check the panel and your sites
What we tested after the upgrade, all working:
  • WordPress sites loaded, including the login page (which needs the database).
  • In CyberPanel: listing databases, creating a database and deleting it again.
  • phpMyAdmin opened from the panel and showed the new version:
       
  • Mail and DNS, which keep their accounts and records in MariaDB, still answered.

Good to know
  • The mysql command now prints a notice. On 11.4, every
    Code:
    mysql ...
    command adds the line mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead. It still works. In your own scripts, use
    Code:
    mariadb
    and
    Code:
    mariadb-dump
    instead.
  • Why 11.4: it's a long-term support release. We didn't test newer versions such as 11.8 or 12.x.
  • CyberPanel upgrades: we can't say yet how a later CyberPanel upgrade treats a server that's no longer on 10.11. After a panel upgrade, check
    Code:
    grep URIs /etc/apt/sources.list.d/mariadb.sources
    and the MariaDB version again.
  • If something is badly wrong: you have the full dump from step 1. Restoring it into a fresh MariaDB is the way back, and a VPS snapshot is the faster one.

Upgraded yours? Tell us your CyberPanel and MariaDB versions below, and whether anything else needed fixing.
JAY 11-14-2026, 06:03 PM Read thread
CyberPanel Websites & OpenLiteSpeed Guides

"Disk quota exceeded" on CyberPanel: Find Which Website Is Full and Fix It

"Disk quota exceeded" on CyberPanel: Find Which Website Is Full and Fix It (Tested)

Uploads fail, WordPress can't update, or a log shows Disk quota exceeded (sometimes with the number 122), although the server's disk has plenty of free space. That message doesn't mean the disk is full. It means one website's user has hit its own limit. We looked at how this works on a CyberPanel 3.0.8 server (Ubuntu 24.04), set a limit on a test site on purpose to produce the error, and removed it again.

Disk full or quota full?
Check the whole disk first:
Code:
df -h /
If that shows free space, the limit is per user. Every CyberPanel website has its own Linux user, and the system can cap how much each user may store. See everyone's usage and limits:
Code:
repquota -a
On our server (shortened):
Code:
                        Block limits User            used    soft    hard cyber2602 --  421304      0      0 cours5268 --  121984      0      0 cpcyb5923 --  121980      0      0
used is in kilobytes (421304 is about 411 MB). soft and hard are the limits, and 0 means no limit. To find which user belongs to a website:
Code:
stat -c %U /home/yourdomain.com/public_html

Something we didn't expect: our test sites were on the Default package, which says 1000 MB of disk space, but none of their users had a limit set in this list.
   
So on our server, the package's disk number was not what stops writes. If you see the quota error, look at
Code:
repquota
for the real limit instead of trusting the package page.

What the error looks like
We gave one test site's user a limit just above what it already used, then tried to write a 5 MB file as that user:
Code:
dd: error writing '/home/yourdomain.com/big.bin': Disk quota exceeded
Even a tiny text file failed:
Code:
write error: Disk quota exceeded
The user's own view shows a star next to the full value:
Code:
sudo -u SITEUSER quota -s     Filesystem  space  quota  limit       /dev/vda2    122M*  122M    122M
The site itself still answered normally (status 200), because serving pages only reads files. That's why this problem is easy to miss: the site looks fine until something has to write (an upload, an update, a cache file, a session).

Fix 1: Free up space
Find what's taking the room in that website's home folder:
Code:
du -h --max-depth=2 /home/yourdomain.com | sort -rh | head -15
Usual suspects are old backups inside public_html, cache folders and log files. Everything the site's user owns counts, not only public_html.

Fix 2: Raise or remove the limit
Set a new limit in kilobytes (soft, then hard), for example 5 GB:
Code:
setquota -u SITEUSER 5242880 5242880 0 0 /
Or remove the limit completely:
Code:
setquota -u SITEUSER 0 0 0 0 /
Check with
Code:
repquota -a | grep SITEUSER
. After we removed the limit, the same write worked again straight away. No restart is needed.

Good to know
  • Limits only work if the disk was set up for them. On our server the main disk was mounted with
    Code:
    usrquota
    (
    Code:
    mount | grep ' / '
    shows it). If
    Code:
    repquota -a
    gives an error instead of a table, quotas aren't active on your disk, and your error has another cause.
  • Email counts separately. Mailboxes are stored under
    Code:
    /home/vmail
    , not under the website's user.
  • Databases don't count toward the website user's quota either. They live in MariaDB's own folder.
  • For what CyberPanel packages do and don't enforce, see our guide on packages and website limits in this section.

Not sure how to read your numbers? Reply below with the line for your user from
Code:
repquota -a
.
JAY 11-14-2026, 05:59 PM Read thread
CyberPanel Websites & OpenLiteSpeed Guides

WebSockets on CyberPanel: The Extra Rewrite Rule Your Node.js App Needs

WebSockets on CyberPanel: The Extra Rewrite Rule Your Node.js App Needs (Tested)

Your Node.js app runs behind a CyberPanel website and normal pages load fine, but the live part (chat, notifications, socket.io) never connects. That's what happened in our test too: the usual proxy rule passes web pages but not WebSocket connections. One extra rule fixes it. We tested this on a CyberPanel 3.0.8 server with a small WebSocket app.

This guide continues our Node.js on CyberPanel guide. Set the app up with that one first.

Which web server: tested on LiteSpeed Enterprise only. OpenLiteSpeed handles WebSocket proxying with its own setting in the site's vHost Conf, not with this rule.

The problem
Our app listened on
Code:
127.0.0.1:3100
, and the website passed everything to it with the rule from the Node.js guide:
Code:
RewriteEngine On RewriteRule ^(.*)$ http://127.0.0.1:3100/$1 [P,L]
We then tested a WebSocket connection two ways:
Code:
ws://127.0.0.1:3100/chat        OPEN  (straight to the app, on the server) wss://yourdomain.com/chat      TIMEOUT (through the website)
The confusing part: the app's own log said WebSocket client connected for both. The request reached the app, but the answer never made it back to the visitor, so the browser side just waits and gives up.

The fix: one more rule
Open Websites → your site → Config → Rewrite Rules and use these four lines instead:
Code:
RewriteEngine On RewriteCond %{HTTP:Upgrade} websocket [NC] RewriteRule ^(.*)$ ws://127.0.0.1:3100/$1 [P,L] RewriteRule ^(.*)$ http://127.0.0.1:3100/$1 [P,L]
   
Lines 2 and 3 are new. A WebSocket connection starts as a normal request that asks to be "upgraded". Line 2 spots that request, and line 3 passes it on with
Code:
ws://
instead of
Code:
http://
, which tells LiteSpeed to keep the connection open in both directions. Everything else still goes through line 4.

Use
Code:
ws://
in the rule even though visitors connect with
Code:
wss://
. The website handles the encryption, and the hop to your app on the same server is plain.

Our result after the change
Code:
wss://yourdomain.com/chat OPEN   got: welcome   got: echo: ping 1   got: echo: ping after 3s
The connection opened, messages went both ways, and it was still alive when we sent another message three seconds later. Normal pages kept loading as before. It worked right after saving the rules.

Test your own app
You can test from the server with a few lines of Node.js (needs the
Code:
ws
package, see below). Save as
Code:
wstest.js
in your app folder:
Code:
const WebSocket = require('ws'); const ws = new WebSocket(process.argv[2]); setTimeout(() => { console.log('TIMEOUT'); process.exit(1); }, 8000); ws.on('open', () => { console.log('OPEN'); ws.send('hello'); }); ws.on('message', (m) => { console.log('got: ' + m); }); ws.on('error', (e) => { console.log('ERROR ' + e.message); process.exit(1); });
Run it against your domain:
Code:
node wstest.js wss://yourdomain.com/your-socket-path
OPEN within a second or two means the rule works. TIMEOUT means the WebSocket rule is missing or not matching.

Installing packages as the website's user
We installed the
Code:
ws
package as the website's own user, not as root, so the files belong to the right owner:
Code:
cd /home/yourdomain.com/nodeapp sudo -u SITEUSER npm install ws systemctl restart nodeapp
That worked on our server and created
Code:
node_modules
owned by the site user.

Good to know
  • socket.io: it uses the same kind of connection, usually under the path
    Code:
    /socket.io/
    . Our rule matches every path, so it's covered. We tested with a plain WebSocket app, not with socket.io itself.
  • Long idle connections: our test ran for a few seconds. If connections drop after a minute or two of silence, have your app send a small "ping" message regularly. Most WebSocket libraries have a setting for it.
  • Behind Cloudflare: WebSockets also have to be allowed there (they are by default). We tested without Cloudflare in front.

Still stuck? Reply below with the result of the test script and the last lines of
Code:
journalctl -u nodeapp
(hide your domain and server IP).
JAY 11-14-2026, 05:58 PM Read thread
CyberPanel Security Guides

Block Bad Bots, Probes and IPs on a CyberPanel Website With Rewrite Rules

Block Bad Bots, Probes and IPs on a CyberPanel Website With Rewrite Rules (Tested)

Aggressive crawlers and scanners can make up most of a small site's traffic: SEO bots that hit every page, and scripts that look for
Code:
.env
files and old backups. You can turn them away per website in CyberPanel with a few rewrite rules, no extra software needed. We added the rules below to a WordPress site on a CyberPanel 3.0.8 server and tested each one with real requests.

Which web server: our test server runs LiteSpeed Enterprise. The rules are ordinary rewrite rules, the kind OpenLiteSpeed also reads from this box, but we ran these exact tests on Enterprise only.

Step 1: See who is hitting your site
Each website has its own access log. Over SSH, list the most common visitors by their browser name (user agent):
Code:
L=/home/yourdomain.com/logs/yourdomain.com.access_log awk -F'"' '{print $6}' $L | sort | uniq -c | sort -rn | head
And the addresses that cause the most "not found" errors, a typical sign of a scanner:
Code:
awk '$9==404{print $1}' $L | sort | uniq -c | sort -rn | head
On our small test site, a single address had caused 1,713 not-found requests. That's the kind of visitor these rules are for.

Step 2: Add the rules
Open Websites → your site → Config → Rewrite Rules. Paste this block at the very top, above everything that's already there, and click Save Rewrite Rules:
Code:
### Block bad bots and probes RewriteEngine On RewriteCond %{HTTP_USER_AGENT} (AhrefsBot|SemrushBot|MJ12bot|DotBot) [NC] RewriteRule .* - [F,L] RewriteRule (^|/)\.(env|git) - [F,L] RewriteCond %{REMOTE_ADDR} ^203\.0\.113\.5$ RewriteRule .* - [F,L] ### End block
   
What each part does:
  • Lines 3 and 4 refuse any visitor whose user agent contains one of the names in the brackets. Add or remove names, separated by
    Code:
    |
    .
    Code:
    [NC]
    ignores upper and lower case.
  • Line 5 refuses any address that contains
    Code:
    /.env
    or
    Code:
    /.git
    , in any folder.
  • Lines 6 and 7 refuse one IP address. Replace
    Code:
    203.0.113.5
    with the address from your log, and keep the backslash before each dot. Delete these two lines if you don't need them.
  • Code:
    [F]
    means "forbidden": the visitor gets a 403 error and PHP never starts, so it costs your server almost nothing.
It worked for us right after saving, without restarting the web server.

Step 3: Test it
From any computer with curl, pretend to be a bot with
Code:
-A
. The command prints only the status code:
Code:
curl -s -o /dev/null -w "%{http_code}\n" -A "AhrefsBot" https://yourdomain.com/ curl -s -o /dev/null -w "%{http_code}\n" https://yourdomain.com/.env
Our results:
Code:
Normal browser                        200 AhrefsBot                            403 semrushbot (lower case)              403 Googlebot                            200 AhrefsBot on a page that was cached  403 /.env                                403 /.git/config                          403 /wp-content/.env                      403 MJ12bot asking for a CSS file        403 The blocked IP address                403
Two results worth pointing out. The bot was also refused on a page that LiteSpeed Cache had already stored (
Code:
x-litespeed-cache: hit
for normal visitors), so the cache doesn't let bots slip past. And Googlebot still got through, because it isn't in our list.

Be careful what you block
  • Don't block search engines you want. Never add Googlebot or bingbot. The names in our example are SEO-tool crawlers. Blocking them doesn't affect your Google ranking, but if you use Ahrefs or Semrush for your own site, leave that one out.
  • User agents can be faked. This stops bots that say who they are. A scanner that pretends to be Chrome passes rule one, which is what the IP rule and Fail2ban are for.
  • For many IPs, use the firewall instead. A rewrite rule per address gets messy. To block addresses for the whole server, see our CyberPanel firewall guide and our Fail2ban guide in this section.
  • The rules are per website. Add the block to each site that needs it.
  • WordPress and LiteSpeed Cache also write to this box. Keep your block at the top, outside their marked sections, so they don't overwrite it.

Not sure which names to block? Reply below with the top lines from the user agent command in step 1.
JAY 11-14-2026, 05:55 PM Read thread
CyberPanel Email Guides

CyberPanel Email Not Sending? Test Whether Your VPS Blocks Port 25

CyberPanel Email Not Sending? Test Whether Your VPS Blocks Port 25 (Tested)

Your mailboxes work, incoming mail arrives, but nothing you send ever reaches Gmail or Outlook. Before you change any CyberPanel setting, check one thing: many VPS providers block outgoing port 25 on new servers to stop spam. Mail servers talk to each other on port 25, so if it's blocked, no setting in the panel can fix it. The test takes ten seconds. We ran it on a CyberPanel 3.0.8 server (Ubuntu 24.04), and we also blocked the port ourselves for a moment to show what a blocked server looks like.

Step 1: The ten-second test
Over SSH, paste this. It tries to reach Gmail's mail server on port 25, and Gmail's sending ports 587 and 465:
Code:
for t in gmail-smtp-in.l.google.com:25 smtp.gmail.com:587 smtp.gmail.com:465; do   h=${t%:*}; p=${t#*:}   if timeout 8 bash -c "exec 3<>/dev/tcp/$h/$p" 2>/dev/null; then echo "$t OPEN"; else echo "$t BLOCKED or timeout"; fi done
On our server, where the provider allows mail:
Code:
gmail-smtp-in.l.google.com:25 OPEN smtp.gmail.com:587 OPEN smtp.gmail.com:465 OPEN
Then we blocked outgoing port 25 with a firewall rule, the same thing a provider does, and ran it again:
Code:
gmail-smtp-in.l.google.com:25 BLOCKED or timeout
It needs no extra tools. If the first line says BLOCKED on your server, your outgoing mail can't leave.

Want to see the other server answer? This prints its greeting:
Code:
timeout 8 bash -c "exec 3<>/dev/tcp/gmail-smtp-in.l.google.com/25; head -1 <&3"
Ours answered
Code:
220 mx.google.com ESMTP ...
. No answer within 8 seconds means blocked.

Step 2: What the mail queue and log show
When port 25 is blocked, mail doesn't bounce straight away. It waits in the queue and the server keeps retrying. Look at the queue:
Code:
mailq
And at the sending log. On our CyberPanel server there is no /var/log/mail.log. The mail log is in the system journal:
Code:
journalctl -t postfix/smtp -n 20 --no-pager
Lines ending in Connection timed out for every destination point to a blocked port. A line with
Code:
status=sent
means that message did leave.

One line that looks scary but isn't: we saw connect to ...[2606:...]:25: Network is unreachable in our log, followed by a normal delivery. That's just the server trying IPv6 first, finding it has none, and falling back to IPv4.

Step 3: If port 25 is blocked
  • Ask your provider to open it. Most have a form or ticket for this. Some open it after a few days or after identity checks, and some never do. Run the test again after they answer.
  • Or send through a relay on port 587. If port 587 shows OPEN in the test (it usually does), you can send your outgoing mail through an SMTP relay service instead of directly. Your server hands the mail to the relay on 587, and the relay delivers it. Incoming mail isn't affected either way.

If port 25 is open and mail still doesn't arrive
Then the cause is somewhere else:
  • It arrives, but in spam: check SPF, DKIM and DMARC. See our CyberPanel email setup guide.
  • It's stuck in the queue for another reason: see our mail queue guide in this section. The log line for the message tells you why.
  • Only mail from Outlook or a phone fails: that's about the mail app's settings (port 587 or 465 with your full email address as the username), not about port 25.

Not sure what your result means? Reply below with the three lines from the test (hide your server IP).
JAY 11-14-2026, 05:52 PM Read thread
CyberPanel PHP & LSPHP Guides

CyberPanel: Why php -v Shows a Different PHP Version Than Your Website

CyberPanel: Why php -v Shows a Different PHP Version Than Your Website (Tested)

You set your website to PHP 8.5 in CyberPanel, then run
Code:
php -v
over SSH and it says 8.3. Or Composer complains about the PHP version although the site runs fine. Nothing is broken: the
Code:
php
command in the terminal and the PHP your website uses are two separate things. We checked this on a CyberPanel 3.0.8 server (Ubuntu 24.04) and tested each way to run the right version.

What we saw
Our test site was set to PHP 8.5 in the panel. (Each site's version is shown under Websites → List Websites.)
   
A test page on the site reported 8.5.12. In the terminal:
Code:
php -v PHP 8.3.36 (cli)
The reason is one link:
Code:
ls -la /usr/bin/php /usr/bin/php -> /usr/local/lsws/lsphp83/bin/php
The terminal's
Code:
php
is a fixed shortcut to one version (8.3 on our server). Changing a website's PHP in the panel doesn't touch it.

Every version has its own command
CyberPanel installs each PHP version in its own folder. See which ones you have:
Code:
ls -d /usr/local/lsws/lsphp*/bin/php
On our server that listed 8.1 to 8.5. To run a specific version, use its full path:
Code:
/usr/local/lsws/lsphp85/bin/php -v /usr/local/lsws/lsphp85/bin/php yourscript.php
The number is the version without the dot:
Code:
lsphp85
is PHP 8.5,
Code:
lsphp82
is 8.2.

Composer with the right PHP
Put the PHP path in front of Composer:
Code:
/usr/local/lsws/lsphp85/bin/php /usr/bin/composer install
We checked with
Code:
composer diagnose
: it reported PHP version 8.5.12 (/usr/local/lsws/lsphp85/bin/php).

WP-CLI with the right PHP
Same idea:
Code:
/usr/local/lsws/lsphp85/bin/php /usr/local/bin/wp --path=/home/yourdomain.com/public_html cli info
This reported PHP 8.5.12. One thing that did not work for us: the
Code:
WP_CLI_PHP=...
variable you'll find in many tutorials. With it set, WP-CLI still used 8.3 on our server. Use the full path instead.

Cron jobs
Cron jobs use the terminal's
Code:
php
too. If a cron job must run with the site's version, write the full path in the cron line:
Code:
/usr/local/lsws/lsphp85/bin/php /home/yourdomain.com/public_html/cron.php
(See our cron jobs guide in the Websites section for where to add it.)

Change the default for the whole terminal
If all your sites use the same version, you can point the shortcut at it:
Code:
ln -sfn /usr/local/lsws/lsphp85/bin/php /usr/bin/php php -v
We tested it:
Code:
php -v
then said 8.5.12, and plain
Code:
wp
used 8.5.12 as well. To go back, run the same command with
Code:
lsphp83
. We put ours back afterwards, because we can't say whether a CyberPanel upgrade resets this link or expects a certain version there. If you change it, check
Code:
php -v
again after panel upgrades.

Good to know
  • Extensions are per version. An extension you installed for 8.3 isn't there in 8.5. Check with
    Code:
    /usr/local/lsws/lsphp85/bin/php -m
    . (See our PHP extensions guide in this section.)
  • Settings can differ too. Each version has its own php.ini, so memory limits in the terminal aren't always the ones your site has.
  • A warning on old versions. Running PHP 8.1 in the terminal printed Unable to load dynamic library 'timezonedb.so' on our server. It still worked. The warning comes from an extension line in that version's config.

Questions? Reply below with the output of
Code:
php -v
and
Code:
ls -la /usr/bin/php
.
JAY 11-14-2026, 05:52 PM Read thread