1. Server stack you need:

  • 🖥️ VPS or cloud server (small one is fine at first: 1–2 CPUs, 2–4 GB RAM)

  • 🌐 Install NGINX (web server)

  • 🐘 Install PHP-FPM (for dynamic pages)

  • 🛢️ Install MariaDB or MySQL (database)

  • 📦 Install WordPress (download, unzip into your web root)


2. Minimal NGINX config example:

nginx
server {
listen 80;
server_name yourdomain.com www.yourdomain.com;

root /var/www/yourdomain;
index index.php index.html index.htm;

location / {
try_files $uri $uri/ /index.php?$args;
}

location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
}

location ~ /\.ht {
deny all;
}
}

  • It sends static files directly.

  • It sends .php files to PHP-FPM.

  • It protects .ht* files (even though NGINX doesn’t use .htaccess, just in case).


3. Then you just:

  • Create a database for WordPress.

  • Point your domain to your VPS IP.

  • Run the WordPress installer through your browser.

  • Done! 🛠️

You now have a fully free, fully customizable, fully yours WordPress.