Vercel & DNSPod
Domains are registered on Tencent Cloud. DNS goes through Tencent Cloud DNSPod. This page records the workflow for connecting both Vercel projects to DNSPod.
Two independent Vercel projects
The main site (arsvine-realm) and the documentation site (arsvine-docs) must be independent Vercel projects. They bind different subdomains and do not share configuration.
Main site
Documentation site
The docs site uses vercel.json to declare buildCommand / outputDirectory / installCommand / framework: null explicitly so Vercel skips framework auto-detection.
Vercel domain binding
- Log in to Vercel; open the target project
- Settings → Domains → Add
arsvine.com/docs.arsvine.com - Vercel assigns a CNAME target (one per project, looking like
cname.vercel-dns.comas a subdomain) - Vercel auto-provisions a Let's Encrypt certificate
Tencent Cloud DNSPod records
Log in to the DNSPod console, pick arsvine.com under "Domain records", and add two CNAMEs:
An empty host record (@) means the apex domain. Use docs, blog, etc. for subdomains.
Wait tens of seconds to a few minutes for DNSPod to propagate. Refresh the Vercel domain page until it shows Valid Configuration.
Verification
Both records should resolve to the Vercel-provided CNAME target.
HTTPS
- Vercel auto-issues and renews Let's Encrypt certificates
- DNSPod does not participate in certificate issuance; it only handles resolution
- Do not share a single Vercel project between the main site and the docs site
Rollback
- Vercel → Deployments → select an older deployment → Promote to Production
- COS resource rollback:
node --env-file=.env.local scripts/assets-publish.mjs --rollback <version>writes thecurrent.jsonpointer back (seeasset-pipeline)