<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[AdminsForum - All Forums]]></title>
		<link>https://adminsforum.com/</link>
		<description><![CDATA[AdminsForum - https://adminsforum.com]]></description>
		<pubDate>Sun, 29 Nov 2026 04:15:31 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[How to update aaPanel NGINX and verify the running version after NGINX2Root]]></title>
			<link>https://adminsforum.com/Thread-guide-how-to-update-aapanel-nginx-and-verify-the-running-version-after-nginx2root</link>
			<pubDate>Tue, 24 Nov 2026 18:04:08 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=2">DEV</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-how-to-update-aapanel-nginx-and-verify-the-running-version-after-nginx2root</guid>
			<description><![CDATA[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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">1. Identify the web server that handles your sites</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">2. Back up and test before updating</span><br />
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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/www/server/nginx/sbin/nginx -t</code></div></div>Resolve configuration errors before continuing. Schedule the update when a brief interruption is acceptable.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">3. Update and follow the task</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">4. Verify the process, configuration and website</span><br />
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.<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><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</code></div></div>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.<br />
<br />
Upstream advisory: <a href="https://nginx.org/en/security_advisories.html" target="_blank" rel="noopener" class="mycode_url">https://nginx.org/en/security_advisories.html</a><br />
<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=733" target="_blank" title="">pasted-image-1795514430347-2.jpg</a> (Size: 7.67 KB / Downloads: 20)
<!-- end: postbit_attachments_attachment --><br />
<br />
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.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=734" target="_blank" title="">pasted-image-1795514640028-3.jpg</a> (Size: 29.83 KB / Downloads: 20)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">1. Identify the web server that handles your sites</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">2. Back up and test before updating</span><br />
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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/www/server/nginx/sbin/nginx -t</code></div></div>Resolve configuration errors before continuing. Schedule the update when a brief interruption is acceptable.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">3. Update and follow the task</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">4. Verify the process, configuration and website</span><br />
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.<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><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</code></div></div>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.<br />
<br />
Upstream advisory: <a href="https://nginx.org/en/security_advisories.html" target="_blank" rel="noopener" class="mycode_url">https://nginx.org/en/security_advisories.html</a><br />
<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=733" target="_blank" title="">pasted-image-1795514430347-2.jpg</a> (Size: 7.67 KB / Downloads: 20)
<!-- end: postbit_attachments_attachment --><br />
<br />
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.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=734" target="_blank" title="">pasted-image-1795514640028-3.jpg</a> (Size: 29.83 KB / Downloads: 20)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[FASTPANEL FAQ: Answers to the Most Common Questions Before You Install]]></title>
			<link>https://adminsforum.com/Thread-guide-fastpanel-faq-answers-to-the-most-common-questions-before-you-install</link>
			<pubDate>Mon, 16 Nov 2026 00:26:20 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-fastpanel-faq-answers-to-the-most-common-questions-before-you-install</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">FASTPANEL FAQ: Answers to the Most Common Questions Before You Install</span></span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Update, 19 November 2026:</span> 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.<br />
<br />
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.<br />
<br />
New to the panel? Start with <a href="https://adminsforum.com/Thread-guide-what-is-fastpanel-a-free-panel-for-sites-and-servers" target="_blank" rel="noopener" class="mycode_url">What is FASTPANEL?</a><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Cost and license</span></span><br />
<span style="font-weight: bold;" class="mycode_b">Is FASTPANEL really free?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Is there a limit on websites or domains?</span><br />
No. The official feature list says unlimited domains and accounts, on the free license too.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">What do the paid licenses add?</span><br />
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 <a href="https://adminsforum.com/Thread-guide-fastpanel-licenses-explained-standard-free-vs-extended-vs-lifetime" target="_blank" rel="noopener" class="mycode_url">FASTPANEL Licenses Explained</a>.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Is it open source?</span><br />
No. It's free to use, but the source code isn't public. The license agreement describes it as software owned by the vendor.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Do I need to register?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Who makes it?</span><br />
FASTPANEL is a registered trademark of P.A.G.M. OU, a company based in Estonia.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Server and installation</span></span><br />
<span style="font-weight: bold;" class="mycode_b">Which operating systems are supported?</span><br />
Ubuntu 18.04 to 24.04, Debian 9 to 12, AlmaLinux 8, Rocky Linux 8 and CentOS 7, all 64-bit. See <a href="https://adminsforum.com/Thread-guide-fastpanel-system-requirements-and-supported-operating-systems-2026" target="_blank" rel="noopener" class="mycode_url">FASTPANEL System Requirements</a> for which one to pick.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">How much RAM do I need?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can I install it on a server that already has websites?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can I install it next to another panel?</span><br />
No, for the same reason. One panel per server.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Does it work on ARM servers?</span><br />
The official feature list says ARM64 ready. We haven't tested it on ARM.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">How do I open the panel after installing?</span><br />
In a browser at <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8888</code></div></div>. The installer prints the login (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>fastuser</code></div></div>) and a generated password at the end.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">How long does installation take?</span><br />
The official pages don't say. We'll time it in our install guide.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Features</span></span><br />
<span style="font-weight: bold;" class="mycode_b">Which PHP versions does it offer?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Which databases?</span><br />
MySQL and PostgreSQL, with phpMyAdmin and phpPgAdmin. You can choose the MySQL version during installation.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Does it include email?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Does it include DNS?</span><br />
Yes. It can run its own DNS server (bind), and it can also manage DNS at some providers, such as DigitalOcean and Vultr.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Is free SSL included?</span><br />
Yes, Let's Encrypt certificates are part of the free license.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can it install WordPress for me?</span><br />
Yes, the feature list includes easy WordPress installation.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Where can backups go?</span><br />
Website backups to FTP, SFTP, Dropbox and Google Drive, and differential backups to FTP, SFTP and S3-compatible storage.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Does it have a firewall and security tools?</span><br />
Yes: a firewall (iptables) and a website vulnerability scanner are on the free feature list.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can I run Node.js apps?</span><br />
Built-in Node.js support is in the paid Extended license only.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Does it support Docker?</span><br />
Docker isn't on the official feature list.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can I give a client or developer access to just one site?</span><br />
Yes, the feature list includes website developer access.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Is there a command line?</span><br />
Yes. The list includes a command-line interface and a web terminal.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Compared with other panels</span></span><br />
<span style="font-weight: bold;" class="mycode_b">Is FASTPANEL better than aaPanel, CyberPanel or HestiaCP?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can I move sites from another panel to FASTPANEL?</span><br />
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.<br />
<br />
Have a question that isn't here? Ask below and we'll add it.]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">FASTPANEL FAQ: Answers to the Most Common Questions Before You Install</span></span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Update, 19 November 2026:</span> 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.<br />
<br />
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.<br />
<br />
New to the panel? Start with <a href="https://adminsforum.com/Thread-guide-what-is-fastpanel-a-free-panel-for-sites-and-servers" target="_blank" rel="noopener" class="mycode_url">What is FASTPANEL?</a><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Cost and license</span></span><br />
<span style="font-weight: bold;" class="mycode_b">Is FASTPANEL really free?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Is there a limit on websites or domains?</span><br />
No. The official feature list says unlimited domains and accounts, on the free license too.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">What do the paid licenses add?</span><br />
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 <a href="https://adminsforum.com/Thread-guide-fastpanel-licenses-explained-standard-free-vs-extended-vs-lifetime" target="_blank" rel="noopener" class="mycode_url">FASTPANEL Licenses Explained</a>.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Is it open source?</span><br />
No. It's free to use, but the source code isn't public. The license agreement describes it as software owned by the vendor.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Do I need to register?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Who makes it?</span><br />
FASTPANEL is a registered trademark of P.A.G.M. OU, a company based in Estonia.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Server and installation</span></span><br />
<span style="font-weight: bold;" class="mycode_b">Which operating systems are supported?</span><br />
Ubuntu 18.04 to 24.04, Debian 9 to 12, AlmaLinux 8, Rocky Linux 8 and CentOS 7, all 64-bit. See <a href="https://adminsforum.com/Thread-guide-fastpanel-system-requirements-and-supported-operating-systems-2026" target="_blank" rel="noopener" class="mycode_url">FASTPANEL System Requirements</a> for which one to pick.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">How much RAM do I need?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can I install it on a server that already has websites?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can I install it next to another panel?</span><br />
No, for the same reason. One panel per server.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Does it work on ARM servers?</span><br />
The official feature list says ARM64 ready. We haven't tested it on ARM.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">How do I open the panel after installing?</span><br />
In a browser at <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8888</code></div></div>. The installer prints the login (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>fastuser</code></div></div>) and a generated password at the end.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">How long does installation take?</span><br />
The official pages don't say. We'll time it in our install guide.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Features</span></span><br />
<span style="font-weight: bold;" class="mycode_b">Which PHP versions does it offer?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Which databases?</span><br />
MySQL and PostgreSQL, with phpMyAdmin and phpPgAdmin. You can choose the MySQL version during installation.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Does it include email?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Does it include DNS?</span><br />
Yes. It can run its own DNS server (bind), and it can also manage DNS at some providers, such as DigitalOcean and Vultr.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Is free SSL included?</span><br />
Yes, Let's Encrypt certificates are part of the free license.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can it install WordPress for me?</span><br />
Yes, the feature list includes easy WordPress installation.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Where can backups go?</span><br />
Website backups to FTP, SFTP, Dropbox and Google Drive, and differential backups to FTP, SFTP and S3-compatible storage.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Does it have a firewall and security tools?</span><br />
Yes: a firewall (iptables) and a website vulnerability scanner are on the free feature list.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can I run Node.js apps?</span><br />
Built-in Node.js support is in the paid Extended license only.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Does it support Docker?</span><br />
Docker isn't on the official feature list.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can I give a client or developer access to just one site?</span><br />
Yes, the feature list includes website developer access.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Is there a command line?</span><br />
Yes. The list includes a command-line interface and a web terminal.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Compared with other panels</span></span><br />
<span style="font-weight: bold;" class="mycode_b">Is FASTPANEL better than aaPanel, CyberPanel or HestiaCP?</span><br />
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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Can I move sites from another panel to FASTPANEL?</span><br />
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.<br />
<br />
Have a question that isn't here? Ask below and we'll add it.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[FASTPANEL Licenses Explained: Standard (Free) vs Extended vs Lifetime]]></title>
			<link>https://adminsforum.com/Thread-guide-fastpanel-licenses-explained-standard-free-vs-extended-vs-lifetime</link>
			<pubDate>Mon, 16 Nov 2026 00:25:46 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-fastpanel-licenses-explained-standard-free-vs-extended-vs-lifetime</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">FASTPANEL Licenses Explained: Standard (Free) vs Extended vs Lifetime</span></span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Update, 19 November 2026:</span> 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.<br />
<br />
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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The short answer</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Standard</span> is free forever and includes all the core hosting features. Most people never need more.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Extended</span> is a paid subscription that adds monitoring, alerts, Node.js support and branding.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Lifetime Membership</span> is a one-time payment that includes Extended plus a bundle of services.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Standard: free</span></span><br />
Price: <span style="font-weight: bold;" class="mycode_b">free, forever</span>. 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.<br />
<br />
You get it by entering your email address when you first log in to the panel. The license is sent to that email.<br />
<br />
What the official feature table lists for Standard:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Websites:</span> quick site creation, easy WordPress installation, a request limit per website, developer access to a single site<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">PHP:</span> PHP 5.3 to 8.5 (which versions you get depends on your operating system), with flexible PHP settings<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Databases:</span> MySQL and PostgreSQL, database settings, phpMyAdmin and phpPgAdmin<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">SSL:</span> certificates including free Let's Encrypt<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Email:</span> mailboxes, Roundcube webmail, delivery reports and blacklist tools<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">DNS:</span> your own DNS server (bind), plus DNS management at providers such as DigitalOcean and Vultr<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Files and access:</span> file manager, FTP and SFTP accounts, web terminal, disk quotas<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Backups:</span> website backups to FTP, SFTP, Dropbox and Google Drive, and differential backups to FTP, SFTP and S3<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Security and server:</span> firewall (iptables), website vulnerability scanner, cron jobs, log tools, resource usage statistics<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Other:</span> automatic updates, a command-line interface, multi-language interface, ARM64 support<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Extended: paid subscription</span></span><br />
Price on the official site: <span style="font-weight: bold;" class="mycode_b">4.20 EUR per month</span> or <span style="font-weight: bold;" class="mycode_b">46.20 EUR per year</span>, per license.<br />
<br />
Extended includes everything in Standard, plus six features that Standard doesn't have:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Built-in Node.js support</span> for running Node.js apps<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Server notifications</span> through Telegram and Slack (CPU, memory, disk and load alerts)<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Server monitoring</span> with Prometheus, including a metrics exporter<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Disk usage statistics</span> for the folders of website users<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Extended outgoing mail statistics</span>, with error codes and suggested fixes<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">White label:</span> your own branding on the panel<br />
</li>
</ul>
The knowledge base also lists one paid support request per month per license.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Who it's for:</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Lifetime Membership: one-time payment</span></span><br />
Price on the official site: <span style="font-weight: bold;" class="mycode_b">399 EUR</span>, paid once. The page marks it with "Terms apply" without showing those terms, so read them before buying.<br />
<br />
It includes all Extended features, plus a bundle the official page lists as:<ul class="mycode_list"><li>Lifetime FASTPANEL updates<br />
</li>
<li>Installation on your server<br />
</li>
<li>Migration of up to 5 websites<br />
</li>
<li>A wildcard SSL certificate for 1 primary domain<br />
</li>
<li>1 TB of backup storage for 1 year<br />
</li>
<li>A VPN server for 5 years<br />
</li>
<li>A server security and performance audit<br />
</li>
<li>FASTPANEL support for 1 year, and server support for 1 year (3 tickets per month)<br />
</li>
</ul>
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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Side by side</span></span><br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><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</code></div></div><br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Free doesn't mean open source.</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">You still need a license on the free plan.</span> It costs nothing, but the panel asks for it on first login, and it's tied to your email address.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Paid licenses are ordered for a server.</span> The official site says you need the server's IP address when you order one.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Node.js without Extended:</span> the built-in Node.js feature is Extended-only. We'll test what's possible on the free license in our guides.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Who makes it:</span> FASTPANEL is a registered trademark of P.A.G.M. OU, a company based in Estonia.<br />
</li>
</ul>
<br />
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.]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">FASTPANEL Licenses Explained: Standard (Free) vs Extended vs Lifetime</span></span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Update, 19 November 2026:</span> 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.<br />
<br />
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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The short answer</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Standard</span> is free forever and includes all the core hosting features. Most people never need more.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Extended</span> is a paid subscription that adds monitoring, alerts, Node.js support and branding.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Lifetime Membership</span> is a one-time payment that includes Extended plus a bundle of services.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Standard: free</span></span><br />
Price: <span style="font-weight: bold;" class="mycode_b">free, forever</span>. 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.<br />
<br />
You get it by entering your email address when you first log in to the panel. The license is sent to that email.<br />
<br />
What the official feature table lists for Standard:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Websites:</span> quick site creation, easy WordPress installation, a request limit per website, developer access to a single site<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">PHP:</span> PHP 5.3 to 8.5 (which versions you get depends on your operating system), with flexible PHP settings<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Databases:</span> MySQL and PostgreSQL, database settings, phpMyAdmin and phpPgAdmin<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">SSL:</span> certificates including free Let's Encrypt<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Email:</span> mailboxes, Roundcube webmail, delivery reports and blacklist tools<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">DNS:</span> your own DNS server (bind), plus DNS management at providers such as DigitalOcean and Vultr<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Files and access:</span> file manager, FTP and SFTP accounts, web terminal, disk quotas<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Backups:</span> website backups to FTP, SFTP, Dropbox and Google Drive, and differential backups to FTP, SFTP and S3<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Security and server:</span> firewall (iptables), website vulnerability scanner, cron jobs, log tools, resource usage statistics<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Other:</span> automatic updates, a command-line interface, multi-language interface, ARM64 support<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Extended: paid subscription</span></span><br />
Price on the official site: <span style="font-weight: bold;" class="mycode_b">4.20 EUR per month</span> or <span style="font-weight: bold;" class="mycode_b">46.20 EUR per year</span>, per license.<br />
<br />
Extended includes everything in Standard, plus six features that Standard doesn't have:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Built-in Node.js support</span> for running Node.js apps<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Server notifications</span> through Telegram and Slack (CPU, memory, disk and load alerts)<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Server monitoring</span> with Prometheus, including a metrics exporter<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Disk usage statistics</span> for the folders of website users<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Extended outgoing mail statistics</span>, with error codes and suggested fixes<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">White label:</span> your own branding on the panel<br />
</li>
</ul>
The knowledge base also lists one paid support request per month per license.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Who it's for:</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Lifetime Membership: one-time payment</span></span><br />
Price on the official site: <span style="font-weight: bold;" class="mycode_b">399 EUR</span>, paid once. The page marks it with "Terms apply" without showing those terms, so read them before buying.<br />
<br />
It includes all Extended features, plus a bundle the official page lists as:<ul class="mycode_list"><li>Lifetime FASTPANEL updates<br />
</li>
<li>Installation on your server<br />
</li>
<li>Migration of up to 5 websites<br />
</li>
<li>A wildcard SSL certificate for 1 primary domain<br />
</li>
<li>1 TB of backup storage for 1 year<br />
</li>
<li>A VPN server for 5 years<br />
</li>
<li>A server security and performance audit<br />
</li>
<li>FASTPANEL support for 1 year, and server support for 1 year (3 tickets per month)<br />
</li>
</ul>
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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Side by side</span></span><br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><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</code></div></div><br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Free doesn't mean open source.</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">You still need a license on the free plan.</span> It costs nothing, but the panel asks for it on first login, and it's tied to your email address.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Paid licenses are ordered for a server.</span> The official site says you need the server's IP address when you order one.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Node.js without Extended:</span> the built-in Node.js feature is Extended-only. We'll test what's possible on the free license in our guides.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Who makes it:</span> FASTPANEL is a registered trademark of P.A.G.M. OU, a company based in Estonia.<br />
</li>
</ul>
<br />
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.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[FASTPANEL System Requirements and Supported Operating Systems (2026)]]></title>
			<link>https://adminsforum.com/Thread-guide-fastpanel-system-requirements-and-supported-operating-systems-2026</link>
			<pubDate>Mon, 16 Nov 2026 00:25:09 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-fastpanel-system-requirements-and-supported-operating-systems-2026</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">FASTPANEL System Requirements and Supported Operating Systems (2026)</span></span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Update, 19 November 2026:</span> 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.<br />
