A new site answers
docker compose up -d
✔ Container wordpress-db-1 Started
✔ Container wordpress-wordpress-1 Started
curl -sI http://localhost | head -1
HTTP/1.1 302 Found
WordPress slow on shared hosting? Give it a server of its own.
Your own WordPress site on a server you control. From €0.0067 an hour.
Quartz · €0.0067 / hour · at most €4.49 / month per server · excl. VAT
docker compose up -d
✔ Container wordpress-db-1 Started
✔ Container wordpress-wordpress-1 Started
curl -sI http://localhost | head -1
HTTP/1.1 302 Found
Quartz (1 vCPU, 2 GB RAM, 20 GB NVMe) holds WordPress and its MariaDB database for a small site or blog. How many visitors it carries depends on your theme, plugins and caching, so test with your own site. For a busy shop or many plugins, start with a larger plan from the price list.
The plan for this task
Quartz
Quartz · €0.0067 / hour · at most €4.49 / month per server
All plans and pricesYou need the server's IP address and the root login from your dashboard. The commands follow the Docker and WordPress image documentation; check their pages if something has changed.
Replace SERVER_IP with the address from your dashboard and log in as root with your SSH key or the root password.
ssh root@SERVER_IPThe install script of the Docker project sets up Docker Engine and the Compose plugin on Ubuntu 24.04.
curl -fsSL https://get.docker.com | shThe password is generated on the server and saved in a .env file next to the Compose file, so it is never typed or pasted anywhere.
mkdir -p ~/wordpress && cd ~/wordpress
printf 'DB_PASSWORD=%s\n' "$(openssl rand -hex 16)" > .envTwo containers: MariaDB and WordPress. Both keep their data in volumes, so it survives restarts and updates.
cat > compose.yaml <<'EOF'
services:
db:
image: mariadb:11
restart: always
environment:
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: ${DB_PASSWORD}
MYSQL_RANDOM_ROOT_PASSWORD: "1"
volumes:
- db:/var/lib/mysql
wordpress:
image: wordpress
restart: always
depends_on:
- db
ports:
- "80:80"
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: ${DB_PASSWORD}
WORDPRESS_DB_NAME: wordpress
volumes:
- wordpress:/var/www/html
volumes:
db:
wordpress:
EOFCompose downloads the images and starts both containers. Open http://SERVER_IP in a browser and the WordPress installer asks for the site name and your admin account.
docker compose up -dWordPress runs on your server and you look after it: installing, updating, backups and security of WordPress are yours. Cloudvix provides the Cloud Server with root access, not a managed WordPress service.
Choose Quartz and Ubuntu 24.04 in the order form. A new server is usually ready in a few minutes.
The order form opens with the plan selected; pick the system from its list there. Prices exclude VAT.
Yes. Point your domain at the server's address, put a reverse proxy with automatic certificates such as Caddy in front of the WordPress container and set the site address in WordPress to https. The steps above open WordPress by IP address over http, which is fine for a first look only.
Update WordPress, themes and plugins from the dashboard as usual. To update the PHP or database image, run docker compose pull and then docker compose up -d in the Compose folder. Copy the volumes before you update.
Back up the two Docker volumes (the database and the WordPress files) or use a backup plugin, and keep a copy away from the server. Backups of WordPress are yours to set up.
Quartz has 1 vCPU, 2 GB RAM and 20 GB NVMe, suitable for a small site or blog with a caching plugin. If it turns out too small, create a larger server from the price list and move the site over.
No. It is your own server: you install, update and secure WordPress and its plugins yourself. Cloudvix provides the Cloud Server with root access.
Quartz · €0.0067 / hour · at most €4.49 / month per server
Create a server for WordPress