![]() |
|
Guide Open CyberPanel on a Domain Without :8090 (and the Login Loop to Avoid) - Printable Version +- AdminsForum (https://adminsforum.com) +-- Forum: Free & open-source control panels (https://adminsforum.com/Forum-free-open-source-control-panels) +--- Forum: CyberPanel (https://adminsforum.com/Forum-cyberpanel) +---- Forum: CyberPanel Guides & Tutorials (https://adminsforum.com/Forum-cyberpanel-guides-tutorials) +----- Forum: CyberPanel Getting Started Guides (https://adminsforum.com/Forum-cyberpanel-getting-started-guides) +----- Thread: Guide Open CyberPanel on a Domain Without :8090 (and the Login Loop to Avoid) (/Thread-guide-open-cyberpanel-on-a-domain-without-8090-and-the-login-loop-to-avoid) |
Open CyberPanel on a Domain Without :8090 (and the Login Loop to Avoid) - JAY - 11-14-2026 Open CyberPanel on a Domain Without :8090 (Tested on LiteSpeed Enterprise) CyberPanel lives on port 8090, so its address is something like Code: https://YOUR-SERVER-IP:8090Code: https://panel.yourdomain.comWhich web server: our test server runs LiteSpeed Enterprise, 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. Step 1: Create a website for the panel address In CyberPanel, create a normal website for the name you want, for example Code: panel.yourdomain.comStep 2: Tell LiteSpeed where the panel is Over SSH as root, back up the web server config, then open it: Code: cp -a /usr/local/lsws/conf/httpd_config.xml /root/httpd_config.xml.bak
nano /usr/local/lsws/conf/httpd_config.xmlCode: <extProcessorList>Code: <extProcessor>
<type>proxy</type>
<name>cyberpanel</name>
<address>https://127.0.0.1:8090</address>
<maxConns>100</maxConns>
<initTimeout>60</initTimeout>
<retryTimeout>0</retryTimeout>
<respBuffer>0</respBuffer>
</extProcessor>Code: /usr/local/lsws/bin/lswsctrl restartStep 3: Send the website to the panel In CyberPanel open Websites → panel.yourdomain.com → Config → Rewrite Rules, replace what's there with these two lines and click Save Rewrite Rules: Code: RewriteEngine On
RewriteRule ^(.*)$ HTTP://cyberpanel/$1 [P,L]The name after Code: HTTP://Code: <name>Step 4: Log in through the domain Open Code: https://panel.yourdomain.comWe 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. The shortcut that doesn't work You can skip step 2 and point the rewrite rule straight at the port: Code: RewriteRule ^(.*)$ https://127.0.0.1:8090/$1 [P,L]So if you're stuck on the login page after setting this up, check your rewrite rule. It has to use the name ( Code: HTTP://cyberpanel/Good to know
Questions, or a login that still bounces back? Reply below and tell us which rewrite rule you used (hide your server IP first). |