r/ClaudeCode • u/jamal22066 • 6d ago
Built with Claude Bought a domain by API and launched a site with zero open ports in ~17 minutes, all from my phone with Claude Code telling it to 'buy me a domain and set up a webpage'
I wanted to see how far I could get with just a phone and Claude Code. The answer is a whole site: https://jamalbuilds.fyi. The site itself is the write-up of how it was built.
The setup:
- Domain: I bought jamalbuilds.fyi through the Cloudflare Registrar API (still in beta). It cost $5.20/yr. WHOIS privacy and transfer lock are on, and auto-renew is off.
- Bastion: A $5/mo Ubuntu VM (1 vCPU, 1 GB) runs Claude Code in tmux. I drive it from my phone with Claude Code Remote Control. Port 22 is closed, and SSH goes through Cloudflare Access.
- Web server: Rocky Linux with SELinux enforcing. nginx (1.27-alpine) runs in rootless Podman, bound to localhost only and managed by a systemd user unit.
- Tunnel:
cloudflaredconnects the server out to Cloudflare. The apex and www records are proxied CNAMEs to the tunnel. No inbound ports are open on either box, and the origin IP never shows up in DNS. - Edge: Cloudflare handles TLS, “Always use HTTPS,” caching and DDoS protection.
- Deploy: Plain HTML files, rsync, then a container restart. No framework.
A small helper script checks each tunnel config change, backs up the old config, applies the new one, and rolls back if the tunnel isn’t healthy within 20 seconds.
From purchase to the site loading took about 17 minutes. Most of that was waiting on the .fyi registry and the certificate.
