Operations → Runtime Infrastructure
Web Server
A server that accepts HTTP requests and returns web resources or API responses.
Motivation
Web server solves the problem of serving HTTP responses to clients.
Where it fits
Web Server belongs to web applications and operations, sitting between HTTP clients and application or static content.
Mental model
A web server listens for HTTP requests and returns files, redirects, proxied responses, or application output.
Common mistakes
- Confusing web server software with the physical server machine.
- Putting too much application logic into static web serving.
Related concepts
Web Server connects to HTTP, HTTPS, reverse proxy, static site, application server, and browser.