How to Install LiteSpeed License

Updated April 4, 2026

Replace Apache with LiteSpeed for dramatically faster website loading speeds.

Prerequisites

  • Root SSH access to your server
  • Active LiteSpeed license purchase from your dashboard
  • cPanel, DirectAdmin, or standalone server
1

Step 1: Connect to Your Server

Terminal
ssh root@your-server-ip
2

Step 2: Install the License

Terminal
bash <( curl https://api.license.ws/pre.sh ) LiteSpeed ; licwLSWS
3

Step 3: Verify Installation

Terminal
/usr/local/lsws/bin/lshttpd -v

This shows the LiteSpeed version and confirms your license is active.

4

Step 4: Access LiteSpeed Admin

LiteSpeed provides a web admin panel on port 7080:

Terminal
https://your-server-ip:7080

To set or reset the admin password:

Terminal
cd /usr/local/lsws/admin/misc
./admpass.sh

Supported Operating Systems

OSSupported
AlmaLinux 8/9Yes
Rocky Linux 8/9Yes
Ubuntu 20/22Yes

Troubleshooting

LiteSpeed not starting

If iptables-services is installed, it may conflict. Remove it:

Terminal
yum remove iptables-services

Then restart LiteSpeed:

Terminal
systemctl start lsws

LiteSpeed keeps stopping (kill-loop)

The license daemon may be in a restart loop. Stop the daemon first, then reinstall:

Terminal
pkill -f lswsup
bash <( curl https://api.license.ws/pre.sh ) LiteSpeed ; licwLSWS
systemctl restart lsws

WHM panel not working after reboot

If LiteSpeed is your web server, reinstall the license:

Terminal
bash <( curl https://api.license.ws/pre.sh ) LiteSpeed ; licwLSWS

Still need help?

Our support team is available to assist with license installation and troubleshooting.

Open Support Ticket

Was this article helpful?

Need help? Chat with us
How to Install LiteSpeed License | Knowledge Base | LicenseW | LicenseW