<br />
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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Supported operating systems</span></span><br />
All 64-bit only:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Ubuntu:</span> 18.04, 20.04, 22.04, 24.04<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Debian:</span> 9, 10, 11, 12<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">AlmaLinux:</span> 8<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Rocky Linux:</span> 8<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">CentOS:</span> 7<br />
</li>
</ul>
What this means in practice:<ul class="mycode_list"><li>For a new server, pick <span style="font-weight: bold;" class="mycode_b">Ubuntu 24.04</span> or <span style="font-weight: bold;" class="mycode_b">Debian 12</span>. They're the newest systems on the list and get security updates the longest.<br />
</li>
<li>AlmaLinux 9, Rocky Linux 9 and Debian 13 are <span style="font-weight: bold;" class="mycode_b">not</span> on the official list. Don't assume they work.<br />
</li>
<li>CentOS 7 and Ubuntu 18.04 are still listed, but those systems no longer get regular security updates. Avoid them for a new install.<br />
</li>
<li>The feature list also says <span style="font-weight: bold;" class="mycode_b">ARM64 Ready</span>, so ARM servers are supported as well as the usual Intel and AMD ones.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Minimum hardware</span></span><br />
The official minimum is small:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RAM:        1 GB
Disk:       5 GB free
CPU:        1 core, 1 GHz</code></div></div>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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The server must be clean</span></span><br />
The official wording: <span style="font-style: italic;" class="mycode_i">the panel can only be installed on a clean operating system without any preinstalled software.</span> So:<ul class="mycode_list"><li>Use a fresh VPS or dedicated server, or reinstall the operating system first.<br />
</li>
<li>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.<br />
</li>
<li>You need <span style="font-weight: bold;" class="mycode_b">root access</span> over SSH. Shared hosting accounts can't run it.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What you need besides the server</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">An email address.</span> On first login the panel asks for a license. You enter your email and the free license is sent to it.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Port 8888 reachable.</span> The panel runs on port 8888 (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8888</code></div></div>). If your provider has a firewall in front of the server, open that port for yourself.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">A domain</span> pointed at the server, if you want to host a website with SSL straight away. The panel itself works on the IP address.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">How installation works (short version)</span></span><br />
From the official instructions for Debian and Ubuntu: update the system and reboot, then run the installer as root.<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>apt-get update &amp;&amp; apt-get upgrade &amp;&amp; apt-get install ca-certificates wget &amp;&amp; reboot</code></div></div>After the reboot:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>wget https://repo.fastpanel.direct/install_fastpanel.sh -O - | bash -</code></div></div>You can choose the MySQL version during installation. At the end the installer prints the panel address, the login (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>fastuser</code></div></div>) and a generated password. Copy the password before you close the window.<br />
<br />
We'll walk through every step, with timings and screenshots from a real Ubuntu 24.04 server, in the install guide.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Quick checklist</span></span><ul class="mycode_list"><li>Ubuntu 24.04 or Debian 12, 64-bit, freshly installed<br />
</li>
<li>At least 1 GB RAM and 5 GB free disk (more for real sites)<br />
</li>
<li>Root SSH access<br />
</li>
<li>No other panel or web software on the server<br />
</li>
<li>An email address for the free license<br />
</li>
<li>Port 8888 open to you<br />
</li>
</ul>
<br />
Running FASTPANEL on a system that isn't on the list, or on a very small server? Tell us how it went below.]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">FASTPANEL System Requirements and Supported Operating Systems (2026)</span></span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Update, 19 November 2026:</span> 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.<br />
<br />
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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Supported operating systems</span></span><br />
All 64-bit only:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Ubuntu:</span> 18.04, 20.04, 22.04, 24.04<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Debian:</span> 9, 10, 11, 12<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">AlmaLinux:</span> 8<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Rocky Linux:</span> 8<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">CentOS:</span> 7<br />
</li>
</ul>
What this means in practice:<ul class="mycode_list"><li>For a new server, pick <span style="font-weight: bold;" class="mycode_b">Ubuntu 24.04</span> or <span style="font-weight: bold;" class="mycode_b">Debian 12</span>. They're the newest systems on the list and get security updates the longest.<br />
</li>
<li>AlmaLinux 9, Rocky Linux 9 and Debian 13 are <span style="font-weight: bold;" class="mycode_b">not</span> on the official list. Don't assume they work.<br />
</li>
<li>CentOS 7 and Ubuntu 18.04 are still listed, but those systems no longer get regular security updates. Avoid them for a new install.<br />
</li>
<li>The feature list also says <span style="font-weight: bold;" class="mycode_b">ARM64 Ready</span>, so ARM servers are supported as well as the usual Intel and AMD ones.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Minimum hardware</span></span><br />
The official minimum is small:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RAM:        1 GB
Disk:       5 GB free
CPU:        1 core, 1 GHz</code></div></div>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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The server must be clean</span></span><br />
The official wording: <span style="font-style: italic;" class="mycode_i">the panel can only be installed on a clean operating system without any preinstalled software.</span> So:<ul class="mycode_list"><li>Use a fresh VPS or dedicated server, or reinstall the operating system first.<br />
</li>
<li>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.<br />
</li>
<li>You need <span style="font-weight: bold;" class="mycode_b">root access</span> over SSH. Shared hosting accounts can't run it.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What you need besides the server</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">An email address.</span> On first login the panel asks for a license. You enter your email and the free license is sent to it.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Port 8888 reachable.</span> The panel runs on port 8888 (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8888</code></div></div>). If your provider has a firewall in front of the server, open that port for yourself.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">A domain</span> pointed at the server, if you want to host a website with SSL straight away. The panel itself works on the IP address.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">How installation works (short version)</span></span><br />
From the official instructions for Debian and Ubuntu: update the system and reboot, then run the installer as root.<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>apt-get update &amp;&amp; apt-get upgrade &amp;&amp; apt-get install ca-certificates wget &amp;&amp; reboot</code></div></div>After the reboot:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>wget https://repo.fastpanel.direct/install_fastpanel.sh -O - | bash -</code></div></div>You can choose the MySQL version during installation. At the end the installer prints the panel address, the login (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>fastuser</code></div></div>) and a generated password. Copy the password before you close the window.<br />
<br />
We'll walk through every step, with timings and screenshots from a real Ubuntu 24.04 server, in the install guide.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Quick checklist</span></span><ul class="mycode_list"><li>Ubuntu 24.04 or Debian 12, 64-bit, freshly installed<br />
</li>
<li>At least 1 GB RAM and 5 GB free disk (more for real sites)<br />
</li>
<li>Root SSH access<br />
</li>
<li>No other panel or web software on the server<br />
</li>
<li>An email address for the free license<br />
</li>
<li>Port 8888 open to you<br />
</li>
</ul>
<br />
Running FASTPANEL on a system that isn't on the list, or on a very small server? Tell us how it went below.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Upgrade MariaDB 10.11 to 11.4 on CyberPanel: What We Ran and What Changed]]></title>
			<link>https://adminsforum.com/Thread-guide-upgrade-mariadb-10-11-to-11-4-on-cyberpanel-what-we-ran-and-what-changed</link>
			<pubDate>Sun, 15 Nov 2026 02:03:45 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-upgrade-mariadb-10-11-to-11-4-on-cyberpanel-what-we-ran-and-what-changed</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Upgrade MariaDB 10.11 to 11.4 on CyberPanel: What We Ran and What Changed (Tested)</span></span><br />
<br />
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 <span style="font-weight: bold;" class="mycode_b">silently threw away our tuned database settings</span>, and one automatic step failed and had to be run by hand.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Before you start:</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Back up everything</span></span><br />
Over SSH as root:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><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 &gt; /root/mariadb-upgrade/all-databases.sql.gz
ls -lh /root/mariadb-upgrade/</code></div></div>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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/mysql</code></div></div> is your config backup. You'll need it in step 5.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Point the package source at 11.4</span></span><br />
CyberPanel set up MariaDB's own package source, fixed to version 10.11. Check yours:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>grep URIs /etc/apt/sources.list.d/mariadb.sources</code></div></div>Ours showed <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>.../mariadb-server/10.11/repo/ubuntu</code></div></div>. Change the version number in that line and refresh:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>sed -i "s#/10.11/#/11.4/#" /etc/apt/sources.list.d/mariadb.sources
apt-get update
apt-cache policy mariadb-server</code></div></div>The last command should now show a <span style="font-weight: bold;" class="mycode_b">Candidate</span> starting with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>1:11.4</code></div></div>. If it still says 10.11, stop here and check the file.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Upgrade</span></span><br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold mariadb-server mariadb-client</code></div></div>The two <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Dpkg::Options</code></div></div> tell the installer to keep your existing config files instead of stopping to ask. On our server this took 21 seconds. Then:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>systemctl is-active mariadb
mariadb -e "SELECT VERSION();"</code></div></div>Ours answered <span style="font-weight: bold;" class="mycode_b">active</span> and <span style="font-weight: bold;" class="mycode_b">11.4.13-MariaDB</span>.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Run mariadb-upgrade by hand</span></span><br />
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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Access denied for user 'root'@'localhost' (using password: NO)
FATAL ERROR: Upgrade failed</code></div></div>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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mariadb-upgrade</code></div></div>It listed every table with <span style="font-weight: bold;" class="mycode_b">OK</span> and ended with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Phase 8/8: Running 'FLUSH PRIVILEGES'</code></div></div> and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>OK</code></div></div>. That same failed line shows up again at every MariaDB start. Once you've run the upgrade by hand, it's noise.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 5: Check your settings (ours were gone)</span></span><br />
We had used CyberPanel's <span style="font-weight: bold;" class="mycode_b">Optimize MySQL</span> tool before, which writes its settings into <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/mysql/my.cnf</code></div></div>. After the upgrade:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ls -la /etc/mysql/my.cnf
/etc/mysql/my.cnf -&gt; mariadb.cnf</code></div></div>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.<br />
<br />
We put our file back from the step 1 backup and restarted:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cp --remove-destination /root/mariadb-upgrade/etc-mysql/my.cnf /etc/mysql/my.cnf
systemctl restart mariadb</code></div></div>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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/mysql/my.cnf</code></div></div>, you have nothing to restore. Settings in <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/mysql/mariadb.conf.d/</code></div></div> were kept.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 6: Check the panel and your sites</span></span><br />
What we tested after the upgrade, all working:<ul class="mycode_list"><li>WordPress sites loaded, including the login page (which needs the database).<br />
</li>
<li>In CyberPanel: listing databases, creating a database and deleting it again.<br />
</li>
<li>phpMyAdmin opened from the panel and showed the new version:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=730" target="_blank" title="">cyberpanel-phpmyadmin-mariadb-11-4-after-upgrade.jpg</a> (Size: 167.44 KB / Downloads: 49)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Mail and DNS, which keep their accounts and records in MariaDB, still answered.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">The mysql command now prints a notice.</span> On 11.4, every <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mysql ...</code></div></div> command adds the line <span style="font-style: italic;" class="mycode_i">mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead</span>. It still works. In your own scripts, use <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mariadb</code></div></div> and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mariadb-dump</code></div></div> instead.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Why 11.4:</span> it's a long-term support release. We didn't test newer versions such as 11.8 or 12.x.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">CyberPanel upgrades:</span> 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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>grep URIs /etc/apt/sources.list.d/mariadb.sources</code></div></div> and the MariaDB version again.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">If something is badly wrong:</span> 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.<br />
</li>
</ul>
<br />
Upgraded yours? Tell us your CyberPanel and MariaDB versions below, and whether anything else needed fixing.]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Upgrade MariaDB 10.11 to 11.4 on CyberPanel: What We Ran and What Changed (Tested)</span></span><br />
<br />
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 <span style="font-weight: bold;" class="mycode_b">silently threw away our tuned database settings</span>, and one automatic step failed and had to be run by hand.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Before you start:</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Back up everything</span></span><br />
Over SSH as root:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><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 &gt; /root/mariadb-upgrade/all-databases.sql.gz
ls -lh /root/mariadb-upgrade/</code></div></div>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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/mysql</code></div></div> is your config backup. You'll need it in step 5.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Point the package source at 11.4</span></span><br />
CyberPanel set up MariaDB's own package source, fixed to version 10.11. Check yours:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>grep URIs /etc/apt/sources.list.d/mariadb.sources</code></div></div>Ours showed <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>.../mariadb-server/10.11/repo/ubuntu</code></div></div>. Change the version number in that line and refresh:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>sed -i "s#/10.11/#/11.4/#" /etc/apt/sources.list.d/mariadb.sources
apt-get update
apt-cache policy mariadb-server</code></div></div>The last command should now show a <span style="font-weight: bold;" class="mycode_b">Candidate</span> starting with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>1:11.4</code></div></div>. If it still says 10.11, stop here and check the file.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Upgrade</span></span><br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold mariadb-server mariadb-client</code></div></div>The two <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Dpkg::Options</code></div></div> tell the installer to keep your existing config files instead of stopping to ask. On our server this took 21 seconds. Then:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>systemctl is-active mariadb
mariadb -e "SELECT VERSION();"</code></div></div>Ours answered <span style="font-weight: bold;" class="mycode_b">active</span> and <span style="font-weight: bold;" class="mycode_b">11.4.13-MariaDB</span>.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Run mariadb-upgrade by hand</span></span><br />
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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Access denied for user 'root'@'localhost' (using password: NO)
FATAL ERROR: Upgrade failed</code></div></div>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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mariadb-upgrade</code></div></div>It listed every table with <span style="font-weight: bold;" class="mycode_b">OK</span> and ended with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Phase 8/8: Running 'FLUSH PRIVILEGES'</code></div></div> and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>OK</code></div></div>. That same failed line shows up again at every MariaDB start. Once you've run the upgrade by hand, it's noise.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 5: Check your settings (ours were gone)</span></span><br />
We had used CyberPanel's <span style="font-weight: bold;" class="mycode_b">Optimize MySQL</span> tool before, which writes its settings into <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/mysql/my.cnf</code></div></div>. After the upgrade:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ls -la /etc/mysql/my.cnf
/etc/mysql/my.cnf -&gt; mariadb.cnf</code></div></div>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.<br />
<br />
We put our file back from the step 1 backup and restarted:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cp --remove-destination /root/mariadb-upgrade/etc-mysql/my.cnf /etc/mysql/my.cnf
systemctl restart mariadb</code></div></div>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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/mysql/my.cnf</code></div></div>, you have nothing to restore. Settings in <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/mysql/mariadb.conf.d/</code></div></div> were kept.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 6: Check the panel and your sites</span></span><br />
What we tested after the upgrade, all working:<ul class="mycode_list"><li>WordPress sites loaded, including the login page (which needs the database).<br />
</li>
<li>In CyberPanel: listing databases, creating a database and deleting it again.<br />
</li>
<li>phpMyAdmin opened from the panel and showed the new version:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=730" target="_blank" title="">cyberpanel-phpmyadmin-mariadb-11-4-after-upgrade.jpg</a> (Size: 167.44 KB / Downloads: 49)
<!-- end: postbit_attachments_attachment --><br />
</li>
<li>Mail and DNS, which keep their accounts and records in MariaDB, still answered.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">The mysql command now prints a notice.</span> On 11.4, every <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mysql ...</code></div></div> command adds the line <span style="font-style: italic;" class="mycode_i">mysql: Deprecated program name. It will be removed in a future release, use '/usr/bin/mariadb' instead</span>. It still works. In your own scripts, use <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mariadb</code></div></div> and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mariadb-dump</code></div></div> instead.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Why 11.4:</span> it's a long-term support release. We didn't test newer versions such as 11.8 or 12.x.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">CyberPanel upgrades:</span> 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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>grep URIs /etc/apt/sources.list.d/mariadb.sources</code></div></div> and the MariaDB version again.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">If something is badly wrong:</span> 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.<br />
</li>
</ul>
<br />
Upgraded yours? Tell us your CyberPanel and MariaDB versions below, and whether anything else needed fixing.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA["Disk quota exceeded" on CyberPanel: Find Which Website Is Full and Fix It]]></title>
			<link>https://adminsforum.com/Thread-guide-disk-quota-exceeded-on-cyberpanel-find-which-website-is-full-and-fix-it</link>
			<pubDate>Sun, 15 Nov 2026 01:59:47 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-disk-quota-exceeded-on-cyberpanel-find-which-website-is-full-and-fix-it</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">"Disk quota exceeded" on CyberPanel: Find Which Website Is Full and Fix It (Tested)</span></span><br />
