Top 7 Open Source Web Servers in 2020

Top 7 Open Source Web Servers in 2020

Written by Server Enthusiast on Jul 30th, 2020 ・ Views ・ Report Post

Web servers are used to store and deliver content for websites. When a web browser like Chrome or Firefox connects to a web server, the web server returns content like HTML, text, images, videos, js files and etc.

The web server and the web browser communicate over HTTP or HTTPS.

The first web server software was created in 1990 and it was called CERN httpd. Since then there have been numerous other solutions.

Here is my list of the top 7 open source web servers in 2020!

1. Nginx

Nginx is an open source project created bu Igor Sysoev. It was initially released in 2004 and it has proven itself as highly reliable solution, but most of all Nginx is popular for its high performance and scalability.

Besides as a web server, Nginx can also be used for load balancing, media streaming, reverse proxy and more.

You can install Nginx via your OS package manager:

  • Ubuntu/Debian
apt install nginx
  • CentOS
yum install nginx
# or
dnf install nginx

Once installed Nginx would start listening on port 80 and the default index page would look like this:


Nginx was acquired by F5 and now they also offer paid solution called Nginx Plus, however the open source project remains as well.

For more information about Nginx I would recommend this reading this article here:

Top 10 Nginx Commands to Help You Manage Your Server Like a Pro

2. Apache HTTP Server

The Apache HTTP Server has been the go to web server for a long time. It was released in 1995 and is commonly referred to as Apache or just httpd.

You can run Apache on almost all major operating systems out there like Linux, Mac, Windows and more.

Apache is highly customizable, reliable and free.

To install Apache all you need to do is:

  • Ubuntu/Debian
apt install apache2
  • CentOS
yum install httpd
# or
dnf install httpd

The default Apache index page looks like this:


3. Lighttpd

The Lighttpd opensource web server was designed with speed in mind and is used for speed-critical websites. One of the major benefits of Litehttpd is that it is quite small and does not consume a lot of server resources like CPU.

that is specifically designed for speed-critical applications. Unlike Apache and Nginx, it has a very small footprint (less than 1 MB) and is very economical with the server’s resources such as CPU utilization.

To install Lighttpd, you can use the following commands:

  • Ubuntu/Debian
apt install lighttpd
  • CentOS
yum install epel-release
yum update
yum install lighttpd

The default landing page of Lighttpd looks like this:


4. Apache Tomcat

Apache Tomcat is the go to web server for any Java projects.

Unlike the other web servers like Apache HTTP Server and Nginx which are mainly used for serving HTTP, Apache Tomcat is a Servlet and JSP Server serving Java technologies.

For installing and configuring Apache Tomcat I would recommend this tutorial here:

How To Install Apache Tomcat

5. Caddy Web Server

The Caddy web server, is an open source web server written in Go.

It uses the Go standard library for its HTTP functionality. One of Caddy's most notable features is enabling HTTPS by default and the support for HTTP/2.

You can go through the following tutorial on How To Host a Website with Caddy on Ubuntu 18.04.

6. OpenLiteSpeed

OpenLiteSpeed is an optimized open-source web server that you can use to manage and serve websites. It is designed to handled high traffic loads much better than traditional web servers.

OpenLiteSpeed is the Open Source edition of LiteSpeed Web Server Enterprise and both are maintained by the same team.

You can go through the following tutorial on How To Install the OpenLiteSpeed Web Server on Ubuntu 18.04.

7. NodeJS

NodeJS is a JavaScript server which allows users to build network applications and executing JavaScript code outside a web browser. By leveraging JavaScript on both the front and backend, Node.js makes development more consistent and integrated.

Checkout this tutorial here to learn how to install Install Node.js on Ubuntu 18.04.


This is a list of my personal top 7 open source web servers. There are other solutions like Traefik and Cherokee but I personally don't have much experience with them.

Hope that this helps!

Comments (0)