Blog

Which subdomain should I put the WordPress on for a headless site?

The front end on the root domain; the CMS on a cms-style subdomain.

The convention is clear: your front end (Astro) lives on the root domain (yourdomain.com) and the WordPress on a subdomain like cms.yourdomain.com, which only you use to edit.

And the nameservers?

Here’s the usual mix-up: where your nameservers sit doesn’t tie down where your hosting lives. You can manage DNS wherever you like (your registrar, Cloudflare, Vercel) and all you need is an A record pointing cms at the IP of your WordPress host.

That way they coexist without a hitch: the front end on an edge platform, the CMS on PHP hosting and the email on a separate service, all under the same domain.

What now?

Build it yourself
or have me build it?

If you’d rather build it yourself, the step-by-step guide is here. And if you’d prefer I build it, tell me about your project and let’s talk.