<br />
Uploads fail, WordPress can't update, or a log shows <span style="font-style: italic;" class="mycode_i">Disk quota exceeded</span> (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 <span style="font-weight: bold;" class="mycode_b">one website's user has hit its own limit</span>. 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Disk full or quota full?</span></span><br />
Check the whole disk first:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>df -h /</code></div></div>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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>repquota -a</code></div></div>On our server (shortened):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>                        Block limits
User            used    soft    hard
cyber2602 --  421304       0       0
cours5268 --  121984       0       0
cpcyb5923 --  121980       0       0</code></div></div><span style="font-weight: bold;" class="mycode_b">used</span> is in kilobytes (421304 is about 411 MB). <span style="font-weight: bold;" class="mycode_b">soft</span> and <span style="font-weight: bold;" class="mycode_b">hard</span> are the limits, and <span style="font-weight: bold;" class="mycode_b">0 means no limit</span>. To find which user belongs to a website:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>stat -c %U /home/yourdomain.com/public_html</code></div></div><br />
Something we didn't expect: our test sites were on the <span style="font-weight: bold;" class="mycode_b">Default</span> package, which says 1000 MB of disk space, but none of their users had a limit set in this list.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=729" target="_blank" title="">cyberpanel-list-packages-disk-space.jpg</a> (Size: 110.57 KB / Downloads: 43)
<!-- end: postbit_attachments_attachment --><br />
So on our server, the package's disk number was not what stops writes. If you see the quota error, look at <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>repquota</code></div></div> for the real limit instead of trusting the package page.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What the error looks like</span></span><br />
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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>dd: error writing '/home/yourdomain.com/big.bin': Disk quota exceeded</code></div></div>Even a tiny text file failed:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>write error: Disk quota exceeded</code></div></div>The user's own view shows a star next to the full value:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>sudo -u SITEUSER quota -s
     Filesystem   space   quota   limit
      /dev/vda2    122M*   122M    122M</code></div></div>The site itself still answered normally (status 200), because serving pages only <span style="font-weight: bold;" class="mycode_b">reads</span> files. That's why this problem is easy to miss: the site looks fine until something has to <span style="font-weight: bold;" class="mycode_b">write</span> (an upload, an update, a cache file, a session).<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Fix 1: Free up space</span></span><br />
Find what's taking the room in that website's home folder:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>du -h --max-depth=2 /home/yourdomain.com | sort -rh | head -15</code></div></div>Usual suspects are old backups inside public_html, cache folders and log files. Everything the site's user owns counts, not only public_html.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Fix 2: Raise or remove the limit</span></span><br />
Set a new limit in kilobytes (soft, then hard), for example 5 GB:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>setquota -u SITEUSER 5242880 5242880 0 0 /</code></div></div>Or remove the limit completely:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>setquota -u SITEUSER 0 0 0 0 /</code></div></div>Check with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>repquota -a | grep SITEUSER</code></div></div>. After we removed the limit, the same write worked again straight away. No restart is needed.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Limits only work if the disk was set up for them.</span> On our server the main disk was mounted with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>usrquota</code></div></div> (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mount | grep ' / '</code></div></div> shows it). If <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>repquota -a</code></div></div> gives an error instead of a table, quotas aren't active on your disk, and your error has another cause.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Email counts separately.</span> Mailboxes are stored under <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/home/vmail</code></div></div>, not under the website's user.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Databases don't count</span> toward the website user's quota either. They live in MariaDB's own folder.<br />
</li>
<li>For what CyberPanel packages do and don't enforce, see our guide on packages and website limits in this section.<br />
</li>
</ul>
<br />
Not sure how to read your numbers? Reply below with the line for your user from <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>repquota -a</code></div></div>.]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">"Disk quota exceeded" on CyberPanel: Find Which Website Is Full and Fix It (Tested)</span></span><br />
<br />
Uploads fail, WordPress can't update, or a log shows <span style="font-style: italic;" class="mycode_i">Disk quota exceeded</span> (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 <span style="font-weight: bold;" class="mycode_b">one website's user has hit its own limit</span>. 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Disk full or quota full?</span></span><br />
Check the whole disk first:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>df -h /</code></div></div>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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>repquota -a</code></div></div>On our server (shortened):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>                        Block limits
User            used    soft    hard
cyber2602 --  421304       0       0
cours5268 --  121984       0       0
cpcyb5923 --  121980       0       0</code></div></div><span style="font-weight: bold;" class="mycode_b">used</span> is in kilobytes (421304 is about 411 MB). <span style="font-weight: bold;" class="mycode_b">soft</span> and <span style="font-weight: bold;" class="mycode_b">hard</span> are the limits, and <span style="font-weight: bold;" class="mycode_b">0 means no limit</span>. To find which user belongs to a website:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>stat -c %U /home/yourdomain.com/public_html</code></div></div><br />
Something we didn't expect: our test sites were on the <span style="font-weight: bold;" class="mycode_b">Default</span> package, which says 1000 MB of disk space, but none of their users had a limit set in this list.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=729" target="_blank" title="">cyberpanel-list-packages-disk-space.jpg</a> (Size: 110.57 KB / Downloads: 43)
<!-- end: postbit_attachments_attachment --><br />
So on our server, the package's disk number was not what stops writes. If you see the quota error, look at <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>repquota</code></div></div> for the real limit instead of trusting the package page.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What the error looks like</span></span><br />
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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>dd: error writing '/home/yourdomain.com/big.bin': Disk quota exceeded</code></div></div>Even a tiny text file failed:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>write error: Disk quota exceeded</code></div></div>The user's own view shows a star next to the full value:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>sudo -u SITEUSER quota -s
     Filesystem   space   quota   limit
      /dev/vda2    122M*   122M    122M</code></div></div>The site itself still answered normally (status 200), because serving pages only <span style="font-weight: bold;" class="mycode_b">reads</span> files. That's why this problem is easy to miss: the site looks fine until something has to <span style="font-weight: bold;" class="mycode_b">write</span> (an upload, an update, a cache file, a session).<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Fix 1: Free up space</span></span><br />
Find what's taking the room in that website's home folder:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>du -h --max-depth=2 /home/yourdomain.com | sort -rh | head -15</code></div></div>Usual suspects are old backups inside public_html, cache folders and log files. Everything the site's user owns counts, not only public_html.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Fix 2: Raise or remove the limit</span></span><br />
Set a new limit in kilobytes (soft, then hard), for example 5 GB:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>setquota -u SITEUSER 5242880 5242880 0 0 /</code></div></div>Or remove the limit completely:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>setquota -u SITEUSER 0 0 0 0 /</code></div></div>Check with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>repquota -a | grep SITEUSER</code></div></div>. After we removed the limit, the same write worked again straight away. No restart is needed.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Limits only work if the disk was set up for them.</span> On our server the main disk was mounted with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>usrquota</code></div></div> (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mount | grep ' / '</code></div></div> shows it). If <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>repquota -a</code></div></div> gives an error instead of a table, quotas aren't active on your disk, and your error has another cause.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Email counts separately.</span> Mailboxes are stored under <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/home/vmail</code></div></div>, not under the website's user.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Databases don't count</span> toward the website user's quota either. They live in MariaDB's own folder.<br />
</li>
<li>For what CyberPanel packages do and don't enforce, see our guide on packages and website limits in this section.<br />
</li>
</ul>
<br />
Not sure how to read your numbers? Reply below with the line for your user from <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>repquota -a</code></div></div>.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[WebSockets on CyberPanel: The Extra Rewrite Rule Your Node.js App Needs]]></title>
			<link>https://adminsforum.com/Thread-guide-websockets-on-cyberpanel-the-extra-rewrite-rule-your-node-js-app-needs</link>
			<pubDate>Sun, 15 Nov 2026 01:58:11 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-websockets-on-cyberpanel-the-extra-rewrite-rule-your-node-js-app-needs</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">WebSockets on CyberPanel: The Extra Rewrite Rule Your Node.js App Needs (Tested)</span></span><br />
<br />
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 <span style="font-weight: bold;" class="mycode_b">not WebSocket connections</span>. One extra rule fixes it. We tested this on a CyberPanel 3.0.8 server with a small WebSocket app.<br />
<br />
This guide continues our <a href="https://adminsforum.com/Thread-guide-run-a-node-js-app-on-cyberpanel-behind-your-domain-with-ssl" target="_blank" rel="noopener" class="mycode_url">Node.js on CyberPanel guide</a>. Set the app up with that one first.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Which web server:</span> tested on <span style="font-weight: bold;" class="mycode_b">LiteSpeed Enterprise</span> only. OpenLiteSpeed handles WebSocket proxying with its own setting in the site's vHost Conf, not with this rule.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The problem</span></span><br />
Our app listened on <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>127.0.0.1:3100</code></div></div>, and the website passed everything to it with the rule from the Node.js guide:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RewriteEngine On
RewriteRule ^(.*)&#36; http://127.0.0.1:3100/&#36;1 [P,L]</code></div></div>We then tested a WebSocket connection two ways:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ws://127.0.0.1:3100/chat        OPEN   (straight to the app, on the server)
wss://yourdomain.com/chat       TIMEOUT (through the website)</code></div></div>The confusing part: the app's own log said <span style="font-style: italic;" class="mycode_i">WebSocket client connected</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The fix: one more rule</span></span><br />
Open <span style="font-weight: bold;" class="mycode_b">Websites → your site → Config → Rewrite Rules</span> and use these four lines instead:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RewriteEngine On
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule ^(.*)&#36; ws://127.0.0.1:3100/&#36;1 [P,L]
RewriteRule ^(.*)&#36; http://127.0.0.1:3100/&#36;1 [P,L]</code></div></div><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=728" target="_blank" title="">cyberpanel-rewrite-rules-websocket-proxy.jpg</a> (Size: 95.35 KB / Downloads: 45)
<!-- end: postbit_attachments_attachment --><br />
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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ws://</code></div></div> instead of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>http://</code></div></div>, which tells LiteSpeed to keep the connection open in both directions. Everything else still goes through line 4.<br />
<br />
Use <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ws://</code></div></div> in the rule even though visitors connect with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>wss://</code></div></div>. The website handles the encryption, and the hop to your app on the same server is plain.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Our result after the change</span></span><br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>wss://yourdomain.com/chat OPEN
  got: welcome
  got: echo: ping 1
  got: echo: ping after 3s</code></div></div>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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Test your own app</span></span><br />
You can test from the server with a few lines of Node.js (needs the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ws</code></div></div> package, see below). Save as <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>wstest.js</code></div></div> in your app folder:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>const WebSocket = require('ws');
const ws = new WebSocket(process.argv[2]);
setTimeout(() =&gt; { console.log('TIMEOUT'); process.exit(1); }, 8000);
ws.on('open', () =&gt; { console.log('OPEN'); ws.send('hello'); });
ws.on('message', (m) =&gt; { console.log('got: ' + m); });
ws.on('error', (e) =&gt; { console.log('ERROR ' + e.message); process.exit(1); });</code></div></div>Run it against your domain:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>node wstest.js wss://yourdomain.com/your-socket-path</code></div></div><span style="font-weight: bold;" class="mycode_b">OPEN</span> within a second or two means the rule works. <span style="font-weight: bold;" class="mycode_b">TIMEOUT</span> means the WebSocket rule is missing or not matching.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Installing packages as the website's user</span></span><br />
We installed the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ws</code></div></div> package as the website's own user, not as root, so the files belong to the right owner:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cd /home/yourdomain.com/nodeapp
sudo -u SITEUSER npm install ws
systemctl restart nodeapp</code></div></div>That worked on our server and created <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>node_modules</code></div></div> owned by the site user.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">socket.io:</span> it uses the same kind of connection, usually under the path <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/socket.io/</code></div></div>. Our rule matches every path, so it's covered. We tested with a plain WebSocket app, not with socket.io itself.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Long idle connections:</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Behind Cloudflare:</span> WebSockets also have to be allowed there (they are by default). We tested without Cloudflare in front.<br />
</li>
</ul>
<br />
Still stuck? Reply below with the result of the test script and the last lines of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>journalctl -u nodeapp</code></div></div> (hide your domain and server IP).]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">WebSockets on CyberPanel: The Extra Rewrite Rule Your Node.js App Needs (Tested)</span></span><br />
<br />
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 <span style="font-weight: bold;" class="mycode_b">not WebSocket connections</span>. One extra rule fixes it. We tested this on a CyberPanel 3.0.8 server with a small WebSocket app.<br />
<br />
This guide continues our <a href="https://adminsforum.com/Thread-guide-run-a-node-js-app-on-cyberpanel-behind-your-domain-with-ssl" target="_blank" rel="noopener" class="mycode_url">Node.js on CyberPanel guide</a>. Set the app up with that one first.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Which web server:</span> tested on <span style="font-weight: bold;" class="mycode_b">LiteSpeed Enterprise</span> only. OpenLiteSpeed handles WebSocket proxying with its own setting in the site's vHost Conf, not with this rule.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The problem</span></span><br />
Our app listened on <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>127.0.0.1:3100</code></div></div>, and the website passed everything to it with the rule from the Node.js guide:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RewriteEngine On
RewriteRule ^(.*)&#36; http://127.0.0.1:3100/&#36;1 [P,L]</code></div></div>We then tested a WebSocket connection two ways:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ws://127.0.0.1:3100/chat        OPEN   (straight to the app, on the server)
wss://yourdomain.com/chat       TIMEOUT (through the website)</code></div></div>The confusing part: the app's own log said <span style="font-style: italic;" class="mycode_i">WebSocket client connected</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The fix: one more rule</span></span><br />
Open <span style="font-weight: bold;" class="mycode_b">Websites → your site → Config → Rewrite Rules</span> and use these four lines instead:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RewriteEngine On
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule ^(.*)&#36; ws://127.0.0.1:3100/&#36;1 [P,L]
RewriteRule ^(.*)&#36; http://127.0.0.1:3100/&#36;1 [P,L]</code></div></div><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=728" target="_blank" title="">cyberpanel-rewrite-rules-websocket-proxy.jpg</a> (Size: 95.35 KB / Downloads: 45)
<!-- end: postbit_attachments_attachment --><br />
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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ws://</code></div></div> instead of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>http://</code></div></div>, which tells LiteSpeed to keep the connection open in both directions. Everything else still goes through line 4.<br />
<br />
Use <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ws://</code></div></div> in the rule even though visitors connect with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>wss://</code></div></div>. The website handles the encryption, and the hop to your app on the same server is plain.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Our result after the change</span></span><br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>wss://yourdomain.com/chat OPEN
  got: welcome
  got: echo: ping 1
  got: echo: ping after 3s</code></div></div>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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Test your own app</span></span><br />
You can test from the server with a few lines of Node.js (needs the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ws</code></div></div> package, see below). Save as <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>wstest.js</code></div></div> in your app folder:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>const WebSocket = require('ws');
const ws = new WebSocket(process.argv[2]);
setTimeout(() =&gt; { console.log('TIMEOUT'); process.exit(1); }, 8000);
ws.on('open', () =&gt; { console.log('OPEN'); ws.send('hello'); });
ws.on('message', (m) =&gt; { console.log('got: ' + m); });
ws.on('error', (e) =&gt; { console.log('ERROR ' + e.message); process.exit(1); });</code></div></div>Run it against your domain:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>node wstest.js wss://yourdomain.com/your-socket-path</code></div></div><span style="font-weight: bold;" class="mycode_b">OPEN</span> within a second or two means the rule works. <span style="font-weight: bold;" class="mycode_b">TIMEOUT</span> means the WebSocket rule is missing or not matching.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Installing packages as the website's user</span></span><br />
We installed the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ws</code></div></div> package as the website's own user, not as root, so the files belong to the right owner:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cd /home/yourdomain.com/nodeapp
sudo -u SITEUSER npm install ws
systemctl restart nodeapp</code></div></div>That worked on our server and created <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>node_modules</code></div></div> owned by the site user.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">socket.io:</span> it uses the same kind of connection, usually under the path <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/socket.io/</code></div></div>. Our rule matches every path, so it's covered. We tested with a plain WebSocket app, not with socket.io itself.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Long idle connections:</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Behind Cloudflare:</span> WebSockets also have to be allowed there (they are by default). We tested without Cloudflare in front.<br />
</li>
</ul>
<br />
Still stuck? Reply below with the result of the test script and the last lines of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>journalctl -u nodeapp</code></div></div> (hide your domain and server IP).]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Block Bad Bots, Probes and IPs on a CyberPanel Website With Rewrite Rules]]></title>
			<link>https://adminsforum.com/Thread-guide-block-bad-bots-probes-and-ips-on-a-cyberpanel-website-with-rewrite-rules</link>
			<pubDate>Sun, 15 Nov 2026 01:55:04 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-block-bad-bots-probes-and-ips-on-a-cyberpanel-website-with-rewrite-rules</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Block Bad Bots, Probes and IPs on a CyberPanel Website With Rewrite Rules (Tested)</span></span><br />
