OpenLiteSpeed or Nginx - which web server to choose
During the install, Step 5 of 5 — Web server asks which web server runs the websites. The default and recommended choice is OpenLiteSpeed.
The difference
| OpenLiteSpeed (recommended) | Nginx | |
|---|---|---|
.htaccess files | Read, as websites from other servers expect | Ignored |
| Server page cache (LSCache) for WordPress | Yes | No |
| HTTP/3 | Yes | No |
| How PHP runs | Per account, as the account's own user (LSAPI) | PHP-FPM |
Which one to pick
- Choose OpenLiteSpeed when you host WordPress or move websites from other servers. Their rewrite rules, redirects and protections in
.htaccesskeep working without changes. - Choose Nginx only if you know your websites do not rely on
.htaccess.
How to choose
- Interactive install: type
1for OpenLiteSpeed or2for Nginx at Web server. - Unattended install: add
--webserver=openlitespeedor--webserver=nginx(defaultopenlitespeed).
Good to know
- Server Settings (section Server) shows the web server in use at the top (Web server:), with Rebuild all website configs to write every website's configuration again.
- Updates keep the web server chosen at install time.
- The panels themselves (ports 2087, 2083, 2096) are served the same way with either choice.
Common questions
My website's redirects do not work on Nginx.
Nginx ignores .htaccess files, so rules written there have no effect. Websites that rely on .htaccess need OpenLiteSpeed.
Can I switch later in the panel?
The panel shows the web server but has no switch for it. Choose carefully during the install.
Thank you — this helps us improve the article.
Still stuck?
Ask the AI about your exact situation — it answers from this knowledge base — or contact us.
Related articles
- How to install the control panel on Ubuntu
Install the control panel on a fresh Ubuntu 24.04 or 22.04 server with one command, answer the five setup questions and find your admin login.
- Unattended install and all installer options
Install the control panel without questions from cloud-init or a script, with every installer option such as --hostname, --license and --webserver.
- Server requirements for installing the control panel
Which Ubuntu version, memory, disk, ports and access the control panel needs, and why it must be installed on a fresh server with nothing else on it.