User Tools

Site Tools


This is an old revision of the document!

Introduction to LiteSpeed

LiteSpeed is a webserver that can be used instead of Apache. Currently, we only support this configuration for cPanel servers, where we use their official WHM plugin to do so. With this plugin, cPanel Support will also officially support LiteSpeed, so if LiteSpeed itself or the plugin itself is broken in a way we are not able to fix, we will be able to ask them for additional assistance (or to open a bug report if needed). In part for this reason, LiteSpeed is often a better option than nginx, despite the price difference.

For very high-traffic websites, LiteSpeed can sometimes be more efficient than Apache. Sometimes, adding LiteSpeed to a server can allow it to handle the site traffic more easily without needing to add more resources to the server. Since, depending on the size of the server, adding LiteSpeed can sometimes cost less than moving to a higher tier server plan, it can be worth considering. Additionally, for sites with the highest of traffic levels, even a large server might not be able to keep up well enough if using Apache. In such situations, switching to LiteSpeed may be necessary in order for the site to work well.

If you do decide you would like LiteSpeed added to your server, it is available as a Software Addon which can be added via the Billing Portal (My Knownhost) as described here. If you have trouble doing so, you can contact the Billing Department to assist you, either by emailing them or opening a ticket from the Support Portal but choosing the Billing Department when opening the ticket.


LiteSpeed is most useful for sites with very high traffic. Under these conditions, Apache (with typical configurations) would launch many processes in order to handle these requests. Each of these processes would take up some of the CPU time and some of the memory, so even if some of the limits are set higher to allow Apache to "attempt" to handle more requests, that could put other daemons in danger such as MySQL, if there isn't enough memory left for them.

LiteSpeed can also help somewhat in a server with many sites of low to medium traffic, if there are enough sites that even this amount of traffic causes high server load. However, in these cases, it may be more effective to split the accounts among more servers.


It is important to note that LiteSpeed is not compatible with mod_ruid2, due to the way it changes the user the webserver processes run as, and is probably not compatible with mpm-itk for the same reason. For this reason, if you will be using LiteSpeed, it is recommended to set Apache's PHP handler to SuPHP. While the server is in Apache-mode and running SuPHP, Opcode caching (such as Zend OPCache) would no longer work (and for this reason, all Opcode cachers should be removed while Apache and SuPHP are in use), but LiteSpeed's built-in PHP handler should still cache Opcode correctly if suEXEC is in ProcessGroup mode.

Other Bottlenecks

If Apache is not the bottleneck slowing down the sites, the impact of switching to LiteSpeed may be minimal. For example, if your sites are spending much more time waiting for MySQL queries to complete than for Apache to serve the pages or PHP to run the scripts, MySQL would be likely to require a similar amount of time to run the queries even if LiteSpeed is being used instead of Apache.

License Levels

For our Managed VPS and Managed KVM Cloud packages, the cost of the LiteSpeed license depends on the amount of RAM the server has. For our Dedicated Server packages, the cost of the LiteSpeed license depends on how many of the server's CPUs you would like to be used for LiteSpeed at once.

For more information about licensing, please feel free to contact the Billing Department either by email or by opening a ticket with the Billing Department from the Support Portal.1)


Some of the features of the LiteSpeed plugin for WHM can be accessed directly from WHM, at Home → Plugins → LiteSpeed Web Server. However, some of the features can only be accessed from within the LiteSpeed admin area. This can be found at url http://<IP address>:7080/.2) This page requires a separate login from WHM. By default, the LiteSpeed admin area will have uesrname admin and the password will be what the server's root password was at the time LiteSpeed was installed.

Resetting Password

If you need to change the password for the LiteSpeed admin area, this can be done by logging into SSH as the rootuser , and then running the following command:


This will prompt you for a new password. Make sure to choose a strong one!

You can also feel free to open a Support Ticket if you need assistance resetting the LiteSpeed password, or with other LiteSpeed configuration changes.

Remember if trying to contact the Billing Department, to choose that Department when opening the ticket. If "Billing" is not one of the options available, please check if you have logged in.
replacing <IP address> with the server's IP address.
control-panels/cpanel-whm/litespeed.1565357042.txt.gz · Last modified: 2019/08/09 08:24 by dbarber