MASACP v1.0.4
MASACP Docs

Switching Web Server to OpenLiteSpeed & OpenResty

3 min read • Last updated: Oct 22, 2026

MASACP is engineered with unique multi-web-server flexibility. You can run Nginx, OpenLiteSpeed (with native LSCache & HTTP/3 QUIC), or OpenResty on the same server, and switch any existing website between them seamlessly in seconds with zero downtime.

 

Supported Web Server Engines:

  • Nginx: Ultra-stable, lightweight, and the industry standard for PHP-FPM and reverse proxying.
  • OpenLiteSpeed (OLS): High-concurrency event-driven server featuring built-in LSCache acceleration for WordPress and native HTTP/3.
  • OpenResty: High-performance Nginx core empowered by LuaJIT for dynamic traffic routing and advanced security.

1
Checking Your Website’s Current Web Server

To see which web server engine is currently powering your website, follow these simple steps:

  1. From the left navigation sidebar, click on Websites.
  2. In the websites table, find your domain name.
  3. Look at the Web Server column: you will see an active badge displaying the current engine (e.g., OPENLITESPEED or NGINX).


Figure 1: The Websites list displaying the active Web Server badge (OPENLITESPEED).

2
Installing & Enabling Web Server Engines

Before switching a website to OpenLiteSpeed or OpenResty, make sure the engine is installed on your server:

  1. Navigate to Settings in the main left sidebar.
  2. Click on the Server & Security Defaults tab at the top.
  3. Scroll down to the Supported Web Server Engines card.
  4. Locate the server you want to install (e.g. OpenLiteSpeed or OpenResty).
  5. Click the purple/blue Install button next to the desired engine.
  6. MASACP will download, configure, and initialize the web server service in the background. Once installed, its status changes to Installed / Ready.


Figure 2: Installing OpenLiteSpeed or OpenResty under Server & Security Defaults.

3
Opening Website Settings

Now that your desired web server is installed, you can switch any of your websites to it:

  1. Go back to Websites from the left sidebar.
  2. In your website row, look at the action buttons on the right.
  3. Click the blue pencil icon titled Edit Website Settings.


Figure 3: Action bar showing the “Edit Website Settings” button (pencil icon).

4
Switching the Engine & Applying Changes

Inside the Edit Website Settings modal:

  1. Click on the Web Server dropdown menu.
  2. Select your preferred engine:
    • • OpenLiteSpeed (LSCache Engine): Ideal for high-speed WordPress caching.
    • • Nginx: Ultra-fast standard reverse proxy and static file handler.
    • • OpenResty: For Lua-accelerated security rules.
  3. (Optional) You can also adjust the site’s PHP version or allocated CPU/RAM resource limits in the same window.
  4. Click the blue Save Settings button.

What Happens Automatically Behind the Scenes:

MASACP migrates your website’s Virtual Host configuration, links your Let’s Encrypt SSL certificates, maps the PHP-FPM socket, and reloads the new web server gracefully. Your visitors will not experience any downtime or dropped connections.


Figure 4: Selecting OpenLiteSpeed (LSCache Engine) from the Web Server dropdown.

Post-Migration Recommendations

WordPress LiteSpeed Cache Plugin:
When switching a WordPress site to OpenLiteSpeed, install the free LiteSpeed Cache (LSCache) plugin from your WordPress dashboard to take full advantage of server-level caching, CSS/JS minification, and instant TTFB response times.
Default Engine for Future Sites:
If you want all newly created websites to default to OpenLiteSpeed or Nginx automatically, you can set the Default Web Server in Settings → Server & Security Defaults.
Documentation Navigation