← Back to Guide
Chapter 03

3. Web Server & CMS

The front door: Handling requests and managing content.

The Web Server: Your Digital Receptionist

When the request passes the CDN (or if it wasn't cached), it lands on your Web Server. This is the software that listens for requests and decides how to respond.

Web Server Diagram

Key Components

  1. Web Server Software: Popular choices include Nginx, Apache, and Caddy. They handle:

    • SSL Termination: Decrypting HTTPS traffic.
    • Static File Serving: Delivering HTML, CSS, and images.
    • Reverse Proxying: Forwarding dynamic requests to the backend.
  2. CMS (Content Management System):

    • For many sites, the "backend" is a CMS like WordPress, Drupal, or a headless CMS like Strapi.
    • It allows non-technical users to manage content without touching code.

High Availability Strategy

  • Load Balancing: Never rely on a single server. Use a Load Balancer to distribute traffic across a cluster of web servers.
  • Statelessness: Ensure web servers don't store user session data locally, so any server can handle any request.