January 2022 Web Server Survey

In the January 2022 survey we received responses from 1,167,715,133 sites across 269,835,071 unique domains and 11,700,892 web-facing computers. This reflects a loss of 1.15 million sites, but a gain of 1.51 million domains and 31,100 computers.

nginx lost 7.33 million sites this month (-1.91%) but continues to be the most commonly used web server with 32.3% of all sites using it. Although nginx’s share has fallen, Apache is still more than eight percentage points behind after losing 3.70 million sites (-1.31%), which has taken its own market share down to 23.9%.

nginx also leads in the domains metric, where it has a share of 26.6% compared with Apache’s 23.9%. This reflects a small reduction in nginx’s share – despite a modest gain of 25,400 domains – while Apache suffered the largest loss of 287,000 domains.

The largest site and domain growth was seen by Pepyaka, which is a web server that has primarily been used by the Wix web development platform since it switched from using nginx in 2018. The number of sites using Pepyaka grew by 4.02 million to 7.30 million this month, while its domain count went up by 1.80 million to 3.30 million.

The next largest domain growth was seen by OpenResty, which gained 686,000 domains this month, and 1.34 million sites in total. The second largest site growth was seen by Microsoft, which gained 2.46 million sites and now accounts for 4.86% of all sites and 5.00% of all domains.

Constraining the view to active sites, Apache is still the most commonly used web server, but its market share has fallen slightly to 23.4% after losing more than half a million active sites this month. Meanwhile, nginx gained 230,000 active sites and has increased its share to 20.2%.

Apache also maintains a slight lead in the top million websites, where it is used by 235,000 sites compared with 222,000 for nginx. However, Cloudflare has increased its presence by a further 4,959 sites and is now not too far behind with a total of 191,000. If this trend continues, Cloudflare could soon overtake both nginx and Apache to become the most commonly used top-million web server.

Looking at web-facing computers, nginx’s strong growth continues unabated. This month it is being used by an additional 32,700 web-facing computers and its market share has increased to 37.7%. Its lead over Apache was further extended by Apache’s loss of 29,100 computers, which sent Apache’s share down to 29.9%.

Vendor news

  • Apache 2.4.52 was released on 20 December 2021. This is the latest release from the 2.4.x stable branch and includes two security fixes amongst a host of other changes.
  • Apache Tomcat 9.0.56, 10.0.14 and 10.1.0-M8 (alpha) were released on 8 December 2021. Each of these versions include a fix for a known operating system bug that could cause incoming connections to be reported more than once.
  • nginx 1.21.5 was released on 28 December 2021. This is the latest release in the mainline branch of nginx and is now built with the PCRE2 library by default.
  • njs 0.7.1 was also released on 28 December 2021. This release includes several bugfixes and some other changes to ensure that njs scripts use the same regular expression library as nginx.
  • Microsoft has mitigated an insecure default behaviour in the Azure App Service that inadvertently exposed hundreds of source code repositories. The team that found the vulnerability noted that it had existed since September 2017 and has probably been exploited in the wild. The problem could have impacted PHP, Node, Ruby, Python and Java applications that serve static content, as well as some Azure App Service Linux applications that were deployed using Local Git after files were created or modified in the content root.
  • Cloudflare has introduced a new product called Bulk Redirects, which lets website administrators upload and enable large numbers of URL redirects. These were typically implemented with Page Rules before, which are limited to a maximum of 125 redirects.
  • OpenResty 1.21.4.1 RC1 was released on 16 December 2021. This version is based on nginx 1.21.4 and adds several new features including support for BoringSSL.
Total number of websites
Web server market share
DeveloperDecember 2021PercentJanuary 2022PercentChange
nginx384,347,39432.88%377,019,05432.29%-0.60
Apache283,409,49124.25%279,709,81523.95%-0.29
OpenResty78,902,1386.75%80,238,4706.87%0.12
Cloudflare59,904,4505.13%60,881,0285.21%0.09
Web server market share for active sites
DeveloperDecember 2021PercentJanuary 2022PercentChange
Apache47,216,24623.61%46,644,96223.44%-0.17
nginx39,893,79319.95%40,123,74020.16%0.22
Google19,110,5089.55%19,230,4259.66%0.11
Cloudflare19,249,1279.62%19,139,4969.62%-0.01

For more information see Active Sites

Web server market share for top million busiest sites
DeveloperDecember 2021PercentJanuary 2022PercentChange
Apache237,63323.76%234,79823.48%-0.28
nginx222,25322.23%221,63722.16%-0.06
Cloudflare185,94518.59%190,90419.09%0.50
Microsoft61,4606.15%60,4356.04%-0.10
Web server market share for computers
DeveloperDecember 2021PercentJanuary 2022PercentChange
nginx4,374,72137.49%4,407,41937.67%0.18
Apache3,525,36730.21%3,496,31229.88%-0.33
Microsoft1,351,66611.58%1,365,98511.67%0.09
Web server market share for domains
DeveloperDecember 2021PercentJanuary 2022PercentChange
nginx71,698,14326.72%71,723,52726.58%-0.14
Apache64,739,25824.13%64,452,16923.89%-0.24
OpenResty39,651,22114.78%40,336,85114.95%0.17
Cloudflare22,242,2248.29%22,466,0348.33%0.04