How I Deployed WordPress on Ubuntu 24.04 with NGINX, PHP 8.3 & Let’s Encrypt

    In this article I document the exact steps used to deploy a production-ready WordPress instance on:

    Ubuntu 24.04 VPS

    NGINX

    PHP 8.3 (FPM)

    MariaDB

    Let’s Encrypt SSL

    Custom domain: my.domain.local

    Client Browser
          │
          ▼
    NGINX (Reverse Proxy + SSL)
          │
          ▼
    PHP-FPM (php8.3-fpm.sock)
          │
          ▼
    MariaDB (WordPress DB)
    

    Step 1 – System Update

    sudo apt update && sudo apt upgrade -y
    

    Step 2 – Install NGINX

    sudo apt install nginx -y
    sudo systemctl enable nginx
    sudo systemctl start nginx