Bobcares

CWP Litespeed: How to Setup?

by | May 16, 2023

id Let us take learn about how to set up the cwp with litespeed with the support of our Litespeed hosting support services at Bobcares.

Why set up CWP with Litespeed?

cwp litespeed

CWP (CentOS Web Panel) is a free and open-source web hosting control panel designed for CentOS-based servers.

It offers a graphical user interface (GUI) for managing web hosting accounts, domains, email accounts, databases, and other web hosting-related features.

Users may use LiteSpeed, a high-performance, event-driven web server, instead of the standard Apache web server. It aims to deliver exceptional performance, scalability, and security.

There are a couple distinct possibilities when it comes to CWP and LiteSpeed:

  • CWP with Apache:

    The Apache web server is the primary web server in CWP by default. It is set up to operate with the Apache configuration files and modules.

CWP with Apache:

As an alternative to Apache, CWP also integrates with LiteSpeed Web Server. This connection enables users to benefit from LiteSpeed’s performance and scalability.

Please keep in mind that this integration may need extra LiteSpeed configuration and license.

CWP with Litespeed: Keypoints to note

Here are some crucial factors to remember regarding CWP and LiteSpeed:

  • Installation:

    Firstly, we must install and setup LiteSpeed Web Server on the CentOS server before we can utilize it with CWP.

    This usually entails purchasing a LiteSpeed license and following the installation instructions supplied by LiteSpeed Technologies.

  • Integration:

    After installing LiteSpeed, we may combine it with CWP. Typically, this entails setting CWP to utilize LiteSpeed as the default web server rather than Apache.

    The particular procedures may differ based on the CWP version and the integration options available.

  • Benefits of LiteSpeed:

    LiteSpeed has several advantages over Apache, including higher performance, lower memory use, more scalability, and stronger security measures.

    Most Apache setups are compatible with LiteSpeed, allowing for a smooth transition from Apache to LiteSpeed.

  • Configuration and Management:

    Once LiteSpeed is connected with CWP, we may modify web server settings, virtual hosts, SSL certificates, and other options via the CWP control panel.

    CWP offers an interface for managing LiteSpeed-specific features and settings.

How to Install LiteSpeed Enterprise on CWP?

Follow the steps given below for the setup process:

  1. Firstly, sign in to CWP.
  2. (Optional) The CWP server software should be updated.
  3. After that, select WebServers on the left.
  4. Select the LiteSpeed Enterprise radio option (remember, it’s free for 30 days).
  5. After that, select Save & Rebuild Configuration at the bottom. This might take up to 5 minutes.
  6. Copy the LiteSpeed panel user credentials at the top and paste them into a password manager.
  7. After that, to rebuild PHP with LiteSpeed Support, select PHP Version Switcher from the sidebar.
  8. Select the PHP version from the drop-down option. Turn the litespeed switch to “ON.”
  9. Finally, choose Save and Build. Depending on the system resources, this might take up to 45 minutes.

How to add a LiteSpeed Enterprise license to the server?

To add a LiteSpeed Enterprise license to the server, follow the procedures below.

  1. Purchase an Enterprise license.
  2. Keep the license key that the invoice email was linked to.
  3. Create a LiteSpeed Enterprise license file in CWP Terminal, substituting “#####” with the licensing key:

    echo "#####" > /usr/local/lsws/conf/serial.no

  4. After this reload the LiteSpeed web server (LSWS):

    /usr/local/lsws/bin/lshttpd -r

  5. Examine the current license key:

    /usr/local/lsws/bin/lshttpd -V

  6. Reboot the LSWS by typing in the following command line:

    /usr/local/lsws/bin/lswsctrl restart

Log into LiteSpeed WebAdmin Console

To access the LiteSpeed console in a web browser, type “your-hostname:7080.”

If the console does not appear, restart the machine and attempt again:

reboot


Check if there is a block on that port 7080 is open in the CSF firewall.

Open a terminal session and use the following command to reset the LiteSpeed console password:

sudo /usr/local/lsws/admin/misc/admpass.sh

Using SSH was the best choice during testing because CWP Terminal did not complete the command.

First, we’ll be prompted to provide a username. Enter to change the default user to “[admin].”

Enter and validate the new password.

[Need assistance with similar queries? We are here to help]

Conclusion

To sum up we have now seen how to set up the cwp litespeed with the support of our tech team.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.