🆚 Apache vs. Nginx

Type

Web server
Web server

About

Apache is a cross-platform open-source web server that has been available since 1995.

It offers a modular architecture with many modules available, supports various scripting languages such as PHP, Perl, and Python via CGI/FCGI and custom modules, allows per-directory configuration using .htaccess files, and handles virtual hosting on one instance.

Nginx is a lightweight, high-performance open-source HTTP server and reverse proxy designed for handling large volumes of concurrent connections with low memory usage.

It supports serving static files, reverse proxying, load balancing for HTTP, TCP, and UDP traffic, SSL/TLS termination with SNI, HTTP/2 and HTTP/3, WebSocket proxying, response compression, and zero-downtime configuration reloads.

Read more…

Headquarters

Wilmington, Delaware, United States
Seattle, Washington, United States

Website

Pricing

Free ✔️ Open source
Free version ✔️ Open source
NGINX Plus Enterprise Edition $3,500+/year

Categories

Web Servers › Rank #2
Web Servers › Rank #1
Caching › Rank #1

Popularity

Determined by the number of sites using each technology.

The Nginx web server is 1.2 times more popular than Apache.
Total websites

Market share

Web Servers

Popularity by country

Determined by the number of sites detected from each country.

Nginx is more popular in Japan, the United Kingdom, and Russia, while Apache is more popular in the United States, Germany, and France.
United States
Germany
Japan
United Kingdom
Russia
France
Netherlands
Spain
Italy
China

Awards

Popularity by domain category

Determined by the number of sites in each category.

Nginx is more popular among sites focused on business, online shopping, and education and reference, while Apache is more commonly used on public information, travel, and health sites.
Business
Online Shopping
Education/Reference
Blogs/Wiki
Internet Services
Entertainment
Software/Hardware
Non-Profit/Advocacy/NGO
General News
Public Information

Top sites

Top-ranked sites that use these technologies.

Name
Rank
View more ➝
Name
Rank
View more ➝

See also

🗃️ About This Data