Training path

Web Servers: Apache & Nginx

Serve your own site on your own machine: install Apache and Nginx, write the HTML and JavaScript they serve, configure virtual hosts, and put Nginx in front of Apache as a reverse proxy.

Your lab machineLive

Ubuntu 24.04 with sudo (root) access, next to every lesson.

learner@linux-server:~$ sudo apt-get install -y --no-install-recommends apache2

learner@linux-server:~$ curl -s localhost

learner@linux-server:~$ sudo nginx -t

What you'll learn

Every lesson serves pages from a Linux machine of your own, and opens them in a real browser tab. You install Apache, write the HTML, CSS and JavaScript it serves, configure virtual hosts, then bring in Nginx on a second port and put it in front of Apache as a reverse proxy — reading the logs and status codes along the way.

Core skills

  • ✓Installing and running Apache
  • ✓HTML, CSS and JavaScript in /var/www/html
  • ✓Virtual hosts and DocumentRoot
  • ✓Nginx on a second port, side by side with Apache
  • ✓Nginx as a reverse proxy in front of Apache

Advanced topics

  • ✓apachectl configtest and reloads
  • ✓Access and error logs for both servers
  • ✓Status codes with curl -w
  • ✓Forwarded headers through a proxy

Course modules

  1. 01

    Install Apache, serve the default page

    Install Apache with apt, find the default page, and put your own words on port 80.

    45 min
  2. 02

    Your own pages: HTML, CSS, JavaScript

    Build a small site in /var/www/html: HTML for structure, CSS for looks, JavaScript for behaviour.

    45 min
  3. 03

    How Apache is configured

    Virtual hosts, DocumentRoot, config tests, and the Apache logs.

    45 min
  4. 04

    Nginx joins: a second server

    Install Nginx, move it to port 8080, and run both servers side by side.

    45-60 min
  5. 05

    Nginx as a reverse proxy

    Put Nginx in front of Apache: proxy_pass, forwarded headers, and proof that the chain works.

    45-60 min
  6. 06

    Logs and status codes

    Read access logs, print status codes with curl, and know where to look when a site will not serve.

    45 min

Prerequisites

Linux command-line basics. No web-server experience needed.

What's included

  • •6 hands-on chapters
  • •Your sites open in a real browser tab, one click from the lab
  • •A Linux machine of your own for every lesson, nothing to install
  • •Tasks checked on your machine with "Check my work"

Who it's for

  • •Developers who want to know what happens past their code
  • •Junior admins who will run a web server
  • •Anyone who has configured Nginx by pasting from the internet

By the end, you'll be able to

  • •Install Apache and serve your own pages on port 80
  • •Write the HTML, CSS and JavaScript a server hands out
  • •Configure virtual hosts and know where the logs live
  • •Run two servers side by side on different ports
  • •Put Nginx in front of Apache and prove the chain works

Course format

  • •Self-paced online learning
  • •Lifetime access to course materials
  • •Regular content updates
  • •Community forum access

Support

  • •Email support from instructors
  • •Q&A sessions (monthly)
  • •Peer community support
  • •Course completion certificate

Course investment

Contact for pricing

Flexible payment options available

Ready to serve?

Open your machine and put your own words on port 80.