Skip to content
BENIBIX Learn

Web Server

Infrastructure🌍 Web Serving & NginxWeb Servers

Also known as HTTP Server, Web Server Software

A program that answers web requests. It sends back pages and files.

Think of it like

It is like a clerk behind a shop counter. You ask for an item, and the clerk fetches it for you.

Example

Emma puts her site's files on a server running Nginx. When someone visits, Nginx reads index.html from the folder and sends it back.

Why it matters

Every website sits behind one. It is the first thing a visitor's request reaches.

Definition

A web server is a program that answers HTTP requests. A browser asks for a page, and the web server sends back the file or the answer. It listens on port 80 for HTTP and port 443 for HTTPS. It can hand out files from a folder, or pass the request on to an app. The word also means the computer that runs this program.
The web server sits in the middle. It sends files itself and passes the rest to the app.

Common mistake

Using web server to mean only the machine. Most often it means the program, and one machine can run several.

Key takeaways

  1. 1
    Answers HTTP. Requests in, responses out.
  2. 2
    Ports 80 and 443. Plain and secure web traffic.
  3. 3
    Files or apps. Serves files, or passes to an app.

Compare