LiteSpeed Enterprise is an event-driven drop-in replacement webserver for the industry-standard Apache webserver. It is faster than Apache at service static and dynamic content, can handle higher amounts of concurrent traffic, and is more efficient with CPU and memory resources than Apache. We support LiteSpeed Enterprise for DirectAdmin and WHM / cPanel servers.
For DirectAdmin, we setup CustomBuild for the options to build Litespeed as the primary webserver with the license issued to your server.
For cPanel 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 be much more efficient than Apache. 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(Not applicable to DirectAdmin) for the same reason. If you will be using LiteSpeed, it is recommended to set Apache's PHP handler to SuPHP if using WHM/cPanel or
lsphp for DirectAdmin. 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.
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.
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.
Some of the features of the LiteSpeed plugin for WHM can be accessed directly from WHM, at Home → Plugins → LiteSpeed Web Server. For DirectAdmin, the LiteSpeed WebAdmin Console can be accessed from "Extra Features" after LiteSpeed has been fully installed. 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 DirectAdmin or WHM. By default, the LiteSpeed admin area will have username
admin and the password would have been provided at the time of LiteSpeed's installation. Don't know your LiteSpeed admin password? See below!
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.