<br />
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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>.env</code></div></div> 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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Which web server:</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: See who is hitting your site</span></span><br />
Each website has its own access log. Over SSH, list the most common visitors by their browser name (user agent):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>L=/home/yourdomain.com/logs/yourdomain.com.access_log
awk -F'"' '{print &#36;6}' &#36;L | sort | uniq -c | sort -rn | head</code></div></div>And the addresses that cause the most "not found" errors, a typical sign of a scanner:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>awk '&#36;9==404{print &#36;1}' &#36;L | sort | uniq -c | sort -rn | head</code></div></div>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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Add the rules</span></span><br />
Open <span style="font-weight: bold;" class="mycode_b">Websites → your site → Config → Rewrite Rules</span>. Paste this block at the <span style="font-weight: bold;" class="mycode_b">very top</span>, above everything that's already there, and click <span style="font-weight: bold;" class="mycode_b">Save Rewrite Rules</span>:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>### Block bad bots and probes
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (AhrefsBot|SemrushBot|MJ12bot|DotBot) [NC]
RewriteRule .* - [F,L]
RewriteRule (^|/)&#92;.(env|git) - [F,L]
RewriteCond %{REMOTE_ADDR} ^203&#92;.0&#92;.113&#92;.5&#36;
RewriteRule .* - [F,L]
### End block</code></div></div><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=727" target="_blank" title="">cyberpanel-rewrite-rules-block-bad-bots.jpg</a> (Size: 106.17 KB / Downloads: 49)
<!-- end: postbit_attachments_attachment --><br />
What each part does:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Lines 3 and 4</span> refuse any visitor whose user agent contains one of the names in the brackets. Add or remove names, separated by <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>|</code></div></div>. <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>[NC]</code></div></div> ignores upper and lower case.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Line 5</span> refuses any address that contains <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/.env</code></div></div> or <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/.git</code></div></div>, in any folder.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Lines 6 and 7</span> refuse one IP address. Replace <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>203.0.113.5</code></div></div> with the address from your log, and keep the backslash before each dot. Delete these two lines if you don't need them.<br />
</li>
<li><div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>[F]</code></div></div> means "forbidden": the visitor gets a 403 error and PHP never starts, so it costs your server almost nothing.<br />
</li>
</ul>
It worked for us right after saving, without restarting the web server.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Test it</span></span><br />
From any computer with curl, pretend to be a bot with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>-A</code></div></div>. The command prints only the status code:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>curl -s -o /dev/null -w "%{http_code}&#92;n" -A "AhrefsBot" https://yourdomain.com/
curl -s -o /dev/null -w "%{http_code}&#92;n" https://yourdomain.com/.env</code></div></div>Our results:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><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</code></div></div>Two results worth pointing out. The bot was also refused on a page that LiteSpeed Cache had already stored (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>x-litespeed-cache: hit</code></div></div> for normal visitors), so the cache doesn't let bots slip past. And Googlebot still got through, because it isn't in our list.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Be careful what you block</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Don't block search engines you want.</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">User agents can be faked.</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">For many IPs, use the firewall instead.</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">The rules are per website.</span> Add the block to each site that needs it.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">WordPress and LiteSpeed Cache also write to this box.</span> Keep your block at the top, outside their marked sections, so they don't overwrite it.<br />
</li>
</ul>
<br />
Not sure which names to block? Reply below with the top lines from the user agent command in step 1.]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Block Bad Bots, Probes and IPs on a CyberPanel Website With Rewrite Rules (Tested)</span></span><br />
<br />
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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>.env</code></div></div> 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.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Which web server:</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: See who is hitting your site</span></span><br />
Each website has its own access log. Over SSH, list the most common visitors by their browser name (user agent):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>L=/home/yourdomain.com/logs/yourdomain.com.access_log
awk -F'"' '{print &#36;6}' &#36;L | sort | uniq -c | sort -rn | head</code></div></div>And the addresses that cause the most "not found" errors, a typical sign of a scanner:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>awk '&#36;9==404{print &#36;1}' &#36;L | sort | uniq -c | sort -rn | head</code></div></div>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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Add the rules</span></span><br />
Open <span style="font-weight: bold;" class="mycode_b">Websites → your site → Config → Rewrite Rules</span>. Paste this block at the <span style="font-weight: bold;" class="mycode_b">very top</span>, above everything that's already there, and click <span style="font-weight: bold;" class="mycode_b">Save Rewrite Rules</span>:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>### Block bad bots and probes
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (AhrefsBot|SemrushBot|MJ12bot|DotBot) [NC]
RewriteRule .* - [F,L]
RewriteRule (^|/)&#92;.(env|git) - [F,L]
RewriteCond %{REMOTE_ADDR} ^203&#92;.0&#92;.113&#92;.5&#36;
RewriteRule .* - [F,L]
### End block</code></div></div><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=727" target="_blank" title="">cyberpanel-rewrite-rules-block-bad-bots.jpg</a> (Size: 106.17 KB / Downloads: 49)
<!-- end: postbit_attachments_attachment --><br />
What each part does:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Lines 3 and 4</span> refuse any visitor whose user agent contains one of the names in the brackets. Add or remove names, separated by <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>|</code></div></div>. <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>[NC]</code></div></div> ignores upper and lower case.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Line 5</span> refuses any address that contains <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/.env</code></div></div> or <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/.git</code></div></div>, in any folder.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Lines 6 and 7</span> refuse one IP address. Replace <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>203.0.113.5</code></div></div> with the address from your log, and keep the backslash before each dot. Delete these two lines if you don't need them.<br />
</li>
<li><div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>[F]</code></div></div> means "forbidden": the visitor gets a 403 error and PHP never starts, so it costs your server almost nothing.<br />
</li>
</ul>
It worked for us right after saving, without restarting the web server.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Test it</span></span><br />
From any computer with curl, pretend to be a bot with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>-A</code></div></div>. The command prints only the status code:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>curl -s -o /dev/null -w "%{http_code}&#92;n" -A "AhrefsBot" https://yourdomain.com/
curl -s -o /dev/null -w "%{http_code}&#92;n" https://yourdomain.com/.env</code></div></div>Our results:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><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</code></div></div>Two results worth pointing out. The bot was also refused on a page that LiteSpeed Cache had already stored (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>x-litespeed-cache: hit</code></div></div> for normal visitors), so the cache doesn't let bots slip past. And Googlebot still got through, because it isn't in our list.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Be careful what you block</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Don't block search engines you want.</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">User agents can be faked.</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">For many IPs, use the firewall instead.</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">The rules are per website.</span> Add the block to each site that needs it.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">WordPress and LiteSpeed Cache also write to this box.</span> Keep your block at the top, outside their marked sections, so they don't overwrite it.<br />
</li>
</ul>
<br />
Not sure which names to block? Reply below with the top lines from the user agent command in step 1.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CyberPanel Email Not Sending? Test Whether Your VPS Blocks Port 25]]></title>
			<link>https://adminsforum.com/Thread-guide-cyberpanel-email-not-sending-test-whether-your-vps-blocks-port-25</link>
			<pubDate>Sun, 15 Nov 2026 01:52:38 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-cyberpanel-email-not-sending-test-whether-your-vps-blocks-port-25</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CyberPanel Email Not Sending? Test Whether Your VPS Blocks Port 25 (Tested)</span></span><br />
<br />
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 <span style="font-weight: bold;" class="mycode_b">block outgoing port 25</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: The ten-second test</span></span><br />
Over SSH, paste this. It tries to reach Gmail's mail server on port 25, and Gmail's sending ports 587 and 465:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>for t in gmail-smtp-in.l.google.com:25 smtp.gmail.com:587 smtp.gmail.com:465; do
  h=&#36;{t%:*}; p=&#36;{t#*:}
  if timeout 8 bash -c "exec 3&lt;&gt;/dev/tcp/&#36;h/&#36;p" 2&gt;/dev/null; then echo "&#36;t OPEN"; else echo "&#36;t BLOCKED or timeout"; fi
done</code></div></div>On our server, where the provider allows mail:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>gmail-smtp-in.l.google.com:25 OPEN
smtp.gmail.com:587 OPEN
smtp.gmail.com:465 OPEN</code></div></div>Then we blocked outgoing port 25 with a firewall rule, the same thing a provider does, and ran it again:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>gmail-smtp-in.l.google.com:25 BLOCKED or timeout</code></div></div>It needs no extra tools. If the first line says BLOCKED on your server, your outgoing mail can't leave.<br />
<br />
Want to see the other server answer? This prints its greeting:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>timeout 8 bash -c "exec 3&lt;&gt;/dev/tcp/gmail-smtp-in.l.google.com/25; head -1 &lt;&amp;3"</code></div></div>Ours answered <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>220 mx.google.com ESMTP ...</code></div></div>. No answer within 8 seconds means blocked.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: What the mail queue and log show</span></span><br />
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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mailq</code></div></div>And at the sending log. On our CyberPanel server there is <span style="font-weight: bold;" class="mycode_b">no /var/log/mail.log</span>. The mail log is in the system journal:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>journalctl -t postfix/smtp -n 20 --no-pager</code></div></div>Lines ending in <span style="font-style: italic;" class="mycode_i">Connection timed out</span> for every destination point to a blocked port. A line with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>status=sent</code></div></div> means that message did leave.<br />
<br />
One line that looks scary but isn't: we saw <span style="font-style: italic;" class="mycode_i">connect to ...[2606:...]:25: Network is unreachable</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: If port 25 is blocked</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Ask your provider to open it.</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Or send through a relay on port 587.</span> 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.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">If port 25 is open and mail still doesn't arrive</span></span><br />
Then the cause is somewhere else:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">It arrives, but in spam:</span> check SPF, DKIM and DMARC. See our <a href="https://adminsforum.com/showthread.php?tid=306" target="_blank" rel="noopener" class="mycode_url">CyberPanel email setup guide</a>.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">It's stuck in the queue for another reason:</span> see our mail queue guide in this section. The log line for the message tells you why.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Only mail from Outlook or a phone fails:</span> that's about the mail app's settings (port 587 or 465 with your full email address as the username), not about port 25.<br />
</li>
</ul>
<br />
Not sure what your result means? Reply below with the three lines from the test (hide your server IP).]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CyberPanel Email Not Sending? Test Whether Your VPS Blocks Port 25 (Tested)</span></span><br />
<br />
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 <span style="font-weight: bold;" class="mycode_b">block outgoing port 25</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: The ten-second test</span></span><br />
Over SSH, paste this. It tries to reach Gmail's mail server on port 25, and Gmail's sending ports 587 and 465:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>for t in gmail-smtp-in.l.google.com:25 smtp.gmail.com:587 smtp.gmail.com:465; do
  h=&#36;{t%:*}; p=&#36;{t#*:}
  if timeout 8 bash -c "exec 3&lt;&gt;/dev/tcp/&#36;h/&#36;p" 2&gt;/dev/null; then echo "&#36;t OPEN"; else echo "&#36;t BLOCKED or timeout"; fi
done</code></div></div>On our server, where the provider allows mail:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>gmail-smtp-in.l.google.com:25 OPEN
smtp.gmail.com:587 OPEN
smtp.gmail.com:465 OPEN</code></div></div>Then we blocked outgoing port 25 with a firewall rule, the same thing a provider does, and ran it again:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>gmail-smtp-in.l.google.com:25 BLOCKED or timeout</code></div></div>It needs no extra tools. If the first line says BLOCKED on your server, your outgoing mail can't leave.<br />
<br />
Want to see the other server answer? This prints its greeting:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>timeout 8 bash -c "exec 3&lt;&gt;/dev/tcp/gmail-smtp-in.l.google.com/25; head -1 &lt;&amp;3"</code></div></div>Ours answered <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>220 mx.google.com ESMTP ...</code></div></div>. No answer within 8 seconds means blocked.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: What the mail queue and log show</span></span><br />
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:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mailq</code></div></div>And at the sending log. On our CyberPanel server there is <span style="font-weight: bold;" class="mycode_b">no /var/log/mail.log</span>. The mail log is in the system journal:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>journalctl -t postfix/smtp -n 20 --no-pager</code></div></div>Lines ending in <span style="font-style: italic;" class="mycode_i">Connection timed out</span> for every destination point to a blocked port. A line with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>status=sent</code></div></div> means that message did leave.<br />
<br />
One line that looks scary but isn't: we saw <span style="font-style: italic;" class="mycode_i">connect to ...[2606:...]:25: Network is unreachable</span> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: If port 25 is blocked</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Ask your provider to open it.</span> 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.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Or send through a relay on port 587.</span> 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.<br />
</li>
</ul>
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">If port 25 is open and mail still doesn't arrive</span></span><br />
Then the cause is somewhere else:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">It arrives, but in spam:</span> check SPF, DKIM and DMARC. See our <a href="https://adminsforum.com/showthread.php?tid=306" target="_blank" rel="noopener" class="mycode_url">CyberPanel email setup guide</a>.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">It's stuck in the queue for another reason:</span> see our mail queue guide in this section. The log line for the message tells you why.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Only mail from Outlook or a phone fails:</span> that's about the mail app's settings (port 587 or 465 with your full email address as the username), not about port 25.<br />
</li>
</ul>
<br />
Not sure what your result means? Reply below with the three lines from the test (hide your server IP).]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CyberPanel: Why php -v Shows a Different PHP Version Than Your Website]]></title>
			<link>https://adminsforum.com/Thread-guide-cyberpanel-why-php-v-shows-a-different-php-version-than-your-website</link>
			<pubDate>Sun, 15 Nov 2026 01:52:07 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-cyberpanel-why-php-v-shows-a-different-php-version-than-your-website</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CyberPanel: Why php -v Shows a Different PHP Version Than Your Website (Tested)</span></span><br />
