Skip to main content

Padding Tutorials

What do you want to build?

Featured

102 tutorials

All tutorials

  • How to Put Nginx in Front of a Node.js App as a Reverse Proxy

    You will install Node.js 26, run a small app on a local port, and configure Nginx 1.30 to pass public traffic to it with the headers your app needs.

    Intermediate · 12 min · Web servers and networking

  • How to Load Balance Traffic Across Servers with Nginx

    You will spread requests across three backends with an Nginx upstream block, weight them, keep a spare in reserve, and watch Nginx route around a backend that stops answering.

    Advanced · 14 min · Web servers and networking

  • How to Install Nginx on Ubuntu 26.04

    You will install the current stable Nginx 1.30 from the official nginx.org repository on Ubuntu 26.04, serve its test page, and learn where its files live and how to reload it safely.

    Beginner · 10 min · Web servers and networking

  • How to Host Multiple Websites on One Server with Nginx

    You will run two separate websites on one Ubuntu 26.04 server by giving each its own Nginx server block, decide what unknown names receive, and check every site before DNS points at it.

    Intermediate · 11 min · Web servers and networking

  • How to Get Free HTTPS for Your Site with Let's Encrypt and Nginx

    You will install Certbot 5.10, get a free Let's Encrypt certificate for your domain, have Nginx serve it over HTTPS, and confirm that it renews on its own.

    Beginner · 10 min · Web servers and networking

  • DNS Records Explained: A, AAAA, CNAME, MX and TXT, with dig Examples

    You will learn what the common DNS record types do and read each one with dig, using a small practice DNS server you start yourself.

    Beginner · 12 min · Web servers and networking

  • How to Serve a Site with Automatic HTTPS Using Caddy 2

    You will install Caddy 2.11, serve a folder with a three-line Caddyfile, see it use HTTPS and redirect HTTP without extra setup, and learn what changes when the site has a real domain.

    Intermediate · 11 min · Web servers and networking

  • How to Install Laravel 13 on Ubuntu 26.04 with PHP 8.5

    You will install PHP 8.5 from Ubuntu's own repositories and Composer from its official installer with a checksum check, create a Laravel 13 project, add a route, controller, view and test, and run the app with the built-in development server.

    Intermediate · 20 min · Web frameworks

  • How to Deploy a Laravel App with Nginx and PHP-FPM

    You will serve a Laravel 13 app on Ubuntu 26.04 with Nginx 1.30 passing PHP requests to a dedicated PHP-FPM 8.5 pool over a Unix socket, with APP_DEBUG off, a private .env file, code the app user cannot change, a production cache, and a repeatable deploy script.

    Advanced · 30 min · Web frameworks

  • How to Deploy a Django App with Gunicorn and Nginx on Ubuntu 26.04

    You will run a Django 6.1 project on Ubuntu 26.04 with DEBUG off, a secret key kept in a private file, Gunicorn started by a systemd socket and service as an unprivileged user, and Nginx serving static files and passing everything else to the app.

    Advanced · 28 min · Web frameworks

  • How to Create Your First Django 6 App

    You will create a Django 6.1 project with uv on Python 3.15, build a small bookmarks app with a database model, an admin screen, a page and a test, and see how the pieces connect.

    Beginner · 22 min · Web frameworks

  • How to Build a React 19 App with Vite

    You will scaffold a React 19 and TypeScript app with Vite 8, run the dev server, replace the starter page with a small checklist built from components and state, then create a production build and serve it locally.

    Beginner · 18 min · Web frameworks

  • How to Build Your First Next.js 16 App with the App Router

    You will create a Next.js 16 app, add pages, a shared layout, a dynamic route that is built ahead of time, one interactive component and a JSON route, then run a production build and read what Next.js decided to prerender.

    Beginner · 22 min · Web frameworks

  • How to Set Up a UFW Firewall on Ubuntu 26.04

    You will turn on UFW with a deny-by-default policy, allow SSH before you enable it so you stay connected, open only the web ports your server needs, and learn to list, remove and limit rules.

    Beginner · 11 min · Security and hardening

  • How to Prevent SQL Injection in Python and Node.js

    You will write a login lookup that an attacker can break with one line of input, watch it fail, fix it with parameterised queries in both Python and Node.js, and learn the cases where parameters are not enough.

    Intermediate · 14 min · Security and hardening

  • How to Keep Passwords and API Keys Out of Git

    You will keep secrets in a git-ignored .env file, commit a safe template instead, stop a commit that contains a key with a pre-commit hook, and learn what to do when a secret has already been committed.

    Beginner · 12 min · Security and hardening

  • How to Harden SSH on Ubuntu 26.04: Keys Only, No Root, Custom Limits

    You will switch an Ubuntu 26.04 server's SSH daemon to key-only logins, turn off root login, limit who can connect and how many guesses they get, and test the change without locking yourself out.

    Intermediate · 12 min · Security and hardening

  • How to Block Brute-Force Logins with Fail2ban

    You will install Fail2ban 1.1 on Ubuntu 26.04, set it up to ban any address that keeps failing SSH logins, test the rule against a sample log line, and learn how to see and undo bans.

    Intermediate · 11 min · Security and hardening

  • How to Turn On Automatic Security Updates on Ubuntu 26.04

    You will check that unattended-upgrades installs security fixes by itself on Ubuntu 26.04, tune it to reboot at a quiet hour when a kernel update needs it, and read its logs to confirm it works.

    Beginner · 9 min · Security and hardening

  • How to Audit Your Linux Server's Security with Lynis

    You will run a Lynis 3.1 security audit on an Ubuntu 26.04 server, read its hardening score and findings, fix one of them, and run it again to see the score move.

    Intermediate · 11 min · Security and hardening

  • How to Add Security Headers to Your Site in Nginx

    You will add the HTTP security headers every site should send, keep them in one reusable file, avoid the add_header inheritance trap, and roll out Content-Security-Policy and HSTS in the safe order.

    Intermediate · 14 min · Security and hardening

  • How to Write and Run Your First Web Server in Go

    You will write a web server in Go 1.27 using only the standard library, with path routes, a JSON endpoint, a POST handler, timeouts and a clean shutdown, then test the handlers without opening a port and build the server into one binary.

    Beginner · 18 min · Programming languages

  • How to Write and Run Tests in Python with pytest

    You will install pytest 9.2 in a uv project, write tests for a small price-parsing module, run many cases from one test with parametrize, read a failure and fix the code, and use a fixture that gives each test its own temporary folder.

    Intermediate · 18 min · Programming languages

  • How to Set Up a TypeScript 7 Project from Scratch

    You will create a Node.js 26 project, install TypeScript 7, write a tsconfig.json you understand, compile two files to JavaScript, watch the compiler catch a type error, and add npm scripts for building, checking and running.

    Beginner · 15 min · Programming languages