# WordPress on Hetzner in 10 minutes

> Create a Hetzner Cloud server from Vantuly and launch a WordPress site with HTTPS, page cache and backups, in about 10 minutes.

Source: https://vantuly.com/docs/guides/wordpress-on-hetzner

This guide takes you from a Hetzner account to a live WordPress site on your own server. Vantuly creates the server in your Hetzner account, installs a tuned stack and sets up WordPress. You pay Hetzner for the server; Vantuly is free for 2 servers.

**You need:** a [Hetzner Cloud](https://www.hetzner.com/cloud) account and a Vantuly account. A domain is optional: every site starts on a free HTTPS address.

## 1. Create a Hetzner API token (1 minute)

1. In the Hetzner Cloud Console, open your project (or create one).
2. Go to **Security → API tokens** and generate a token with **Read & Write** access.
3. Copy the token. Hetzner shows it only once.

## 2. Connect Hetzner to Vantuly (1 minute)

Go to **Settings → Providers → Hetzner Cloud**, paste the token and save. Vantuly stores it encrypted and uses it to create and manage the servers you ask for. See [Cloud providers](/docs/start/cloud-providers) for the other nine providers.

## 3. Create the server (about 3 minutes)

Open **Servers → Add a server → Create at your cloud provider**. The form has four steps:

1. **Provider**: pick your Hetzner Cloud account.
2. **Machine**: pick a **Location**, a **Size** and the **Operating system**. Prices come from Hetzner and are shown per location. For WordPress, the size marked **Recommended** is the cheapest one with at least 2 GB of memory.
3. **Purpose**: choose **WordPress & PHP**. It installs NGINX, PHP-FPM, MariaDB, Redis, WP-CLI and Composer. Leave the time zone on **UTC (recommended)** unless you need another.
4. **Review**: check the summary and create the server.

Every server also gets a firewall that allows only ports 22, 80 and 443, fail2ban, nightly security updates, and a swap file when it has less than 2 GB of memory.

The setup log streams live while it runs. The server is usually ready in about 2 minutes.

## 4. Create the WordPress site (under a minute)

1. Click **New site → WordPress**.
2. Enter the **Site title** and **Admin email**, and pick a **PHP version** (8.4 by default).
3. Choose **Free address** (keep the suggested `name.vantuly.site` or type your own) and the server you just created.

The site is live in under 5 seconds, with HTTPS already on. Click **WordPress admin** to log in.

## 5. Add your own domain (optional, a few minutes)

1. On the site's **Domains** tab, click **Add domain or alias** and enter your domain.
2. At your DNS provider, create an **A record** pointing to the server's IPv4 address (and an **AAAA record** for IPv6). The **Point DNS here** box shows the exact records.
3. Click **Check DNS**. Once the records match, the Let's Encrypt certificate is issued, usually about 15 seconds later.

Using Cloudflare, Namecheap or Spaceship DNS? Connect it under **Settings → DNS providers** and the records are created for you. See [Add your own domain](/docs/domains/own-domain).

## 6. Make it fast and safe

- **Page cache**: on the site's **WordPress** tab, turn on the NGINX page cache. Updates and search and replace purge it by themselves.
- **Updates**: Vantuly checks WordPress core, plugins and themes every day. Update them from the **WordPress** tab.
- **Backups**: add your own storage and turn on daily backups. See [Back up WordPress to Cloudflare R2](/docs/guides/wordpress-backups-r2).

## Next

- [WordPress sites](/docs/apps/sites/wordpress): everything the WordPress tab can do.
- [Server requirements](/docs/reference/requirements): use a Hetzner server you already have instead, with one install command.
