Putting an app on a codeaddicts.io subdomain
Domains live in Cloudflare. To point a subdomain at a Vercel app:
- Add a
CNAMEfor the subdomain pointing at the Vercel target, e.g.3f7487f255a9a141.vercel-dns-017.com - Set it to DNS only, not proxied. Turn the orange cloud off.
- Run
vercel domains add <subdomain>
The proxy setting is the bit that breaks it. Left proxied, Vercel can't verify the domain and the certificate never issues. If a subdomain isn't coming up, check the orange cloud first.
Vercel also gives every project a stable <project>.vercel.app alias that repoints on each vercel --prod, which is enough for anything that doesn't need a real domain.
DNS changes can be driven through the Cloudflare MCP rather than the dashboard, though it needs OAuth authorization first and that can't be done from a non-interactive session.