<br />
You set your website to PHP 8.5 in CyberPanel, then run <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php -v</code></div></div> over SSH and it says 8.3. Or Composer complains about the PHP version although the site runs fine. Nothing is broken: the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php</code></div></div> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What we saw</span></span><br />
Our test site was set to PHP 8.5 in the panel. (Each site's version is shown under <span style="font-weight: bold;" class="mycode_b">Websites → List Websites</span>.)<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=726" target="_blank" title="">cyberpanel-list-websites-php-version.jpg</a> (Size: 123.42 KB / Downloads: 50)
<!-- end: postbit_attachments_attachment --><br />
A test page on the site reported <span style="font-weight: bold;" class="mycode_b">8.5.12</span>. In the terminal:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php -v
PHP 8.3.36 (cli)</code></div></div>The reason is one link:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ls -la /usr/bin/php
/usr/bin/php -&gt; /usr/local/lsws/lsphp83/bin/php</code></div></div>The terminal's <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php</code></div></div> is a fixed shortcut to one version (8.3 on our server). Changing a website's PHP in the panel doesn't touch it.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Every version has its own command</span></span><br />
CyberPanel installs each PHP version in its own folder. See which ones you have:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ls -d /usr/local/lsws/lsphp*/bin/php</code></div></div>On our server that listed 8.1 to 8.5. To run a specific version, use its full path:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/lsphp85/bin/php -v
/usr/local/lsws/lsphp85/bin/php yourscript.php</code></div></div>The number is the version without the dot: <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>lsphp85</code></div></div> is PHP 8.5, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>lsphp82</code></div></div> is 8.2.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Composer with the right PHP</span></span><br />
Put the PHP path in front of Composer:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/lsphp85/bin/php /usr/bin/composer install</code></div></div>We checked with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>composer diagnose</code></div></div>: it reported <span style="font-style: italic;" class="mycode_i">PHP version 8.5.12 (/usr/local/lsws/lsphp85/bin/php)</span>.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">WP-CLI with the right PHP</span></span><br />
Same idea:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/lsphp85/bin/php /usr/local/bin/wp --path=/home/yourdomain.com/public_html cli info</code></div></div>This reported PHP 8.5.12. One thing that did <span style="font-weight: bold;" class="mycode_b">not</span> work for us: the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>WP_CLI_PHP=...</code></div></div> variable you'll find in many tutorials. With it set, WP-CLI still used 8.3 on our server. Use the full path instead.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Cron jobs</span></span><br />
Cron jobs use the terminal's <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php</code></div></div> too. If a cron job must run with the site's version, write the full path in the cron line:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/lsphp85/bin/php /home/yourdomain.com/public_html/cron.php</code></div></div>(See our cron jobs guide in the Websites section for where to add it.)<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Change the default for the whole terminal</span></span><br />
If all your sites use the same version, you can point the shortcut at it:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ln -sfn /usr/local/lsws/lsphp85/bin/php /usr/bin/php
php -v</code></div></div>We tested it: <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php -v</code></div></div> then said 8.5.12, and plain <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>wp</code></div></div> used 8.5.12 as well. To go back, run the same command with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>lsphp83</code></div></div>. 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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php -v</code></div></div> again after panel upgrades.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Extensions are per version.</span> An extension you installed for 8.3 isn't there in 8.5. Check with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/lsphp85/bin/php -m</code></div></div>. (See our PHP extensions guide in this section.)<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Settings can differ too.</span> Each version has its own php.ini, so memory limits in the terminal aren't always the ones your site has.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">A warning on old versions.</span> Running PHP 8.1 in the terminal printed <span style="font-style: italic;" class="mycode_i">Unable to load dynamic library 'timezonedb.so'</span> on our server. It still worked. The warning comes from an extension line in that version's config.<br />
</li>
</ul>
<br />
Questions? Reply below with the output of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php -v</code></div></div> and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ls -la /usr/bin/php</code></div></div>.]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CyberPanel: Why php -v Shows a Different PHP Version Than Your Website (Tested)</span></span><br />
<br />
You set your website to PHP 8.5 in CyberPanel, then run <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php -v</code></div></div> over SSH and it says 8.3. Or Composer complains about the PHP version although the site runs fine. Nothing is broken: the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php</code></div></div> 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.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What we saw</span></span><br />
Our test site was set to PHP 8.5 in the panel. (Each site's version is shown under <span style="font-weight: bold;" class="mycode_b">Websites → List Websites</span>.)<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=726" target="_blank" title="">cyberpanel-list-websites-php-version.jpg</a> (Size: 123.42 KB / Downloads: 50)
<!-- end: postbit_attachments_attachment --><br />
A test page on the site reported <span style="font-weight: bold;" class="mycode_b">8.5.12</span>. In the terminal:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php -v
PHP 8.3.36 (cli)</code></div></div>The reason is one link:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ls -la /usr/bin/php
/usr/bin/php -&gt; /usr/local/lsws/lsphp83/bin/php</code></div></div>The terminal's <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php</code></div></div> is a fixed shortcut to one version (8.3 on our server). Changing a website's PHP in the panel doesn't touch it.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Every version has its own command</span></span><br />
CyberPanel installs each PHP version in its own folder. See which ones you have:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ls -d /usr/local/lsws/lsphp*/bin/php</code></div></div>On our server that listed 8.1 to 8.5. To run a specific version, use its full path:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/lsphp85/bin/php -v
/usr/local/lsws/lsphp85/bin/php yourscript.php</code></div></div>The number is the version without the dot: <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>lsphp85</code></div></div> is PHP 8.5, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>lsphp82</code></div></div> is 8.2.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Composer with the right PHP</span></span><br />
Put the PHP path in front of Composer:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/lsphp85/bin/php /usr/bin/composer install</code></div></div>We checked with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>composer diagnose</code></div></div>: it reported <span style="font-style: italic;" class="mycode_i">PHP version 8.5.12 (/usr/local/lsws/lsphp85/bin/php)</span>.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">WP-CLI with the right PHP</span></span><br />
Same idea:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/lsphp85/bin/php /usr/local/bin/wp --path=/home/yourdomain.com/public_html cli info</code></div></div>This reported PHP 8.5.12. One thing that did <span style="font-weight: bold;" class="mycode_b">not</span> work for us: the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>WP_CLI_PHP=...</code></div></div> variable you'll find in many tutorials. With it set, WP-CLI still used 8.3 on our server. Use the full path instead.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Cron jobs</span></span><br />
Cron jobs use the terminal's <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php</code></div></div> too. If a cron job must run with the site's version, write the full path in the cron line:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/lsphp85/bin/php /home/yourdomain.com/public_html/cron.php</code></div></div>(See our cron jobs guide in the Websites section for where to add it.)<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Change the default for the whole terminal</span></span><br />
If all your sites use the same version, you can point the shortcut at it:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ln -sfn /usr/local/lsws/lsphp85/bin/php /usr/bin/php
php -v</code></div></div>We tested it: <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php -v</code></div></div> then said 8.5.12, and plain <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>wp</code></div></div> used 8.5.12 as well. To go back, run the same command with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>lsphp83</code></div></div>. 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 <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php -v</code></div></div> again after panel upgrades.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Extensions are per version.</span> An extension you installed for 8.3 isn't there in 8.5. Check with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/lsphp85/bin/php -m</code></div></div>. (See our PHP extensions guide in this section.)<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Settings can differ too.</span> Each version has its own php.ini, so memory limits in the terminal aren't always the ones your site has.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">A warning on old versions.</span> Running PHP 8.1 in the terminal printed <span style="font-style: italic;" class="mycode_i">Unable to load dynamic library 'timezonedb.so'</span> on our server. It still worked. The warning comes from an extension line in that version's config.<br />
</li>
</ul>
<br />
Questions? Reply below with the output of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>php -v</code></div></div> and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ls -la /usr/bin/php</code></div></div>.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Change MySQL Passwords on CyberPanel Without Breaking phpMyAdmin or Your Site]]></title>
			<link>https://adminsforum.com/Thread-guide-change-mysql-passwords-on-cyberpanel-without-breaking-phpmyadmin-or-your-site</link>
			<pubDate>Sun, 15 Nov 2026 01:48:09 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-change-mysql-passwords-on-cyberpanel-without-breaking-phpmyadmin-or-your-site</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Change MySQL Passwords on CyberPanel Without Breaking phpMyAdmin or Your Site (Tested)</span></span><br />
<br />
Two password changes cause a lot of trouble on CyberPanel servers: changing the <span style="font-weight: bold;" class="mycode_b">MySQL root password</span> (afterwards phpMyAdmin won't open and you can't create databases), and changing a <span style="font-weight: bold;" class="mycode_b">website's database password</span> (the site shows "Error establishing a database connection"). We did both on purpose on a CyberPanel 3.0.8 server (Ubuntu 24.04, MariaDB 10.11), watched what broke, and fixed it. Here's what to change, and where.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Part 1: A website's database password</span></span><br />
In the panel this lives under <span style="font-weight: bold;" class="mycode_b">Databases → List Databases</span>. Pick the website and use the <span style="font-weight: bold;" class="mycode_b">Change</span> button next to the database:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=725" target="_blank" title="">cyberpanel-list-databases-change-password.jpg</a> (Size: 119.43 KB / Downloads: 41)
<!-- end: postbit_attachments_attachment --><br />
The panel changes the password in MariaDB. It does <span style="font-weight: bold;" class="mycode_b">not</span> know your website's config file, so the site keeps using the old one. We tested the same thing over SSH. Right after the password change, our WordPress site answered:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>500
Error establishing a database connection</code></div></div>The fix is to put the new password into the site's config. For WordPress, WP-CLI does it in one line (run it as the website's user, see <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>stat -c %U</code></div></div> on the file to find it):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cd /home/yourdomain.com/public_html
sudo -u SITEUSER wp config set DB_PASSWORD 'your-new-password'</code></div></div>It answered <span style="font-style: italic;" class="mycode_i">Success: Updated the constant 'DB_PASSWORD'</span>. Two things we noticed:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">WP-CLI prints the new password on screen</span> in that success line. Clear your terminal if someone can see it.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Wait a few seconds before you test.</span> We checked the site in the same second and still got the error. A moment later it was back to <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>200</code></div></div>. PHP keeps a copy of your files in memory and only re-reads them every 2 seconds on our server (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>opcache.revalidate_freq = 2</code></div></div>).<br />
</li>
</ul>
For other apps, edit the password in their config file by hand (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>.env</code></div></div> for Laravel, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>configuration.php</code></div></div> for Joomla, and so on).<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Part 2: The MySQL root password</span></span><br />
CyberPanel itself logs in to MariaDB as root to create databases and to open phpMyAdmin for you. It reads that password from its own files. If you change the password only in MariaDB, the panel is left with the old one.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">What broke on our server after changing only the root password:</span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Create Database</span> failed with: <span style="font-style: italic;" class="mycode_i">Database creation stopped at checking_sql_namespace ... Ask the administrator to check the CyberPanel error log.</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">phpMyAdmin</span> didn't open. Clicking it just dropped us back on the dashboard, with no error message.<br />
</li>
<li>The panel's log (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/home/cyberpanel/error-logs.txt</code></div></div>) showed the real reason: <span style="font-style: italic;" class="mycode_i">Access denied for user 'root'@'localhost' (using password: YES)</span>.<br />
</li>
<li>Commands that rely on the saved password stopped working too (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mysql</code></div></div> as root without typing a password).<br />
</li>
</ul>
<span style="font-weight: bold;" class="mycode_b">What kept working:</span> all websites, email, DNS and the list of existing databases. Those don't use the root login.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">The three places to update.</span> Back them up first:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mkdir -p /root/rootpw-backup
cp -a /etc/cyberpanel/mysqlPassword /root/.my.cnf /usr/local/CyberCP/CyberCP/settings.py /root/rootpw-backup/</code></div></div>Change the password in MariaDB (if you haven't yet):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'your-new-password'; FLUSH PRIVILEGES;"</code></div></div>Then put the same new password in:<br />
<ol type="1" class="mycode_list"><li><div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/cyberpanel/mysqlPassword</code></div></div>: the file contains only the password.<br />
</li>
<li><div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/root/.my.cnf</code></div></div>: the password line.<br />
</li>
<li><div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/CyberCP/CyberCP/settings.py</code></div></div>: near the end there's a <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>DATABASES</code></div></div> section with two blocks. Change the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>'PASSWORD'</code></div></div> in the <span style="font-weight: bold;" class="mycode_b">second</span> block, the one named <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>'rootdb'</code></div></div> with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>'USER': 'root'</code></div></div>.<br />
</li>
</ol>
Restart the panel's own service:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>systemctl restart lscpd</code></div></div>After that, on our server: <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mysql</code></div></div> logged in as root again, Create Database worked (the same request that had failed now returned success), and phpMyAdmin opened normally.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The trap in settings.py</span></span><br />
On a fresh install, the <span style="font-weight: bold;" class="mycode_b">first</span> block in that DATABASES section (user <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cyberpanel</code></div></div>) has the <span style="font-weight: bold;" class="mycode_b">same password</span> as root. We checked: the original root password also logged in as the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cyberpanel</code></div></div> database user. So if you search and replace the old password everywhere in <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>settings.py</code></div></div>, you also change the first block, and then the whole panel can't reach its own database.<br />
<br />
Change only the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>rootdb</code></div></div> block. Leave the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cyberpanel</code></div></div> user's password alone unless you have a strong reason: on our server that same password was also stored in the config files of Postfix, Dovecot, PowerDNS and Pure-FTPd (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/postfix/mysql-virtual_*.cf</code></div></div>, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/dovecot/dovecot-sql.conf.ext</code></div></div>, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/powerdns/pdns.conf</code></div></div>, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/pure-ftpd/</code></div></div>). Changing it means updating all of them, or mail, DNS and FTP stop. We didn't change it.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">phpMyAdmin won't open? Check this first</span></span><br />
If phpMyAdmin bounces you back to the dashboard, or database creation fails, test whether the panel's saved root password still works:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mysql -uroot -p"&#36;(cat /etc/cyberpanel/mysqlPassword)" -e "SELECT 1;"</code></div></div><span style="font-style: italic;" class="mycode_i">Access denied</span> means the saved password is out of date, and Part 2 is your fix. If it prints <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>1</code></div></div>, the password is fine and the cause is something else. Look at the last lines of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/home/cyberpanel/error-logs.txt</code></div></div> right after you click.<br />
<br />
Questions, or a different error after a password change? Reply below with the last lines of that log (hide passwords and your server IP).]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Change MySQL Passwords on CyberPanel Without Breaking phpMyAdmin or Your Site (Tested)</span></span><br />
<br />
Two password changes cause a lot of trouble on CyberPanel servers: changing the <span style="font-weight: bold;" class="mycode_b">MySQL root password</span> (afterwards phpMyAdmin won't open and you can't create databases), and changing a <span style="font-weight: bold;" class="mycode_b">website's database password</span> (the site shows "Error establishing a database connection"). We did both on purpose on a CyberPanel 3.0.8 server (Ubuntu 24.04, MariaDB 10.11), watched what broke, and fixed it. Here's what to change, and where.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Part 1: A website's database password</span></span><br />
In the panel this lives under <span style="font-weight: bold;" class="mycode_b">Databases → List Databases</span>. Pick the website and use the <span style="font-weight: bold;" class="mycode_b">Change</span> button next to the database:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=725" target="_blank" title="">cyberpanel-list-databases-change-password.jpg</a> (Size: 119.43 KB / Downloads: 41)
<!-- end: postbit_attachments_attachment --><br />
The panel changes the password in MariaDB. It does <span style="font-weight: bold;" class="mycode_b">not</span> know your website's config file, so the site keeps using the old one. We tested the same thing over SSH. Right after the password change, our WordPress site answered:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>500
Error establishing a database connection</code></div></div>The fix is to put the new password into the site's config. For WordPress, WP-CLI does it in one line (run it as the website's user, see <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>stat -c %U</code></div></div> on the file to find it):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cd /home/yourdomain.com/public_html
sudo -u SITEUSER wp config set DB_PASSWORD 'your-new-password'</code></div></div>It answered <span style="font-style: italic;" class="mycode_i">Success: Updated the constant 'DB_PASSWORD'</span>. Two things we noticed:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">WP-CLI prints the new password on screen</span> in that success line. Clear your terminal if someone can see it.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Wait a few seconds before you test.</span> We checked the site in the same second and still got the error. A moment later it was back to <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>200</code></div></div>. PHP keeps a copy of your files in memory and only re-reads them every 2 seconds on our server (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>opcache.revalidate_freq = 2</code></div></div>).<br />
</li>
</ul>
For other apps, edit the password in their config file by hand (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>.env</code></div></div> for Laravel, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>configuration.php</code></div></div> for Joomla, and so on).<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Part 2: The MySQL root password</span></span><br />
CyberPanel itself logs in to MariaDB as root to create databases and to open phpMyAdmin for you. It reads that password from its own files. If you change the password only in MariaDB, the panel is left with the old one.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">What broke on our server after changing only the root password:</span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Create Database</span> failed with: <span style="font-style: italic;" class="mycode_i">Database creation stopped at checking_sql_namespace ... Ask the administrator to check the CyberPanel error log.</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">phpMyAdmin</span> didn't open. Clicking it just dropped us back on the dashboard, with no error message.<br />
</li>
<li>The panel's log (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/home/cyberpanel/error-logs.txt</code></div></div>) showed the real reason: <span style="font-style: italic;" class="mycode_i">Access denied for user 'root'@'localhost' (using password: YES)</span>.<br />
</li>
<li>Commands that rely on the saved password stopped working too (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mysql</code></div></div> as root without typing a password).<br />
</li>
</ul>
<span style="font-weight: bold;" class="mycode_b">What kept working:</span> all websites, email, DNS and the list of existing databases. Those don't use the root login.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">The three places to update.</span> Back them up first:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mkdir -p /root/rootpw-backup
cp -a /etc/cyberpanel/mysqlPassword /root/.my.cnf /usr/local/CyberCP/CyberCP/settings.py /root/rootpw-backup/</code></div></div>Change the password in MariaDB (if you haven't yet):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 'your-new-password'; FLUSH PRIVILEGES;"</code></div></div>Then put the same new password in:<br />
<ol type="1" class="mycode_list"><li><div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/cyberpanel/mysqlPassword</code></div></div>: the file contains only the password.<br />
</li>
<li><div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/root/.my.cnf</code></div></div>: the password line.<br />
</li>
<li><div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/CyberCP/CyberCP/settings.py</code></div></div>: near the end there's a <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>DATABASES</code></div></div> section with two blocks. Change the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>'PASSWORD'</code></div></div> in the <span style="font-weight: bold;" class="mycode_b">second</span> block, the one named <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>'rootdb'</code></div></div> with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>'USER': 'root'</code></div></div>.<br />
</li>
</ol>
Restart the panel's own service:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>systemctl restart lscpd</code></div></div>After that, on our server: <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mysql</code></div></div> logged in as root again, Create Database worked (the same request that had failed now returned success), and phpMyAdmin opened normally.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The trap in settings.py</span></span><br />
On a fresh install, the <span style="font-weight: bold;" class="mycode_b">first</span> block in that DATABASES section (user <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cyberpanel</code></div></div>) has the <span style="font-weight: bold;" class="mycode_b">same password</span> as root. We checked: the original root password also logged in as the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cyberpanel</code></div></div> database user. So if you search and replace the old password everywhere in <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>settings.py</code></div></div>, you also change the first block, and then the whole panel can't reach its own database.<br />
<br />
Change only the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>rootdb</code></div></div> block. Leave the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cyberpanel</code></div></div> user's password alone unless you have a strong reason: on our server that same password was also stored in the config files of Postfix, Dovecot, PowerDNS and Pure-FTPd (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/postfix/mysql-virtual_*.cf</code></div></div>, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/dovecot/dovecot-sql.conf.ext</code></div></div>, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/powerdns/pdns.conf</code></div></div>, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/pure-ftpd/</code></div></div>). Changing it means updating all of them, or mail, DNS and FTP stop. We didn't change it.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">phpMyAdmin won't open? Check this first</span></span><br />
If phpMyAdmin bounces you back to the dashboard, or database creation fails, test whether the panel's saved root password still works:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mysql -uroot -p"&#36;(cat /etc/cyberpanel/mysqlPassword)" -e "SELECT 1;"</code></div></div><span style="font-style: italic;" class="mycode_i">Access denied</span> means the saved password is out of date, and Part 2 is your fix. If it prints <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>1</code></div></div>, the password is fine and the cause is something else. Look at the last lines of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/home/cyberpanel/error-logs.txt</code></div></div> right after you click.<br />
<br />
Questions, or a different error after a password change? Reply below with the last lines of that log (hide passwords and your server IP).]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Open CyberPanel on a Domain Without :8090 (and the Login Loop to Avoid)]]></title>
			<link>https://adminsforum.com/Thread-guide-open-cyberpanel-on-a-domain-without-8090-and-the-login-loop-to-avoid</link>
			<pubDate>Sat, 14 Nov 2026 23:47:37 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-open-cyberpanel-on-a-domain-without-8090-and-the-login-loop-to-avoid</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Open CyberPanel on a Domain Without :8090 (Tested on LiteSpeed Enterprise)</span></span><br />
