Control Panels
Overview
Section titled “Overview”Several hosting control panels support OpenLiteSpeed, providing a GUI for managing virtual hosts, SSL certificates, PHP versions, and more. This page covers the most common integrations.
CyberPanel
Section titled “CyberPanel”CyberPanel is the official control panel built for OpenLiteSpeed. It provides the most complete OLS integration available.
Install CyberPanel + OLS
Section titled “Install CyberPanel + OLS”sh <(curl -s https://cyberpanel.net/install.sh)During installation, select OpenLiteSpeed when prompted for the web server.
Features
Section titled “Features”- Automatic OLS virtual host management
- One-click SSL via Let’s Encrypt
- PHP version switching per site
- LiteSpeed Cache management
- Email server (Postfix + Dovecot)
- DNS server (PowerDNS)
- File manager, database manager, backup/restore
- Docker support
- Git deployment
OLS Configuration
Section titled “OLS Configuration”CyberPanel manages OLS configuration automatically. Configuration files are at:
- Server config:
/usr/local/lsws/conf/httpd_config.conf - VHost configs:
/usr/local/lsws/conf/vhosts/{domain}/vhconf.conf
CyberPanel CLI
Section titled “CyberPanel CLI”# List websitescyberpanel listWebsites
# Create website --package Default --owner admin
# Issue SSLcyberpanel issueSSL --domainName example.comUsing LiteHTTPD with CyberPanel
Section titled “Using LiteHTTPD with CyberPanel”The LiteHTTPD module works alongside CyberPanel. Install it into the OLS modules directory, and .htaccess files placed by applications (WordPress, Laravel, etc.) will be processed automatically.
aaPanel
Section titled “aaPanel”aaPanel is a popular control panel that supports OLS via a plugin.
Install aaPanel
Section titled “Install aaPanel”# CentOS/AlmaLinuxURL=https://www.aapanel.com/script/install_7.0_en.sh && \ if [ -f /usr/bin/curl ]; then curl -ksSO "$URL"; else wget --no-check-certificate -O install_7.0_en.sh "$URL"; fi && \ bash install_7.0_en.sh aapanelInstall OpenLiteSpeed Plugin
Section titled “Install OpenLiteSpeed Plugin”- Log in to the aaPanel web interface.
- Navigate to App Store.
- Search for “OpenLiteSpeed” and install.
- Follow the prompts to replace the default web server with OLS.
Configuration
Section titled “Configuration”aaPanel manages OLS configuration through its web interface. Key paths:
- Server config:
/usr/local/lsws/conf/httpd_config.conf - VHost configs: generated by aaPanel under
/usr/local/lsws/conf/vhosts/
DirectAdmin
Section titled “DirectAdmin”DirectAdmin supports OLS through the CustomBuild 2.0 system.
Switch to OLS in DirectAdmin
Section titled “Switch to OLS in DirectAdmin”cd /usr/local/directadmin/custombuild./build set webserver openlitespeed./build openlitespeed./build rewrite_confsFeatures with DirectAdmin
Section titled “Features with DirectAdmin”- Automatic vhost configuration
- PHP version management via CustomBuild
- SSL certificate management
- Per-user resource isolation
Switching Back to Apache
Section titled “Switching Back to Apache”cd /usr/local/directadmin/custombuild./build set webserver apache./build apache./build rewrite_confsOLS WebAdmin Console
Section titled “OLS WebAdmin Console”OLS ships with its own web-based administration console, independent of any control panel.
Access WebAdmin
Section titled “Access WebAdmin”The WebAdmin GUI runs on port 7080 by default:
https://your-server-ip:7080Set Admin Password
Section titled “Set Admin Password”/usr/local/lsws/admin/misc/admpass.shWebAdmin Features
Section titled “WebAdmin Features”- Server configuration (listeners, modules, tuning)
- Virtual host management
- External application setup (PHP, proxy backends)
- SSL certificate management
- Real-time server statistics
- Log viewer
- Graceful restart
Security
Section titled “Security”Restrict WebAdmin access to trusted IPs:
listener admin { address *:7080 secure 1
accessControl { allow YOUR_IP_ADDRESS deny ALL }}Panel Comparison
Section titled “Panel Comparison”| Feature | CyberPanel | aaPanel | DirectAdmin | OLS WebAdmin |
|---|---|---|---|---|
| OLS support | Native | Plugin | CustomBuild | Built-in |
| Multi-site management | Yes | Yes | Yes | Yes |
| SSL automation | Yes | Yes | Yes | Manual |
| PHP management | Yes | Yes | Yes | Manual |
| Email server | Yes | Yes | Yes | No |
| DNS management | Yes | No | Yes | No |
| File manager | Yes | Yes | Yes | No |
| Database GUI | Yes | Yes | Yes | No |
| Free tier | Yes | Yes | No | Yes (always free) |
| Best for | OLS-first hosting | General hosting | ISP/reseller | Single-server |
Troubleshooting
Section titled “Troubleshooting”Panel changes not taking effect:
- Restart OLS after panel configuration changes:
systemctl restart lsws - Check for configuration syntax errors:
/usr/local/lsws/bin/lshttpd -t
Panel cannot connect to OLS:
- Verify OLS is running:
systemctl status lsws - Check that the WebAdmin listener is active on port 7080
Conflicts between panel and manual OLS edits:
- Panels may overwrite manual configuration changes
- Use the panel’s interface for all changes, or exclude specific vhosts from panel management