Nginx vs. Apache vs. Litespeed for top security?


From 3 top web servers being Nginx, Apache, Litespeed or Openlitespeed

What can be the most secure configuration web server for high-traffic WordPress that is using a dedicated cloud server (no cPanel or panels)

and if I can not use WP Fence for the security plugin? please give your answer guys.

Litespeed vs. Nginx vs. Apache security rating for WordPress

in progress 0
vitmaki 2021-11-22T01:38:50+00:00 4 Answers 0

Answers ( 4 )


    Just read this and you will have the best understand afterwards.

    Definitely any developers who are looking to launch their own WordPress cloud server should be using Nginx for the cleanest/lightest configuration.
    Using Openlitespeed only makes sense for developers who want to play around with bleeding edge software that is unstable. If you are running a cPanel-ish type of shared hosting company you should use Apache or Litespeed premium, but using OLS is asking for conflicts and stability problems (and no open source community)… it’s mostly “trial-ware” for Litespeed.
    For high security and easy traffic scaling, use Nginx.
    Caddy is a new alternative to Nginx but it’s more for geeks and using Golang. Nginx has tons of free tutorials and easy to setup or customize if needed.


    Nginx or Caddy server are going to be the most secure because no .htaccess files. Because of PHP-FPM and compiled Nginx-style config they are protected from problems that Apache and Litespeed can suffer due to user permissions and arbitrary PHP/htaccess code


    WordFence is cool for noobs who never take care of their WordPress site, but it has crashed many of my clients sites. They add secret invisible config files in your root directory and modify wp-config and .htaccess and wp-settings and not to mention the huge amount of junk in your MySQL database.

    Getting my clients on a clean LEMP cloud server with minimal plugins, and CloudFlare, is the first thing I do whenever I can convince them….

Leave an answer

What is the capital of Egypt? ( Cairo )