<br />
CyberPanel lives on port 8090, so its address is something like <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8090</code></div></div>. If you'd rather open it as <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://panel.yourdomain.com</code></div></div>, with a normal certificate and no port to remember, you can put the panel behind a website on the same server. We set this up on a CyberPanel 3.0.8 server and logged in through the domain. The first way we tried showed the login page but <span style="font-weight: bold;" class="mycode_b">refused every login</span>, so this guide shows the way that works, and how to spot the broken one.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Which web server:</span> our test server runs <span style="font-weight: bold;" class="mycode_b">LiteSpeed Enterprise</span>, and the config file below is the Enterprise one. We didn't test this on OpenLiteSpeed, where the web server config is a different file with a different format.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Create a website for the panel address</span></span><br />
In CyberPanel, create a normal website for the name you want, for example <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>panel.yourdomain.com</code></div></div> (point its DNS A record at the server first, so the free SSL certificate is issued). Nothing needs to be in its public_html.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Tell LiteSpeed where the panel is</span></span><br />
Over SSH as root, back up the web server config, then open it:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cp -a /usr/local/lsws/conf/httpd_config.xml /root/httpd_config.xml.bak
nano /usr/local/lsws/conf/httpd_config.xml</code></div></div>Find the line <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>&lt;extProcessorList&gt;</code></div></div> and add this block right under it:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>    &lt;extProcessor&gt;
      &lt;type&gt;proxy&lt;/type&gt;
      &lt;name&gt;cyberpanel&lt;/name&gt;
      &lt;address&gt;https://127.0.0.1:8090&lt;/address&gt;
      &lt;maxConns&gt;100&lt;/maxConns&gt;
      &lt;initTimeout&gt;60&lt;/initTimeout&gt;
      &lt;retryTimeout&gt;0&lt;/retryTimeout&gt;
      &lt;respBuffer&gt;0&lt;/respBuffer&gt;
    &lt;/extProcessor&gt;</code></div></div>This gives the panel a name, <span style="font-weight: bold;" class="mycode_b">cyberpanel</span>, that websites can pass visitors to. Save the file and restart LiteSpeed:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/bin/lswsctrl restart</code></div></div>Check that your sites still load. If LiteSpeed doesn't come back, copy the backup over the file and restart again.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Send the website to the panel</span></span><br />
In CyberPanel open <span style="font-weight: bold;" class="mycode_b">Websites → panel.yourdomain.com → Config → Rewrite Rules</span>, replace what's there with these two lines and click <span style="font-weight: bold;" class="mycode_b">Save Rewrite Rules</span>:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RewriteEngine On
RewriteRule ^(.*)&#36; HTTP://cyberpanel/&#36;1 [P,L]</code></div></div><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=721" target="_blank" title="">cyberpanel-rewrite-rule-proxy-to-panel.jpg</a> (Size: 90.93 KB / Downloads: 35)
<!-- end: postbit_attachments_attachment --><br />
The name after <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>HTTP://</code></div></div> must match the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>&lt;name&gt;</code></div></div> from step 2. It's a name, not a web address.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Log in through the domain</span></span><br />
Open <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://panel.yourdomain.com</code></div></div>. You get the CyberPanel login page with the padlock, and after logging in, the dashboard:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=722" target="_blank" title="">cyberpanel-dashboard-on-domain-without-port-8090.jpg</a> (Size: 138.29 KB / Downloads: 31)
<!-- end: postbit_attachments_attachment --><br />
We also opened the website list, the file manager, the phpMyAdmin page, the SpamAssassin page and the LiteSpeed status page through the domain. All loaded, and the dashboard's live numbers updated normally.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The shortcut that doesn't work</span></span><br />
You can skip step 2 and point the rewrite rule straight at the port:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RewriteRule ^(.*)&#36; https://127.0.0.1:8090/&#36;1 [P,L]</code></div></div>We tried this first. The login page loaded fine, which makes it look finished. But logging in just dropped us back on the login page, every time. Behind the scenes the panel answered the login with <span style="font-weight: bold;" class="mycode_b">403, CSRF verification failed</span>. CyberPanel checks that a login comes from the same address the panel thinks it's running on, and with this shortcut the panel doesn't see your domain name. With the named proxy from step 2, the same login worked.<br />
<br />
So if you're stuck on the login page after setting this up, check your rewrite rule. It has to use the name (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>HTTP://cyberpanel/</code></div></div>), not the IP and port.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Port 8090 still works.</span> This adds a second door, it doesn't close the first. The old <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8090</code></div></div> address keeps working, and it's your way back in if the website or its certificate ever breaks. We left it open.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">You log in again on the new address.</span> Browsers keep logins per address, so being logged in on :8090 doesn't carry over.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Keep the backup.</span> You edited the web server's main config by hand. After a LiteSpeed or CyberPanel upgrade, check that the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cyberpanel</code></div></div> block is still there if the domain stops working.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Undo:</span> remove the two rewrite lines from the website, remove the block from <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>httpd_config.xml</code></div></div> (or restore the backup) and restart LiteSpeed.<br />
</li>
</ul>
<br />
Questions, or a login that still bounces back? Reply below and tell us which rewrite rule you used (hide your server IP first).]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Open CyberPanel on a Domain Without :8090 (Tested on LiteSpeed Enterprise)</span></span><br />
<br />
CyberPanel lives on port 8090, so its address is something like <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8090</code></div></div>. If you'd rather open it as <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://panel.yourdomain.com</code></div></div>, with a normal certificate and no port to remember, you can put the panel behind a website on the same server. We set this up on a CyberPanel 3.0.8 server and logged in through the domain. The first way we tried showed the login page but <span style="font-weight: bold;" class="mycode_b">refused every login</span>, so this guide shows the way that works, and how to spot the broken one.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Which web server:</span> our test server runs <span style="font-weight: bold;" class="mycode_b">LiteSpeed Enterprise</span>, and the config file below is the Enterprise one. We didn't test this on OpenLiteSpeed, where the web server config is a different file with a different format.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Create a website for the panel address</span></span><br />
In CyberPanel, create a normal website for the name you want, for example <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>panel.yourdomain.com</code></div></div> (point its DNS A record at the server first, so the free SSL certificate is issued). Nothing needs to be in its public_html.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Tell LiteSpeed where the panel is</span></span><br />
Over SSH as root, back up the web server config, then open it:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cp -a /usr/local/lsws/conf/httpd_config.xml /root/httpd_config.xml.bak
nano /usr/local/lsws/conf/httpd_config.xml</code></div></div>Find the line <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>&lt;extProcessorList&gt;</code></div></div> and add this block right under it:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>    &lt;extProcessor&gt;
      &lt;type&gt;proxy&lt;/type&gt;
      &lt;name&gt;cyberpanel&lt;/name&gt;
      &lt;address&gt;https://127.0.0.1:8090&lt;/address&gt;
      &lt;maxConns&gt;100&lt;/maxConns&gt;
      &lt;initTimeout&gt;60&lt;/initTimeout&gt;
      &lt;retryTimeout&gt;0&lt;/retryTimeout&gt;
      &lt;respBuffer&gt;0&lt;/respBuffer&gt;
    &lt;/extProcessor&gt;</code></div></div>This gives the panel a name, <span style="font-weight: bold;" class="mycode_b">cyberpanel</span>, that websites can pass visitors to. Save the file and restart LiteSpeed:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/bin/lswsctrl restart</code></div></div>Check that your sites still load. If LiteSpeed doesn't come back, copy the backup over the file and restart again.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Send the website to the panel</span></span><br />
In CyberPanel open <span style="font-weight: bold;" class="mycode_b">Websites → panel.yourdomain.com → Config → Rewrite Rules</span>, replace what's there with these two lines and click <span style="font-weight: bold;" class="mycode_b">Save Rewrite Rules</span>:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RewriteEngine On
RewriteRule ^(.*)&#36; HTTP://cyberpanel/&#36;1 [P,L]</code></div></div><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=721" target="_blank" title="">cyberpanel-rewrite-rule-proxy-to-panel.jpg</a> (Size: 90.93 KB / Downloads: 35)
<!-- end: postbit_attachments_attachment --><br />
The name after <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>HTTP://</code></div></div> must match the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>&lt;name&gt;</code></div></div> from step 2. It's a name, not a web address.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Log in through the domain</span></span><br />
Open <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://panel.yourdomain.com</code></div></div>. You get the CyberPanel login page with the padlock, and after logging in, the dashboard:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=722" target="_blank" title="">cyberpanel-dashboard-on-domain-without-port-8090.jpg</a> (Size: 138.29 KB / Downloads: 31)
<!-- end: postbit_attachments_attachment --><br />
We also opened the website list, the file manager, the phpMyAdmin page, the SpamAssassin page and the LiteSpeed status page through the domain. All loaded, and the dashboard's live numbers updated normally.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">The shortcut that doesn't work</span></span><br />
You can skip step 2 and point the rewrite rule straight at the port:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RewriteRule ^(.*)&#36; https://127.0.0.1:8090/&#36;1 [P,L]</code></div></div>We tried this first. The login page loaded fine, which makes it look finished. But logging in just dropped us back on the login page, every time. Behind the scenes the panel answered the login with <span style="font-weight: bold;" class="mycode_b">403, CSRF verification failed</span>. CyberPanel checks that a login comes from the same address the panel thinks it's running on, and with this shortcut the panel doesn't see your domain name. With the named proxy from step 2, the same login worked.<br />
<br />
So if you're stuck on the login page after setting this up, check your rewrite rule. It has to use the name (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>HTTP://cyberpanel/</code></div></div>), not the IP and port.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Port 8090 still works.</span> This adds a second door, it doesn't close the first. The old <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8090</code></div></div> address keeps working, and it's your way back in if the website or its certificate ever breaks. We left it open.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">You log in again on the new address.</span> Browsers keep logins per address, so being logged in on :8090 doesn't carry over.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Keep the backup.</span> You edited the web server's main config by hand. After a LiteSpeed or CyberPanel upgrade, check that the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cyberpanel</code></div></div> block is still there if the domain stops working.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Undo:</span> remove the two rewrite lines from the website, remove the block from <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>httpd_config.xml</code></div></div> (or restore the backup) and restart LiteSpeed.<br />
</li>
</ul>
<br />
Questions, or a login that still bounces back? Reply below and tell us which rewrite rule you used (hide your server IP first).]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Wildcard SSL on CyberPanel with acme.sh and a Manual DNS Record]]></title>
			<link>https://adminsforum.com/Thread-guide-wildcard-ssl-on-cyberpanel-with-acme-sh-and-a-manual-dns-record</link>
			<pubDate>Sat, 14 Nov 2026 22:54:10 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-wildcard-ssl-on-cyberpanel-with-acme-sh-and-a-manual-dns-record</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Wildcard SSL on CyberPanel with acme.sh and a Manual DNS Record (Tested)</span></span><br />
