Skip to content

Cloud & Server Infrastructure

Server Infrastructure, Operating Systems & Stack Configuration

Last reviewed

Server rack in a data centre representing production infrastructure

Summary: A reliable production server comes down to four layers done well: a supported Linux distribution kept patched, a hardened network perimeter, a correctly tuned web and application stack, and encrypted connections with automated certificate renewal. This hub links our step-by-step guides for each layer.

The production web stack

Layers of a typical web server
  1. 01

    Network

    Firewall, DDoS protection, DNS

  2. 02

    Operating system

    Ubuntu LTS, Debian, AlmaLinux

  3. 03

    Web server

    Nginx, Apache, LiteSpeed

  4. 04

    Application runtime

    PHP-FPM, Node.js, Python

  5. 05

    Database

    MariaDB, MySQL, PostgreSQL

Choosing a Linux distribution

DistributionSupport modelGood for
Ubuntu LTS5 years standard support per LTS release, extended options availableMost tutorials and cloud images; widest community
Debian stableAbout 3 years, plus LTS extensionMinimal, conservative servers
AlmaLinux / Rocky LinuxAbout 10 years per major releasecPanel servers, RHEL-compatible environments

Web server software

  • Nginx: event-driven, low memory, excellent as a reverse proxy and for static files.
  • Apache: flexible module system and per-directory .htaccess files, common on shared hosting.
  • LiteSpeed / OpenLiteSpeed: Apache-compatible configuration with built-in page caching, popular with WordPress.

Guides in this section

Baseline operations

  • Automated, off-server backups with tested restores
  • Uptime monitoring from an external location
  • Log rotation so disks never fill
  • A written runbook for restarts and recovery
  • Least-privilege user accounts; no shared root logins

Get new technical guides by email

Occasional, practical server and hosting tutorials for Canadian webmasters. Unsubscribe any time.