Quick answer
How to install WordPress on a VPS?
To install WordPress on a VPS, install nginx, PHP-FPM and MariaDB, create a database and a user, download latest.tar.gz from wordpress.org, fill in wp-config.php, point nginx at the folder and open /wp-admin/install.php. An IronKVM Ingot with 4 GB of RAM runs it for $8.25 a month on 12 months.
In brief
- WordPress recommends PHP 8.3 or later, MySQL 8.4 or later or MariaDB 10.11 or later, and HTTPS.
- Debian 13 ships PHP 8.4 and MariaDB 11.8, so its own packages meet the recommendation.
- Apache or nginx is the recommended web server.
- Pretty permalinks on nginx need one try_files line.
- No plan includes backups: keep a copy of anything that matters outside the VPS.
Does Debian 13 meet the WordPress requirements?
| Component | WordPress recommends | Debian 13 package |
|---|---|---|
| PHP | 8.3 or greater | php-fpm 8.4 |
| Database | MySQL 8.4+ or MariaDB 10.11+ | mariadb-server 11.8 |
| Web server | Apache or nginx | nginx |
| HTTPS | Required | certbot |
Prices checked on
What are the steps to install WordPress on a VPS?
Install the stack
Install nginx, mariadb-server, php-fpm, php-mysql and the common PHP extensions.
Create the database
Open the mariadb client as root and create a database, a user and its privileges.
Download WordPress
Fetch latest.tar.gz from wordpress.org and extract it into /var/www.
Set ownership
Give the folder to www-data, the user PHP-FPM runs as on Debian.
Fill in wp-config.php
Rename wp-config-sample.php, enter the database name, user and password, and the unique keys and salts.
Write the nginx block
Add try_files for permalinks and a PHP location that passes requests to PHP-FPM.
Add HTTPS
Run certbot --nginx once DNS points to the VPS.
Run the installer
Open https://example.org/wp-admin/install.php, choose a site title and an admin account.
sudo apt update
sudo apt install nginx mariadb-server php-fpm php-mysql php-xml php-curl php-mbstring php-zip php-gd php-intl
ls /run/php/ # note the php-fpm socket nameCREATE DATABASE wordpress;
CREATE USER "wpuser"@"localhost" IDENTIFIED BY "a-long-random-password";
GRANT ALL PRIVILEGES ON wordpress.* TO "wpuser"@"localhost";
FLUSH PRIVILEGES;cd /tmp && wget https://wordpress.org/latest.tar.gz
tar xzf latest.tar.gz
sudo mv wordpress /var/www/example.org
sudo cp /var/www/example.org/wp-config-sample.php /var/www/example.org/wp-config.php
sudo chown -R www-data:www-data /var/www/example.orgserver {
listen 80;
server_name example.org www.example.org;
root /var/www/example.org;
index index.php;
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include fastcgi.conf;
fastcgi_pass unix:/run/php/php8.4-fpm.sock;
}
}What goes in wp-config.php?
The database name, user, password and host, plus the unique keys and salts. The WordPress install guide says to rename wp-config-sample.php to wp-config.php and edit it in a text editor. Set DB_NAME to wordpress, DB_USER to wpuser, DB_PASSWORD to your password and DB_HOST to localhost.
Replace each line in the “Authentication Unique Keys and Salts” section with a long random value. Then run sudo nginx -t and reload nginx. The website hosting guide explains the server block and the DNS record in more detail.
Which VPS plan is best to install WordPress on?
Ingot for one site with normal traffic; Girder when plugins, shops or many visitors add load. PHP-FPM and MariaDB both use memory, and caching plugins use more. Ingot has 2 vCPU, 4 GB RAM, 80 GB NVMe, 4 TB traffic for $8.25 a month on 12 months. Girder has 4 vCPU, 8 GB RAM, 160 GB NVMe, 8 TB traffic for $13.50.
According to IronKVM's survey of 16 November 2026, plans comparable to Ingot cost a median of $25.49 a month across 20 hosts. The best offshore VPS for WordPress compares hosts for this use.
What should you do right after the install?
Turn on HTTPS, keep WordPress updated and back up the database and wp-content. WordPress lists HTTPS support as a hosting requirement; Let’s Encrypt with certbot adds it in one command.
A backup needs two parts: a database dump and the wp-content folder. The VPS backup guide shows both with a daily schedule. No plan includes backups: keep a copy of anything that matters outside the VPS.
Installing WordPress on a VPS: questions
Can I install WordPress on the smallest VPS?
Billet, with 2 GB of RAM, runs a light blog. Ingot leaves room for plugins and caching.
Is nginx or Apache better for WordPress?
WordPress recommends either. nginx needs the try_files line for permalinks; Apache uses .htaccess.
Where do I get the secret keys?
Generate long random strings for each line of the keys and salts section in wp-config.php.
Which offshore VPS is best for WordPress in 2026?
One with enough RAM for PHP and MariaDB, NVMe disk and a clear notice policy. IronKVM Ingot and Girder fit most sites.
Does IronKVM offer one-click WordPress?
No. Each VPS is a clean Linux image of Debian 13, Debian 12, Ubuntu 24.04 LTS, AlmaLinux 10 and Rocky Linux 10; you install WordPress yourself.
Verdict
- Debian 13 packages meet the WordPress recommendation out of the box: PHP 8.4 and MariaDB 11.8.
- IronKVM Ingot suits one WordPress site, Girder a busier one; back up the database and wp-content off the VPS.
Sources (6)
- WordPress requirements — WordPress.org (read 2026-11-16)
- How to install WordPress — WordPress.org (read 2026-11-16)
- Creating a database for WordPress — WordPress.org (read 2026-11-16)
- Nginx — WordPress.org (read 2026-11-16)
- php-fpm in trixie — Debian (read 2026-11-16)
- mariadb-server in trixie — Debian (read 2026-11-16)
Run WordPress on your own VPS
Ingot, 2 vCPU, 4 GB RAM, 80 GB NVMe, 4 TB traffic, $8.25 a month on 12 months.