<br />
A wildcard certificate covers every subdomain at once: <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>*.yourdomain.com</code></div></div> is valid for shop.yourdomain.com, app.yourdomain.com and anything else you make up later. CyberPanel's normal SSL button can't issue one, because Let's Encrypt only gives wildcards after you prove you control the domain's <span style="font-weight: bold;" class="mycode_b">DNS</span>. You can still get one for free with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>acme.sh</code></div></div>, which CyberPanel already installs. We did it on a CyberPanel 3.0.8 server without any DNS API key: we added two TXT records by hand (our DNS is at Cloudflare, but any DNS host works).<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Know the trade-off first:</span> done by hand, the certificate does <span style="font-weight: bold;" class="mycode_b">not</span> renew by itself. It's valid for 90 days, and you repeat steps 2 to 4 before it runs out. More on that at the end.<br />
<br />
Below, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>yourdomain.com</code></div></div> is the website in CyberPanel that should answer for all subdomains. Ours was itself a subdomain, which works the same way.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Point all subdomains at the server</span></span><br />
In your DNS, add one A record with the name <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>*</code></div></div> (a star) pointing to your server IP. At Cloudflare, set it to <span style="font-weight: bold;" class="mycode_b">DNS only</span> (grey cloud). Subdomains that have their own record keep it. The star only catches the rest.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Ask for the certificate</span></span><br />
Over SSH as root:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/root/.acme.sh/acme.sh --issue -d yourdomain.com -d "*.yourdomain.com" --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --server letsencrypt</code></div></div>The long option is real. It's acme.sh's way of making sure you know that manual mode can't renew by itself. The command stops and prints two blocks like this:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Add the following TXT record:
Domain: '_acme-challenge.yourdomain.com'
TXT value: 'CyX27L-gRHvJdxQgSDlVtdh0hrKv--6qIBRLKTmPYiY'</code></div></div>You get <span style="font-weight: bold;" class="mycode_b">two different values</span> for the <span style="font-weight: bold;" class="mycode_b">same name</span>: one for the domain itself and one for the wildcard. You need both.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Add the two TXT records</span></span><br />
In your DNS, add a TXT record named <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>_acme-challenge</code></div></div> with the first value. (For a subdomain like ours, the name is <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>_acme-challenge.sub</code></div></div>.) At Cloudflare: <span style="font-weight: bold;" class="mycode_b">DNS → Records → Add record</span>, Type <span style="font-weight: bold;" class="mycode_b">TXT</span>.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=719" target="_blank" title="">cloudflare-acme-challenge-txt-record-wildcard-ssl.jpg</a> (Size: 105.07 KB / Downloads: 31)
<!-- end: postbit_attachments_attachment --><br />
<br />
Then add a <span style="font-weight: bold;" class="mycode_b">second</span> TXT record with the same name and the second value. Don't edit the first one. Both have to exist together:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=720" target="_blank" title="">cloudflare-two-acme-challenge-txt-records.jpg</a> (Size: 129.78 KB / Downloads: 31)
<!-- end: postbit_attachments_attachment --><br />
<br />
Check that the world can see them before you go on:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>dig +short TXT _acme-challenge.yourdomain.com @1.1.1.1</code></div></div>It should print both values. With Cloudflare ours showed up within a minute. Other DNS hosts can take longer.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Finish the certificate</span></span><br />
Run the same command again, with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>--renew</code></div></div> instead of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>--issue</code></div></div> (and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>--ecc</code></div></div>, because acme.sh made an ECC key):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/root/.acme.sh/acme.sh --renew -d yourdomain.com -d "*.yourdomain.com" --ecc --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --server letsencrypt</code></div></div>Ours took about ten seconds:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Verifying: yourdomain.com
Success
Verifying: *.yourdomain.com
Success
Cert success.</code></div></div>You can delete the two TXT records now. They were only needed for this check.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 5: Put the certificate on the website</span></span><br />
CyberPanel keeps each site's certificate in <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/letsencrypt/live/yourdomain.com/</code></div></div>. Back up what's there, then let acme.sh copy the new files in and restart the web server:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mkdir -p /root/ssl-backup
cp -a /etc/letsencrypt/live/yourdomain.com/*.pem /root/ssl-backup/

/root/.acme.sh/acme.sh --install-cert -d yourdomain.com --ecc &#92;
  --fullchain-file /etc/letsencrypt/live/yourdomain.com/fullchain.pem &#92;
  --key-file /etc/letsencrypt/live/yourdomain.com/privkey.pem &#92;
  --reloadcmd "/usr/local/lsws/bin/lswsctrl restart"</code></div></div>Check what the site now uses:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>openssl x509 -in /etc/letsencrypt/live/yourdomain.com/fullchain.pem -noout -enddate -ext subjectAltName</code></div></div>Ours printed <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>DNS:*.yourdomain.com, DNS:yourdomain.com</code></div></div> and an end date 90 days away.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 6: Make the website answer for every subdomain</span></span><br />
The certificate is ready, but the website also has to accept the extra names. Our server runs <span style="font-weight: bold;" class="mycode_b">LiteSpeed Enterprise</span>, where the site config is Apache-style. Open <span style="font-weight: bold;" class="mycode_b">Websites → your site → Config → vHost Conf</span> and add the wildcard to <span style="font-weight: bold;" class="mycode_b">both</span> <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ServerAlias</code></div></div> lines (one for http, one for https):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ServerAlias www.yourdomain.com *.yourdomain.com</code></div></div>Save, then restart:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/bin/lswsctrl restart</code></div></div><span style="font-weight: bold;" class="mycode_b">On OpenLiteSpeed</span> (the free default) the vHost Conf looks different and has no ServerAlias line. We tested this step on LiteSpeed Enterprise only.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Our test results</span></span><br />
We opened subdomains that we had never created anywhere:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>yourdomain.com            200, certificate valid
anything.yourdomain.com   200, certificate valid (wildcard)
shop.yourdomain.com       200, certificate valid (wildcard)</code></div></div>Both invented names showed the main site with a valid padlock. Two subdomains that already existed as <span style="font-weight: bold;" class="mycode_b">their own websites</span> in CyberPanel kept working as before, each with its own certificate. A separate website always wins over the wildcard.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Renewal: the part you must not forget</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Set a reminder for about 60 days from now.</span> Then run step 2 again with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>--renew --force</code></div></div> added. acme.sh prints two new TXT values. Add them, run step 4, and the certificate is copied to the site automatically (acme.sh remembers step 5). We haven't done a second round yet, since ours is new.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Don't click Issue SSL for this site in CyberPanel.</span> That would get a normal certificate for the one domain and put it in the same folder. (We didn't test what happens. It's the obvious risk.) Whether CyberPanel's own renewal job touches the files later is something we can't confirm yet either, so check the certificate now and then with the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>openssl</code></div></div> line from step 5.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Want it automatic?</span> acme.sh can add and remove the TXT records itself if you give it an API token from your DNS host (for Cloudflare, the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>dns_cf</code></div></div> method). Then renewal needs no hands. We didn't test that here.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Going back:</span> copy the files from <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/root/ssl-backup/</code></div></div> back, remove <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>*.yourdomain.com</code></div></div> from the ServerAlias lines and restart.<br />
</li>
</ul>
<br />
Questions, or a step that fails? Reply below with the acme.sh output (hide your server IP first).]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Wildcard SSL on CyberPanel with acme.sh and a Manual DNS Record (Tested)</span></span><br />
<br />
A wildcard certificate covers every subdomain at once: <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>*.yourdomain.com</code></div></div> is valid for shop.yourdomain.com, app.yourdomain.com and anything else you make up later. CyberPanel's normal SSL button can't issue one, because Let's Encrypt only gives wildcards after you prove you control the domain's <span style="font-weight: bold;" class="mycode_b">DNS</span>. You can still get one for free with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>acme.sh</code></div></div>, which CyberPanel already installs. We did it on a CyberPanel 3.0.8 server without any DNS API key: we added two TXT records by hand (our DNS is at Cloudflare, but any DNS host works).<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Know the trade-off first:</span> done by hand, the certificate does <span style="font-weight: bold;" class="mycode_b">not</span> renew by itself. It's valid for 90 days, and you repeat steps 2 to 4 before it runs out. More on that at the end.<br />
<br />
Below, <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>yourdomain.com</code></div></div> is the website in CyberPanel that should answer for all subdomains. Ours was itself a subdomain, which works the same way.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Point all subdomains at the server</span></span><br />
In your DNS, add one A record with the name <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>*</code></div></div> (a star) pointing to your server IP. At Cloudflare, set it to <span style="font-weight: bold;" class="mycode_b">DNS only</span> (grey cloud). Subdomains that have their own record keep it. The star only catches the rest.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Ask for the certificate</span></span><br />
Over SSH as root:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/root/.acme.sh/acme.sh --issue -d yourdomain.com -d "*.yourdomain.com" --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --server letsencrypt</code></div></div>The long option is real. It's acme.sh's way of making sure you know that manual mode can't renew by itself. The command stops and prints two blocks like this:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Add the following TXT record:
Domain: '_acme-challenge.yourdomain.com'
TXT value: 'CyX27L-gRHvJdxQgSDlVtdh0hrKv--6qIBRLKTmPYiY'</code></div></div>You get <span style="font-weight: bold;" class="mycode_b">two different values</span> for the <span style="font-weight: bold;" class="mycode_b">same name</span>: one for the domain itself and one for the wildcard. You need both.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Add the two TXT records</span></span><br />
In your DNS, add a TXT record named <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>_acme-challenge</code></div></div> with the first value. (For a subdomain like ours, the name is <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>_acme-challenge.sub</code></div></div>.) At Cloudflare: <span style="font-weight: bold;" class="mycode_b">DNS → Records → Add record</span>, Type <span style="font-weight: bold;" class="mycode_b">TXT</span>.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=719" target="_blank" title="">cloudflare-acme-challenge-txt-record-wildcard-ssl.jpg</a> (Size: 105.07 KB / Downloads: 31)
<!-- end: postbit_attachments_attachment --><br />
<br />
Then add a <span style="font-weight: bold;" class="mycode_b">second</span> TXT record with the same name and the second value. Don't edit the first one. Both have to exist together:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=720" target="_blank" title="">cloudflare-two-acme-challenge-txt-records.jpg</a> (Size: 129.78 KB / Downloads: 31)
<!-- end: postbit_attachments_attachment --><br />
<br />
Check that the world can see them before you go on:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>dig +short TXT _acme-challenge.yourdomain.com @1.1.1.1</code></div></div>It should print both values. With Cloudflare ours showed up within a minute. Other DNS hosts can take longer.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Finish the certificate</span></span><br />
Run the same command again, with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>--renew</code></div></div> instead of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>--issue</code></div></div> (and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>--ecc</code></div></div>, because acme.sh made an ECC key):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/root/.acme.sh/acme.sh --renew -d yourdomain.com -d "*.yourdomain.com" --ecc --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please --server letsencrypt</code></div></div>Ours took about ten seconds:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Verifying: yourdomain.com
Success
Verifying: *.yourdomain.com
Success
Cert success.</code></div></div>You can delete the two TXT records now. They were only needed for this check.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 5: Put the certificate on the website</span></span><br />
CyberPanel keeps each site's certificate in <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/letsencrypt/live/yourdomain.com/</code></div></div>. Back up what's there, then let acme.sh copy the new files in and restart the web server:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mkdir -p /root/ssl-backup
cp -a /etc/letsencrypt/live/yourdomain.com/*.pem /root/ssl-backup/

/root/.acme.sh/acme.sh --install-cert -d yourdomain.com --ecc &#92;
  --fullchain-file /etc/letsencrypt/live/yourdomain.com/fullchain.pem &#92;
  --key-file /etc/letsencrypt/live/yourdomain.com/privkey.pem &#92;
  --reloadcmd "/usr/local/lsws/bin/lswsctrl restart"</code></div></div>Check what the site now uses:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>openssl x509 -in /etc/letsencrypt/live/yourdomain.com/fullchain.pem -noout -enddate -ext subjectAltName</code></div></div>Ours printed <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>DNS:*.yourdomain.com, DNS:yourdomain.com</code></div></div> and an end date 90 days away.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 6: Make the website answer for every subdomain</span></span><br />
The certificate is ready, but the website also has to accept the extra names. Our server runs <span style="font-weight: bold;" class="mycode_b">LiteSpeed Enterprise</span>, where the site config is Apache-style. Open <span style="font-weight: bold;" class="mycode_b">Websites → your site → Config → vHost Conf</span> and add the wildcard to <span style="font-weight: bold;" class="mycode_b">both</span> <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ServerAlias</code></div></div> lines (one for http, one for https):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ServerAlias www.yourdomain.com *.yourdomain.com</code></div></div>Save, then restart:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/usr/local/lsws/bin/lswsctrl restart</code></div></div><span style="font-weight: bold;" class="mycode_b">On OpenLiteSpeed</span> (the free default) the vHost Conf looks different and has no ServerAlias line. We tested this step on LiteSpeed Enterprise only.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Our test results</span></span><br />
We opened subdomains that we had never created anywhere:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>yourdomain.com            200, certificate valid
anything.yourdomain.com   200, certificate valid (wildcard)
shop.yourdomain.com       200, certificate valid (wildcard)</code></div></div>Both invented names showed the main site with a valid padlock. Two subdomains that already existed as <span style="font-weight: bold;" class="mycode_b">their own websites</span> in CyberPanel kept working as before, each with its own certificate. A separate website always wins over the wildcard.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Renewal: the part you must not forget</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Set a reminder for about 60 days from now.</span> Then run step 2 again with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>--renew --force</code></div></div> added. acme.sh prints two new TXT values. Add them, run step 4, and the certificate is copied to the site automatically (acme.sh remembers step 5). We haven't done a second round yet, since ours is new.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Don't click Issue SSL for this site in CyberPanel.</span> That would get a normal certificate for the one domain and put it in the same folder. (We didn't test what happens. It's the obvious risk.) Whether CyberPanel's own renewal job touches the files later is something we can't confirm yet either, so check the certificate now and then with the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>openssl</code></div></div> line from step 5.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Want it automatic?</span> acme.sh can add and remove the TXT records itself if you give it an API token from your DNS host (for Cloudflare, the <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>dns_cf</code></div></div> method). Then renewal needs no hands. We didn't test that here.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Going back:</span> copy the files from <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/root/ssl-backup/</code></div></div> back, remove <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>*.yourdomain.com</code></div></div> from the ServerAlias lines and restart.<br />
</li>
</ul>
<br />
Questions, or a step that fails? Reply below with the acme.sh output (hide your server IP first).]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Run a Node.js App on CyberPanel Behind Your Domain with SSL]]></title>
			<link>https://adminsforum.com/Thread-guide-run-a-node-js-app-on-cyberpanel-behind-your-domain-with-ssl</link>
			<pubDate>Sat, 14 Nov 2026 22:12:29 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-run-a-node-js-app-on-cyberpanel-behind-your-domain-with-ssl</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Run a Node.js App on CyberPanel Behind Your Domain with SSL (Tested)</span></span><br />
<br />
CyberPanel is built around PHP sites, and it has no "Node.js app" button. But you can still host a Node.js app on the same server: the app runs on a private port, a small service keeps it alive, and your CyberPanel website passes visitors to it, with the SSL certificate CyberPanel already manages. We set this up on a CyberPanel 3.0.8 server (Ubuntu 24.04) and tested each step.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Which web server:</span> our test server runs <span style="font-weight: bold;" class="mycode_b">LiteSpeed Enterprise</span>. Steps 1 to 3 are the same on any CyberPanel server. Step 4 (the proxy rule) is different on OpenLiteSpeed. See the note there.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Install Node.js</span></span><br />
Over SSH as root. Ubuntu 24.04's own package is the old Node.js 18 (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>apt-cache policy nodejs</code></div></div> showed 18.19.1 for us), so we used the NodeSource repository for version 22:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>curl -fsSL https://deb.nodesource.com/setup_22.x -o /root/nodesource_setup.sh
bash /root/nodesource_setup.sh
apt-get install -y nodejs
node -v
npm -v</code></div></div>We got <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>v22.23.5</code></div></div> and npm <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>10.9.9</code></div></div>.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Put the app in the website's home folder</span></span><br />
Create a normal website in CyberPanel for the domain first (with SSL). CyberPanel gives every website its own Linux user. Find it:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>stat -c %U /home/yourdomain.com/public_html</code></div></div>Ours was <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cours5268</code></div></div>. We'll run the app as this user, not as root, so a bug in the app can't touch the rest of the server.<br />
<br />
Put the app <span style="font-weight: bold;" class="mycode_b">next to</span> public_html, not inside it, so nobody can download your source files through the web server:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mkdir -p /home/yourdomain.com/nodeapp</code></div></div>Our test app, saved as <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/home/yourdomain.com/nodeapp/app.js</code></div></div>:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>const http = require('http');

const server = http.createServer((req, res) =&gt; {
  res.writeHead(200, { 'Content-Type': 'text/plain' });
  res.end('Hello from Node.js ' + process.version + '&#92;n' + 'URL: ' + req.url + '&#92;n');
});

server.listen(3100, '127.0.0.1', () =&gt; {
  console.log('App listening on 127.0.0.1:3100');
});</code></div></div>Two details matter here:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Listen on 127.0.0.1</span>, not on all addresses. Then the app can only be reached from the server itself, and you don't open any firewall port.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Check the port is free first.</span> We started with port 3000 and the app crashed with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Error: listen EADDRINUSE: address already in use 127.0.0.1:3000</code></div></div>. Another program on our server already used 3000. Check with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ss -ltnp | grep :3000</code></div></div>. No output means the port is free. We moved to 3100.<br />
</li>
</ul>
Give the folder to the website's user:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>chown -R cours5268:cours5268 /home/yourdomain.com/nodeapp</code></div></div><br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Keep it running with a service</span></span><br />
Create <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/systemd/system/nodeapp.service</code></div></div> (use your user and domain):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>[Unit]
Description=Node.js app for yourdomain.com
After=network.target

[Service]
User=cours5268
WorkingDirectory=/home/yourdomain.com/nodeapp
ExecStart=/usr/bin/node app.js
Restart=always
Environment=NODE_ENV=production

[Install]
WantedBy=multi-user.target</code></div></div>Start it, and make it start after every reboot:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>systemctl daemon-reload
systemctl enable --now nodeapp
systemctl status nodeapp --no-pager
curl http://127.0.0.1:3100/test</code></div></div>Ours showed <span style="font-weight: bold;" class="mycode_b">active (running)</span>, about 8 MB of memory, and:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Hello from Node.js v22.23.5
URL: /test</code></div></div>We also killed the app on purpose (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>pkill -f "node app.js"</code></div></div>). Two seconds later the service had started it again and it answered normally. That's what <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Restart=always</code></div></div> is for.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Send the domain to the app</span></span><br />
In CyberPanel open <span style="font-weight: bold;" class="mycode_b">Websites → your site → Config → Rewrite Rules</span>, replace what's there with these two lines and click <span style="font-weight: bold;" class="mycode_b">Save Rewrite Rules</span>:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RewriteEngine On
RewriteRule ^(.*)&#36; http://127.0.0.1:3100/&#36;1 [P,L]</code></div></div><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=718" target="_blank" title="">cyberpanel-rewrite-rules-nodejs-proxy.jpg</a> (Size: 90.05 KB / Downloads: 31)
<!-- end: postbit_attachments_attachment --><br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>[P]</code></div></div> means "proxy": the web server fetches each page from your app and hands it to the visitor.<br />
<br />
We opened <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://yourdomain.com/hello?name=test</code></div></div> in a browser and got, with the padlock:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Hello from Node.js v22.23.5
URL: /hello?name=test</code></div></div>The path and the query string arrive in the app unchanged. It worked right after saving, without restarting the web server.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">On OpenLiteSpeed (the free default):</span> a <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>[P]</code></div></div> rule can't point at a raw address like this. You first define the app as an external app (a proxy to <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>127.0.0.1:3100</code></div></div>) in the site's vHost Conf, and the rule uses that app's name. We tested this guide on LiteSpeed Enterprise only. Our Docker Manager guide in the Docker section of this forum shows the OpenLiteSpeed way of putting an app on a private port behind a domain.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Day-to-day commands</span></span><br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>systemctl restart nodeapp                 # after you change the code
journalctl -u nodeapp -n 50 --no-pager    # the app's output and errors
systemctl stop nodeapp                    # stop it
systemctl disable --now nodeapp           # stop it and don't start at boot</code></div></div>The <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>journalctl</code></div></div> line is how we found the port problem above. Everything your app prints with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>console.log</code></div></div> lands there.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">A real app</span> needs its packages: run <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>npm install</code></div></div> in the app folder as the website's user, for example <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>sudo -u cours5268 npm install</code></div></div> from inside the folder.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">More than one app:</span> give each its own port, its own service file (nodeapp2.service...) and its own website.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">WebSockets</span> (live chat, socket.io): this rule alone does not pass them. They need one extra rule. See our <a href="https://adminsforum.com/Thread-guide-websockets-on-cyberpanel-the-extra-rewrite-rule-your-node-js-app-needs" target="_blank" rel="noopener" class="mycode_url">WebSockets on CyberPanel guide</a>.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Everything goes to the app.</span> With this rule, files in public_html are no longer served. If you want the web server to serve static files itself, you need a narrower rule.<br />
</li>
</ul>
<br />
Questions, or an app that won't start? Reply below with the lines from <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>journalctl -u nodeapp</code></div></div> (hide your server IP and domain first).]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Run a Node.js App on CyberPanel Behind Your Domain with SSL (Tested)</span></span><br />
<br />
CyberPanel is built around PHP sites, and it has no "Node.js app" button. But you can still host a Node.js app on the same server: the app runs on a private port, a small service keeps it alive, and your CyberPanel website passes visitors to it, with the SSL certificate CyberPanel already manages. We set this up on a CyberPanel 3.0.8 server (Ubuntu 24.04) and tested each step.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Which web server:</span> our test server runs <span style="font-weight: bold;" class="mycode_b">LiteSpeed Enterprise</span>. Steps 1 to 3 are the same on any CyberPanel server. Step 4 (the proxy rule) is different on OpenLiteSpeed. See the note there.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 1: Install Node.js</span></span><br />
Over SSH as root. Ubuntu 24.04's own package is the old Node.js 18 (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>apt-cache policy nodejs</code></div></div> showed 18.19.1 for us), so we used the NodeSource repository for version 22:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>curl -fsSL https://deb.nodesource.com/setup_22.x -o /root/nodesource_setup.sh
bash /root/nodesource_setup.sh
apt-get install -y nodejs
node -v
npm -v</code></div></div>We got <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>v22.23.5</code></div></div> and npm <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>10.9.9</code></div></div>.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 2: Put the app in the website's home folder</span></span><br />
Create a normal website in CyberPanel for the domain first (with SSL). CyberPanel gives every website its own Linux user. Find it:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>stat -c %U /home/yourdomain.com/public_html</code></div></div>Ours was <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>cours5268</code></div></div>. We'll run the app as this user, not as root, so a bug in the app can't touch the rest of the server.<br />
<br />
Put the app <span style="font-weight: bold;" class="mycode_b">next to</span> public_html, not inside it, so nobody can download your source files through the web server:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mkdir -p /home/yourdomain.com/nodeapp</code></div></div>Our test app, saved as <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/home/yourdomain.com/nodeapp/app.js</code></div></div>:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>const http = require('http');

const server = http.createServer((req, res) =&gt; {
  res.writeHead(200, { 'Content-Type': 'text/plain' });
  res.end('Hello from Node.js ' + process.version + '&#92;n' + 'URL: ' + req.url + '&#92;n');
});

server.listen(3100, '127.0.0.1', () =&gt; {
  console.log('App listening on 127.0.0.1:3100');
});</code></div></div>Two details matter here:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Listen on 127.0.0.1</span>, not on all addresses. Then the app can only be reached from the server itself, and you don't open any firewall port.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Check the port is free first.</span> We started with port 3000 and the app crashed with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Error: listen EADDRINUSE: address already in use 127.0.0.1:3000</code></div></div>. Another program on our server already used 3000. Check with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>ss -ltnp | grep :3000</code></div></div>. No output means the port is free. We moved to 3100.<br />
</li>
</ul>
Give the folder to the website's user:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>chown -R cours5268:cours5268 /home/yourdomain.com/nodeapp</code></div></div><br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 3: Keep it running with a service</span></span><br />
Create <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/systemd/system/nodeapp.service</code></div></div> (use your user and domain):<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>[Unit]
Description=Node.js app for yourdomain.com
After=network.target

[Service]
User=cours5268
WorkingDirectory=/home/yourdomain.com/nodeapp
ExecStart=/usr/bin/node app.js
Restart=always
Environment=NODE_ENV=production

[Install]
WantedBy=multi-user.target</code></div></div>Start it, and make it start after every reboot:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>systemctl daemon-reload
systemctl enable --now nodeapp
systemctl status nodeapp --no-pager
curl http://127.0.0.1:3100/test</code></div></div>Ours showed <span style="font-weight: bold;" class="mycode_b">active (running)</span>, about 8 MB of memory, and:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Hello from Node.js v22.23.5
URL: /test</code></div></div>We also killed the app on purpose (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>pkill -f "node app.js"</code></div></div>). Two seconds later the service had started it again and it answered normally. That's what <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Restart=always</code></div></div> is for.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Step 4: Send the domain to the app</span></span><br />
In CyberPanel open <span style="font-weight: bold;" class="mycode_b">Websites → your site → Config → Rewrite Rules</span>, replace what's there with these two lines and click <span style="font-weight: bold;" class="mycode_b">Save Rewrite Rules</span>:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>RewriteEngine On
RewriteRule ^(.*)&#36; http://127.0.0.1:3100/&#36;1 [P,L]</code></div></div><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=718" target="_blank" title="">cyberpanel-rewrite-rules-nodejs-proxy.jpg</a> (Size: 90.05 KB / Downloads: 31)
<!-- end: postbit_attachments_attachment --><br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>[P]</code></div></div> means "proxy": the web server fetches each page from your app and hands it to the visitor.<br />
<br />
We opened <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://yourdomain.com/hello?name=test</code></div></div> in a browser and got, with the padlock:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Hello from Node.js v22.23.5
URL: /hello?name=test</code></div></div>The path and the query string arrive in the app unchanged. It worked right after saving, without restarting the web server.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">On OpenLiteSpeed (the free default):</span> a <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>[P]</code></div></div> rule can't point at a raw address like this. You first define the app as an external app (a proxy to <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>127.0.0.1:3100</code></div></div>) in the site's vHost Conf, and the rule uses that app's name. We tested this guide on LiteSpeed Enterprise only. Our Docker Manager guide in the Docker section of this forum shows the OpenLiteSpeed way of putting an app on a private port behind a domain.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Day-to-day commands</span></span><br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>systemctl restart nodeapp                 # after you change the code
journalctl -u nodeapp -n 50 --no-pager    # the app's output and errors
systemctl stop nodeapp                    # stop it
systemctl disable --now nodeapp           # stop it and don't start at boot</code></div></div>The <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>journalctl</code></div></div> line is how we found the port problem above. Everything your app prints with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>console.log</code></div></div> lands there.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Good to know</span></span><ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">A real app</span> needs its packages: run <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>npm install</code></div></div> in the app folder as the website's user, for example <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>sudo -u cours5268 npm install</code></div></div> from inside the folder.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">More than one app:</span> give each its own port, its own service file (nodeapp2.service...) and its own website.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">WebSockets</span> (live chat, socket.io): this rule alone does not pass them. They need one extra rule. See our <a href="https://adminsforum.com/Thread-guide-websockets-on-cyberpanel-the-extra-rewrite-rule-your-node-js-app-needs" target="_blank" rel="noopener" class="mycode_url">WebSockets on CyberPanel guide</a>.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Everything goes to the app.</span> With this rule, files in public_html are no longer served. If you want the web server to serve static files itself, you need a narrower rule.<br />
</li>
</ul>
<br />
Questions, or an app that won't start? Reply below with the lines from <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>journalctl -u nodeapp</code></div></div> (hide your server IP and domain first).]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CyberPanel MailScanner on Ubuntu 24.04: It Held All Our Mail (Test and Rollback)]]></title>
			<link>https://adminsforum.com/Thread-guide-cyberpanel-mailscanner-on-ubuntu-24-04-it-held-all-our-mail-test-and-rollback</link>
			<pubDate>Sat, 14 Nov 2026 22:10:17 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://adminsforum.com/member.php?action=profile&uid=1">JAY</a>]]></dc:creator>
			<guid isPermaLink="false">https://adminsforum.com/Thread-guide-cyberpanel-mailscanner-on-ubuntu-24-04-it-held-all-our-mail-test-and-rollback</guid>
			<description><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CyberPanel MailScanner on Ubuntu 24.04: It Held All Our Incoming Mail (Test and Rollback)</span></span><br />
<br />
CyberPanel has a free one-click <span style="font-weight: bold;" class="mycode_b">MailScanner</span> installer (spam and virus scanning for email, with the MailWatch web interface). We tested it on a CyberPanel 3.0.8 server with Ubuntu 24.04. The panel said <span style="font-weight: bold;" class="mycode_b">MailScanner is installed</span>, but after that every incoming message got stuck in a queue and never reached the mailbox. Here's what we saw, how to check your own server, and how we got mail flowing again.<br />
<br />
This is a test report from one server. If it works for you on another system, please tell us below.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What the installer does</span></span><br />
Go to <span style="font-weight: bold;" class="mycode_b">Email → MailScanner</span> (or <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8090/emailPremium/MailScanner</code></div></div>) and click <span style="font-weight: bold;" class="mycode_b">Install Now</span>.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=716" target="_blank" title="">cyberpanel-mailscanner-not-installed.jpg</a> (Size: 77.54 KB / Downloads: 23)
<!-- end: postbit_attachments_attachment --><br />
<br />
The install took a few minutes. From the log on the page:<ul class="mycode_list"><li>It removed the packages <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>libmariadb-dev</code></div></div> and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>libmariadb-dev-compat</code></div></div> and installed <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>libmysqlclient-dev</code></div></div> instead.<br />
</li>
<li>It installed ClamAV (the virus scanner), MailScanner 5.4.4 and MailWatch.<br />
</li>
<li>At the very end it printed the MailWatch address (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8090/mailwatch/mailscanner</code></div></div>), the user <span style="font-weight: bold;" class="mycode_b">admin</span> and a generated password.<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b">Copy that password straight away.</span> A moment later the page reloaded by itself, the log was gone, and all that was left was this:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=717" target="_blank" title="">cyberpanel-mailscanner-installed.jpg</a> (Size: 96.26 KB / Downloads: 21)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What went wrong: mail stuck "on hold"</span></span><br />
MailScanner works by telling Postfix (the mail server) to put every new message on hold. MailScanner then picks the message up, scans it and passes it on. The installer set that up. We found this line in <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/postfix/header_checks</code></div></div>:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/^Received:/ HOLD</code></div></div>We then sent three test messages to a mailbox on the server (a normal one, a spam test and a virus test). None arrived. A minute later all three were still waiting:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mailq</code></div></div>Messages on hold have a <span style="font-weight: bold;" class="mycode_b">!</span> after their ID:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>55052A1636!     490 Sat Nov 14 14:04:11  tester@example.net
                                         info@yourdomain.com
-- 1 Kbytes in 3 Requests.</code></div></div>The MailScanner service was running (its processes said <span style="font-style: italic;" class="mycode_i">waiting for messages</span>), but it never took the messages. Restarting it didn't help. Its log (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>journalctl -u mailscanner</code></div></div>) showed errors on every start:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Could not use Custom Function code /usr/share/MailScanner/perl/custom/MailWatch.pm ...
Can't locate DBD/MariaDB.pm in @INC (you may need to install the DBD::MariaDB module)</code></div></div>The same error appeared for <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>SQLBlackWhiteList.pm</code></div></div> and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>SQLSpamSettings.pm</code></div></div>. MailScanner's own self-test (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>MailScanner --lint</code></div></div>) added a second problem: it listed no virus scanner at all (<span style="font-style: italic;" class="mycode_i">Found these virus scanners installed:</span> followed by nothing).<br />
<br />
We tried the obvious fix, installing the missing Perl module with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>apt install libdbd-mariadb-perl</code></div></div>. On our server apt answered that the package has no installation candidate. We stopped there. We can't say for sure which of these problems kept the mail on hold, only that on this server the one-click install didn't produce a working scanner, and that all incoming mail was held while it was installed.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Check your own server</span></span><br />
If you installed MailScanner and mail seems to have stopped, run:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mailq | grep -c '!'</code></div></div>That counts the messages on hold. If the number keeps growing and nothing reaches your mailboxes, you have the same problem. The mail isn't lost. It's waiting, and the steps below release it.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Rollback: remove MailScanner and release the mail</span></span><br />
CyberPanel ships an uninstaller. Over SSH as root:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>bash /usr/local/CyberCP/CPScripts/mailscanneruninstaller.sh</code></div></div>It stops and removes MailScanner, changes the hold rule in <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/postfix/header_checks</code></div></div> to <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>IGNORE</code></div></div>, deletes the MailWatch files and restarts Postfix and Dovecot.<br />
<br />
Messages that were already on hold stay there until you release them:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>postsuper -H ALL
postqueue -f</code></div></div>On our server this answered <span style="font-style: italic;" class="mycode_i">Released from hold: 3 messages</span>. A few seconds later <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mailq</code></div></div> said <span style="font-style: italic;" class="mycode_i">Mail queue is empty</span>, and our test messages were in the mailbox.<br />
<br />
After the rollback, Postfix, Dovecot and our existing SpamAssassin setup were all still running. The uninstaller doesn't put everything back, though. The ClamAV packages stay installed, and so does the package swap from the start (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>libmysqlclient-dev</code></div></div> instead of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>libmariadb-dev</code></div></div>).<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What to use instead</span></span><br />
For spam filtering, CyberPanel's free SpamAssassin installer worked for us on the same server, with one small fix. See our guide: <a href="https://adminsforum.com/Thread-guide-cyberpanel-spamassassin-install-it-fix-the-restart-bug-send-spam-to-junk" target="_blank" rel="noopener" class="mycode_url">CyberPanel SpamAssassin: Install It, Fix the Restart Bug, Send Spam to Junk</a>. It doesn't scan for viruses, but it doesn't touch the mail queue either.<br />
<br />
If you want to try MailScanner anyway:<ul class="mycode_list"><li>Try it on a test server first, not on a server with live mailboxes.<br />
</li>
<li>Send yourself a test message from outside right after the install, and check <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mailq</code></div></div>.<br />
</li>
<li>Keep the two rollback steps above at hand.<br />
</li>
</ul>
<br />
Did MailScanner work for you on CyberPanel? Tell us your system (Ubuntu 22.04, AlmaLinux...) below, so others know where it's safe.]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">CyberPanel MailScanner on Ubuntu 24.04: It Held All Our Incoming Mail (Test and Rollback)</span></span><br />
<br />
CyberPanel has a free one-click <span style="font-weight: bold;" class="mycode_b">MailScanner</span> installer (spam and virus scanning for email, with the MailWatch web interface). We tested it on a CyberPanel 3.0.8 server with Ubuntu 24.04. The panel said <span style="font-weight: bold;" class="mycode_b">MailScanner is installed</span>, but after that every incoming message got stuck in a queue and never reached the mailbox. Here's what we saw, how to check your own server, and how we got mail flowing again.<br />
<br />
This is a test report from one server. If it works for you on another system, please tell us below.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What the installer does</span></span><br />
Go to <span style="font-weight: bold;" class="mycode_b">Email → MailScanner</span> (or <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8090/emailPremium/MailScanner</code></div></div>) and click <span style="font-weight: bold;" class="mycode_b">Install Now</span>.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=716" target="_blank" title="">cyberpanel-mailscanner-not-installed.jpg</a> (Size: 77.54 KB / Downloads: 23)
<!-- end: postbit_attachments_attachment --><br />
<br />
The install took a few minutes. From the log on the page:<ul class="mycode_list"><li>It removed the packages <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>libmariadb-dev</code></div></div> and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>libmariadb-dev-compat</code></div></div> and installed <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>libmysqlclient-dev</code></div></div> instead.<br />
</li>
<li>It installed ClamAV (the virus scanner), MailScanner 5.4.4 and MailWatch.<br />
</li>
<li>At the very end it printed the MailWatch address (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>https://YOUR-SERVER-IP:8090/mailwatch/mailscanner</code></div></div>), the user <span style="font-weight: bold;" class="mycode_b">admin</span> and a generated password.<br />
</li>
</ul>
<br />
<span style="font-weight: bold;" class="mycode_b">Copy that password straight away.</span> A moment later the page reloaded by itself, the log was gone, and all that was left was this:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://adminsforum.com/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=717" target="_blank" title="">cyberpanel-mailscanner-installed.jpg</a> (Size: 96.26 KB / Downloads: 21)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What went wrong: mail stuck "on hold"</span></span><br />
MailScanner works by telling Postfix (the mail server) to put every new message on hold. MailScanner then picks the message up, scans it and passes it on. The installer set that up. We found this line in <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/postfix/header_checks</code></div></div>:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/^Received:/ HOLD</code></div></div>We then sent three test messages to a mailbox on the server (a normal one, a spam test and a virus test). None arrived. A minute later all three were still waiting:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mailq</code></div></div>Messages on hold have a <span style="font-weight: bold;" class="mycode_b">!</span> after their ID:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>55052A1636!     490 Sat Nov 14 14:04:11  tester@example.net
                                         info@yourdomain.com
-- 1 Kbytes in 3 Requests.</code></div></div>The MailScanner service was running (its processes said <span style="font-style: italic;" class="mycode_i">waiting for messages</span>), but it never took the messages. Restarting it didn't help. Its log (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>journalctl -u mailscanner</code></div></div>) showed errors on every start:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>Could not use Custom Function code /usr/share/MailScanner/perl/custom/MailWatch.pm ...
Can't locate DBD/MariaDB.pm in @INC (you may need to install the DBD::MariaDB module)</code></div></div>The same error appeared for <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>SQLBlackWhiteList.pm</code></div></div> and <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>SQLSpamSettings.pm</code></div></div>. MailScanner's own self-test (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>MailScanner --lint</code></div></div>) added a second problem: it listed no virus scanner at all (<span style="font-style: italic;" class="mycode_i">Found these virus scanners installed:</span> followed by nothing).<br />
<br />
We tried the obvious fix, installing the missing Perl module with <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>apt install libdbd-mariadb-perl</code></div></div>. On our server apt answered that the package has no installation candidate. We stopped there. We can't say for sure which of these problems kept the mail on hold, only that on this server the one-click install didn't produce a working scanner, and that all incoming mail was held while it was installed.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Check your own server</span></span><br />
If you installed MailScanner and mail seems to have stopped, run:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mailq | grep -c '!'</code></div></div>That counts the messages on hold. If the number keeps growing and nothing reaches your mailboxes, you have the same problem. The mail isn't lost. It's waiting, and the steps below release it.<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">Rollback: remove MailScanner and release the mail</span></span><br />
CyberPanel ships an uninstaller. Over SSH as root:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>bash /usr/local/CyberCP/CPScripts/mailscanneruninstaller.sh</code></div></div>It stops and removes MailScanner, changes the hold rule in <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>/etc/postfix/header_checks</code></div></div> to <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>IGNORE</code></div></div>, deletes the MailWatch files and restarts Postfix and Dovecot.<br />
<br />
Messages that were already on hold stay there until you release them:<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>postsuper -H ALL
postqueue -f</code></div></div>On our server this answered <span style="font-style: italic;" class="mycode_i">Released from hold: 3 messages</span>. A few seconds later <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mailq</code></div></div> said <span style="font-style: italic;" class="mycode_i">Mail queue is empty</span>, and our test messages were in the mailbox.<br />
<br />
After the rollback, Postfix, Dovecot and our existing SpamAssassin setup were all still running. The uninstaller doesn't put everything back, though. The ClamAV packages stay installed, and so does the package swap from the start (<br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>libmysqlclient-dev</code></div></div> instead of <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>libmariadb-dev</code></div></div>).<br />
<br />
<span style="font-size: medium;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b">What to use instead</span></span><br />
For spam filtering, CyberPanel's free SpamAssassin installer worked for us on the same server, with one small fix. See our guide: <a href="https://adminsforum.com/Thread-guide-cyberpanel-spamassassin-install-it-fix-the-restart-bug-send-spam-to-junk" target="_blank" rel="noopener" class="mycode_url">CyberPanel SpamAssassin: Install It, Fix the Restart Bug, Send Spam to Junk</a>. It doesn't scan for viruses, but it doesn't touch the mail queue either.<br />
<br />
If you want to try MailScanner anyway:<ul class="mycode_list"><li>Try it on a test server first, not on a server with live mailboxes.<br />
</li>
<li>Send yourself a test message from outside right after the install, and check <br />
<div class="codeblock"><div class="title af-code-title"><span>Code:</span><button type="button" class="af-code-copy" aria-label="Copy code" title="Copy code"><i class="far fa-copy" aria-hidden="true"></i><span>Copy</span></button><span class="af-code-status" role="status" aria-live="polite"></span></div><div class="body" dir="ltr"><code>mailq</code></div></div>.<br />
</li>
<li>Keep the two rollback steps above at hand.<br />
</li>
</ul>
<br />
Did MailScanner work for you on CyberPanel? Tell us your system (Ubuntu 22.04, AlmaLinux...) below, so others know where it's safe.]]></content:encoded>
		</item>
	</channel>
</rss>