Set up LiteSpeed Web Server on cPanel WHM

May 26, 2023

This video demonstrates how to install the Enterprise edition of LiteSpeed Web Server on a cPanel WHM server.

Requirements:

- A server with cPanel WHM installed.
- A domain name.
- Your SSH port should be open.
- TCP ports 7080, 80, and 443 open.
- UDP port 443 open.

Additional Resources:

Find a LiteSpeed VPS Hosting Partner:
https://www.litespeedtech.com/partners

How to choose a LiteSpeed Web Server license:
https://www.litespeedtech.com/products/litespeed-web-server/choosing-a-license

Purchase a license:
https://store.litespeedtech.com

LiteSpeed cPanel WHM Extension download:
https://www.litespeedtech.com/products/litespeed-web-server/control-panel-plugins/download

Additional Configuration via the cPanel WHM Extension:
https://youtu.be/IxlTPEBKvHw

CLI command to install LSWS with a trial license or a serial number:
https://docs.litespeedtech.com/lsws/cp/directadmin/installation/#detailed-installation

LSWS.options file configuration:
php_suexec="2"
port_offset="1000"
admin_user="admin"
admin_pass="yourpassword"
admin_email="root@localhost"
easyapache_integration="1"
auto_switch_to_lsws="0"
deploy_lscwp="0"
cpanel_plugin_autoinstall="1"

Check if LiteSpeed is listening for connections:
sudo lsof -i -P -n | grep LISTEN

cPanel Documentation:
https://docs.cpanel.net/tags/litespeed/

Our Documentation:
https://docs.litespeedtech.com/lsws/cp/cpanel/

Troubleshooting:
https://docs.litespeedtech.com/lsws/cp/cpanel/switch-apache/