← Guides

I deleted my web host. Here’s what replaced it.

The problem wasn’t the price

For years my sites sat on a traditional web host. It worked, but it was static and inflexible: one PHP version, one way of deploying, one control panel. If I wanted to test something, the hosting set the limit, not me. And every year I paid for capacity I didn’t use.

Saving money was a bonus. The real reason I left was that the host had become the slowest part of how I work.

What the setup looks like now

The result is about 1,600 DKK a year saved on hosting and mail. The mini PC was already running Home Assistant for the house, so the extra power cost is close to zero. The bigger win is control.

One caveat before you copy this: Vercel’s free Hobby plan is for personal, non-commercial use only. Client work and anything that earns money belongs on Pro, so factor that into your own numbers.

How a client site runs from a cupboard without opening the router

A WordPress site I’m building for a client doesn’t need to be public. It needs to be reachable for me and the client while we’re working on it, and closed the rest of the time.

The on/off part doesn’t need to be clever. A minimal version is two commands on the Proxmox host:

pct start 101
systemd-run --on-active=3h /usr/sbin/pct shutdown 101

What went wrong (so you can skip it)

The move wasn’t flawless, and the mistakes are the useful part.

1. The wp-content copy was incomplete

The site looked fine on my desktop, but 40 files from one upload folder were missing. Logo, favicon and team photos only showed up because my browser had them cached.

Lesson: compare the files the media library references in the database with what’s actually on disk. Don’t trust the frontend. Run this from the WordPress root:

wp db query "SELECT meta_value FROM $(wp db prefix)postmeta WHERE meta_key = '_wp_attached_file'" --skip-column-names \
  | while IFS= read -r f; do [ -f "wp-content/uploads/$f" ] || echo "MISSING: $f"; done

2. Old URLs survive the search-replace

Elementor writes its own CSS files with absolute URLs, and some content had URLs without https:. Those pointed to the old domain, which now redirects somewhere else, so images went missing on phones and in Safari.

Lesson: search for the old domain in the database and in wp-content, then regenerate the page builder’s CSS. Match on //old-domain rather than the full URL, so you catch http://, https:// and protocol-relative links without touching email addresses. Elementor also stores its layouts as JSON with escaped slashes, which a normal search-replace walks straight past, so it needs its own command:

wp search-replace '//old-domain.dk' '//new-domain.dk' --all-tables --dry-run
wp search-replace '//old-domain.dk' '//new-domain.dk' --all-tables
wp search-replace 'http://new-domain.dk' 'https://new-domain.dk' --all-tables
wp elementor replace-urls https://old-domain.dk https://new-domain.dk
wp elementor flush-css
grep -rIl 'old-domain.dk' wp-content/

3. “One-time PIN” isn’t always the default login

Once another login method has been added to Cloudflare Access, the email code has to be enabled explicitly on the application. My client landed on a Cloudflare sign-in page they couldn’t use.

Lesson: test the login in a private window with the client’s own address before you send the link.

4. A VPN client can quietly take over DNS

Tailscale had emptied the server’s DNS configuration, and the first install failed with name-resolution errors.

Lesson: if downloads fail on a fresh box, check /etc/resolv.conf first. Tailscale rewrites that file when MagicDNS is on and no DNS manager is running. tailscale set --accept-dns=false stops it on that machine.

Where it stops

This isn’t free hosting. It’s hosting where I’m the support desk.

Who it makes sense for

If you’re a freelancer or developer who mostly needs room to build, test and show work to clients, a cheap box at home combined with Vercel, Cloudflare and a mail provider gives you more control for less money than a classic web host.

If you need a site that must be online at 3 a.m. on a Sunday, pay someone to keep it running.

Frequently asked questions

Can I host client sites on Vercel’s free Hobby plan?
No. Vercel limits the Hobby plan to personal, non-commercial use. Paid client work, and anything else that earns money, belongs on the Pro plan.
Do I need to open ports on my router to use Cloudflare Tunnel?
No. The cloudflared connector opens an outbound connection to Cloudflare, so the server needs no public IP address and no open inbound ports. It also works behind CGNAT.
How does a client log in to a site behind Cloudflare Access without an account?
With a one-time PIN. You add the client’s email address to the allow list, and Cloudflare emails them a code when they visit. There are no passwords to share, and Access is free for small teams.
Is a Proxmox snapshot a backup?
No. A snapshot lives on the same disk as the container, so it protects you against a bad update, not against a dead disk. Real backups belong on another machine or at least another disk.
Should a client’s live production site run on a server at home?
Not if it has to stay online. Home internet, power and a single machine come with no SLA. A home server is great for development and staging, while paid production sites should run somewhere with guaranteed uptime.
Why not self-host email as well?
Because deliverability is a full-time job. SPF, DKIM, DMARC and IP reputation all have to be right for mail to reach the inbox. A provider like Migadu handles that for about 127 DKK a year, with a limit of 20 outgoing messages a day on the smallest plan.

ENDA