LiteSpeed license
To start using LiteSpeed, you need to activate a license.
LiteSpeed license types
There are three LiteSpeed license types:
- Trial — free trial license, active for 14 days
- Third-party — license purchased on the official LiteSpeed website
- Ispmanager — license purchased through the ispmanager Client area
For each ispmanager license, only 1 LiteSpeed free trial period is available. If after the trial period, the license is not changed to a commercial one (third-party or ispmanager), the web server will be disabled.
Viewing the current license type is available in the panel after activating the key. To view the current license type:
- Log in to ispmanger with an administrator-level account or above.
- Navigate to the Modules section.
- Find LiteSpeed in the list.
Click
next to the module. The license type is displayed in the License type field.
LiteSpeed license activation
The LiteSpeed web server license can be activated with a parameter during the panel installation or later through the web interface.
LiteSpeed trial license can only be activated during panel installation.
To activate the web server through the web interface:
- Log in to ispmanager with an administrator-level account or above.
- Navigate to the Modules section.
- Find LiteSpeed in the list.
- Click
next to the module.
- In the LiteSpeed license management form, click
Enter LiteSpeed license key.
In the form that opens, specify the key.
Where can I find the license keyFor the ispmanager type of license, the key is specified in your Client area:
1. Go to the Licenses section → ispmanager modules.
2. Select the LiteSpeed license and clickEdit.
3. The key is shown in the License key field.- Save the changes.
Updating LiteSpeed license information
The panel automatically updates license information once per day. If you renewed your license or switched to a different plan and want the changes to apply immediately, update the license information:
- Log in to ispmanger with an administrator-level account or above.
- Navigate to the Modules section.
- Find LiteSpeed in the list.
- Click
next to the module.
- In the LiteSpeed license management form, click
Update the license information.
- Wait for the data to update.
Switching to the ispmanager license
If you previously activated a trial or a third-party license, to switch to the ispmanager license type, purchase a license in your ispmanager Client area and follow the steps below:
- Log in to ispmanger with an administrator-level account or above.
- Navigate to the Modules section.
- Find LiteSpeed in the list.
- Click
next to the module.
- In the LiteSpeed license management form, click
Switch to ispmanager license.
- Wait for the data to update.
LiteSpeed license technical details
After activating the web server, the key is stored in the serial.no
file in the /usr/local/lsws/conf/
directory. To display the license data, use the following command in the terminal:
/usr/local/lsws/bin/lshttpd -t
Once a day, the panel automatically checks the connected license. If there are less than 5 days left until its expiration, the administrator will receive a notification in the panel. The number of days and the frequency of license check can be changed using the parameters in the litespeed.conf
file in the /usr/local/mgr5/etc/ispmgr.conf.d/
directory:
- LitespeedLicenseWarningDay — the number of days before license expiration when the administrator receives a panel notification to renew the license. Default value: 5.
- LitespeedLicenseCheckPeriod — the frequency with which the license is checked for validity, in minutes. Default value: 1440 (24 hours).