Switching Web Servers
Switching between LiteSpeed Enterprise(LSWS) and Apache is a very simple task using the CentOS Web Panel(CWP). It can also be accomplished via included scripts in the terminal.
Method 1: CentOS Web Panel
- Visit the CWP Install at https://IP_OR_HOSTNAME:2031 and log in.
- Navigate to Apache Settings → Select Web Servers.
- Next to LiteSpeed Enterprise, there will be a “Switch to LiteSpeed” button and a “Switch to Apache” button.
- Select either button to switch between them.
Method 2: Shell + Script
- Log in to the terminal.
- Change the directory to the following: LSWS_INSTALL_DIR/admin/misc/.
- Example: cd /usr/local/lsws/admin/misc
- Then, run the following command replacing <webserver> with either “lsws” or “apache”, depending on what you wish to switch to.
- ./cp_switch_ws.sh <webserver>