About OpenLiteSpeed
OpenLiteSpeed is a GPL-3.0 web server from LiteSpeed Technologies. It runs PHP through the LSAPI handler, caches pages at the server level with LSCache plugins for WordPress and other CMSs, supports HTTP/3 and reads Apache-style rewrite rules.
It suits PHP sites on small CloudSat plans. Settings live in a WebAdmin console rather than hand-edited text files, and one server can host several virtual hosts.
WebAdmin listens on port 7080, and the sample site answers on 8088 until you add listeners for 80 and 443. The admin password generated at install is in /root/app-credentials.txt.
What you get with OpenLiteSpeed
- PHP through LSAPI with LSPHP builds
- Server-level page cache with LSCache plugins
- HTTP/3 and QUIC support
- Apache-compatible rewrite rules
- Graphical WebAdmin for virtual hosts and listeners
OpenLiteSpeed use cases
- Host fast WordPress sites with LSCache
- Serve several PHP sites as virtual hosts
- Replace Apache on a small server and keep rewrite rules
After you deploy OpenLiteSpeed
- SSH in when the server is Running and read the WebAdmin password in
/root/app-credentials.txt; reset it anytime with/usr/local/lsws/admin/misc/admpass.sh. - If WebAdmin does not answer, enable it with
touch /usr/local/lsws/admin/conf/enable_webadminand/usr/local/lsws/bin/lswsctrl restart. - Sign in at
https://<server IP>:7080asadmin, add listeners on 80 and 443, and map your virtual hosts. - Restrict 7080 to your own IP in the CloudSat firewall, and add a certificate for each domain.
OpenLiteSpeed ports
Open these in your firewall if you use one: 80/tcp HTTP, 443/tcp+udp HTTPS and HTTP/3, 7080/tcp WebAdmin (restrict access), 8088/tcp sample site.
OpenLiteSpeed FAQ
Does OpenLiteSpeed read .htaccess files?
It honors rewrite rules from .htaccess but loads them at startup, so restart the server after editing them. Other Apache directives are ignored.
How is it different from LiteSpeed Enterprise?
Enterprise is the commercial edition, with full .htaccess support, control panel integrations and other extras. OpenLiteSpeed is free and configured through WebAdmin.
Disclaimer. The OpenLiteSpeed project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.