Skip to content
עברית

Guide

Web Servers

A web server accepts HTTP requests and returns resources or forwards work to an application runtime. Apache, Nginx, Caddy, LiteSpeed and IIS implement different configuration and concurrency models. Serving static files and executing an application are separate responsibilities, even when one product coordinates both.

Meaning and purpose

A web server accepts HTTP requests and returns resources or forwards work to an application runtime. Apache, Nginx, Caddy, LiteSpeed and IIS implement different configuration and concurrency models. Serving static files and executing an application are separate responsibilities, even when one product coordinates both.

How it works in context

A virtual host selects a site using listener and hostname configuration. The document root should expose public assets, not application secrets or private source files. PHP-FPM and other application servers handle dynamic work through a configured interface. Worker and connection limits determine capacity only together with runtime and downstream limits.

Technical terms in this section

Apache

Apache HTTP Server is a modular web server supporting virtual hosts and extensible request handling.

Nginx

Nginx provides event-driven HTTP serving, reverse proxying and load-balancing capabilities.

LiteSpeed

LiteSpeed is a web-server product family with edition-specific serving and caching features.

Caddy

Caddy is a web server and reverse proxy with automatic HTTPS capabilities in supported configurations.

Microsoft IIS

IIS is Microsoft’s web-server platform with site bindings and application-pool management.

HTTP servers

HTTP servers accept requests and return protocol-defined status, fields and representations.

Application servers

Application servers execute dynamic application logic, often behind an HTTP server or reverse proxy.

PHP-FPM

PHP-FPM manages pools of PHP workers serving FastCGI requests.

Node.js

Node.js is a JavaScript runtime commonly used for server-side event-driven applications.

Python application servers

Python application servers connect applications through interfaces such as WSGI or ASGI.

Java application servers

Java application servers host JVM applications and related services under platform-specific interfaces.

Virtual hosts

Virtual hosts select site configuration using listener addresses and requested hostnames.

Server blocks

Nginx server blocks define listeners, hostnames and request-handling configuration.

Document roots

A document root defines public file exposure and should exclude private application configuration.

Server configuration

Server configuration defines listeners, handlers, paths and limits that should be validated before reload.

Access logs

Access logs record request observations and may contain identifiers or sensitive request metadata.

Error logs

Error logs preserve failure details for diagnosis without exposing internals in public responses.

Web server performance

Web-server performance depends on concurrency, processing cost, caching and downstream capacity.

Connection limits

Connection limits bound resource use and must match worker, memory and upstream capacity.

Worker processes

Workers process requests with concurrency and memory costs determined by the server’s execution model.

Compression

Compression reduces transfer size at processing cost and requires compatible encodings and security review.

Caching

Caching reuses prior results using keys and freshness rules that must preserve data isolation.

HTTP keep-alive

Persistent HTTP connections reuse transport sessions and require appropriate timeout and resource limits.

Operational checks and security

Validate configuration before a reload. A 502 often points toward an upstream communication failure; a 500 requires application or server log inspection. Preserve filesystem permissions and avoid making the entire application writable by the web-server account.

Read-only example

These commands inspect the surrounding system or protocol. They do not automatically change its configuration or establish every property of this term. Replace example targets only with destinations you are authorized to inspect.

apachectl configtest
# Nginx alternative: nginx -t

Sources and further reading

These explanations are educational. Implementations, policies and standards evolve; check the current specification and software version before changing a system.

Zaltzman.net · Your choice

Privacy preferences

Choose whether to link returning visits and remember display settings. Public content remains available without optional cookies.

Essential cookies

Always on

Secure forms, login sessions and your privacy choice.

What is included?

Session and CSRF protection, your privacy choice for up to 180 days, and Cloudflare security services. These do not authorise optional visitor analytics.

Analytics & returning visits

Store page history, visit times, IP and approximate location under one browser identifier, including return visits after an IP change.

How is this information used?

Authorised administrators use the history to understand usage and improve the site. No targeted ads, keystroke recording or fingerprinting. Turning this off deletes the history linked to your current identifier from the active database.

Remember display preferences

Save text size, contrast and other accessibility choices locally for your next visit.

Download my browser history

Turning analytics off deletes the current history and stops new collection.

Website operator: The Zaltzman Family
[email protected]

Zaltzman.net · Display settings

Accessibility tools

Adjust reading and navigation to suit you. Analytics consent is not required.

Text size
100%