A secure, efficient and extensible open source web server
open sourceApache-2.0self-hostablefree
The Apache HTTP Server (httpd) is the Apache Software Foundation's web server; Apache 1.0 came out on 1 December 1995. Its modules add almost everything: virtual hosts, TLS (mod_ssl), HTTP/2 (mod_http2), automatic Let's Encrypt certificates over ACME (mod_md), URL rewriting (mod_rewrite), reverse proxying and load balancing (mod_proxy and mod_proxy_balancer), caching, authentication and per-directory .htaccess overrides that let shared-hosting users configure their own sites. Multi-Processing Modules choose how it handles connections (event, worker or prefork), and PHP and other languages plug in as modules or through FastCGI. 2.4 is the stable branch (2.4.71, November 2026); 2.2 reached end of life in 2017. It's Apache-2.0 licensed, released as source, with binaries from operating system packages and third parties.
Ways to install
Package managers
Problems it solves
- serve several websites with their own domains from one Linux server
- let each user on a shared host change redirects and access rules for their own folder without touching the main config
- run a PHP app like WordPress on a traditional LAMP stack
- redirect old URLs to new ones with rewrite rules on our web server
- get HTTPS certificates from Let's Encrypt renewed automatically by the web server itself
- put a reverse proxy with load balancing in front of several Tomcat or app servers
- password-protect a directory on our website with basic auth or LDAP
- a mature web server with a long security history and modules for almost everything
- serve static files and a legacy CGI script from the same server
- enable HTTP/2 on our existing web server without changing the app
Features
- name- and IP-based virtual hosts
- Multi-Processing Modules: event, worker and prefork
- TLS with mod_ssl, including TLS 1.3
- HTTP/2 with mod_http2
- ACME certificate management (Let's Encrypt) with mod_md
- URL rewriting with mod_rewrite
- reverse proxy and load balancer with mod_proxy and mod_proxy_balancer
- per-directory configuration with .htaccess files
- authentication and authorization modules (basic, digest, LDAP)
- caching, compression, CGI and FastCGI
View 2 more
- dynamically loaded modules
- runs on Linux, Windows, macOS and most Unix-like systems
Limitations
- No official Windows binaries: the project releases source only and points to third-party binary distributions2
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what Apache HTTP Server does.
- nginx HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy server, and mail proxy server
- Caddy The Ultimate Server with Automatic HTTPS
- Traefik Proxy The Cloud Native Application Proxy
- lighttpd A secure, fast, compliant and very flexible web server
