LiteSpeed Web Server is a drop-in Apache replacement and the leading high-performance, high-scalability server from LiteSpeed Technologies.
It is a commercial product with monthly payment. Three different types of licenses are available for LiteSpeed Web Server: Free Starter, Site Owner and Web Host. Please visit our LiteSpeed Web Server pricing page to review.
The most popular choice is Web Host Essential.
How to install LiteSpeed
You can replace your existing Apache server with LiteSpeed using CustomBuild using the steps outlined below:
cd /usr/local/directadmin/custombuild ./build update ./build set webserver litespeed ./build set php1_mode lsphp ./build set php2_mode lsphp ./build set php3_mode lsphp ./build set php4_mode lsphp ./build litespeed ./build php n
The commands above install LSWS with a trial license and build PHP for LSWS.
More install options are described on the official LiteSpeed wiki page.
You may refer to these instructions to activate the license.
To activate license after trial expires - get one from them and:
./build set litespeed_serialno XXXX-YYYY-ZZZZ ./build litespeed
How to activate LSCache
LiteSpeed Cache (LSCache) is a built-in, high-performance dynamic content acceleration feature of LiteSpeed Web Server.
LSCache accelerates dynamic content (not just PHP pages), with features very similar to those in Apache mod_cache, using an efficient, highly customizable, native implementation within LiteSpeed Web Server.
LSCache eliminates the extra reverse-proxy layer(s) required by add-on cache packages (such as Varnish), providing faster, more efficient handling of static content in addition to its stellar handling of dynamic content.
Please follow the official guide on how to enable LSCache.
Once you've set up your web server and configured the cache root and cache policies, you're ready to install a plugin. LSCache plugins are available for many popular web applications. The plugins allow you to configure and manage your LiteSpeed server's cache simply and easily, through the application's own familiar interface.