Tutorial / DNS routingFree, no ads subdomains
Tutorial
Updated Oct 22, 2026 · 6 min read

Point a Subdomain to Vercel

TL;DR. To point a subdomain to Vercel, add the exact CNAME destination given in Vercel’s domain settings, then verify the project there. Use a CNAME for hosted platforms such as Vercel, Netlify, and Pages. Use an A record only when the target is a public server IPv4 address.

Pointing a subdomain means publishing one DNS record that tells browsers where a named address should go. For example, portfolio.aiclub.ai.id can point to a Vercel deployment while a different subdomain points to a VPS. The key is matching the record type to the destination your platform documents.

Point a subdomain to Vercel with a CNAME record

What do you need before adding a record?

First deploy the site on its hosting platform. Then open the platform’s custom-domain settings and copy its recommended DNS value. Do not guess a CNAME target from another project: providers can use different validation names or update their instructions. Finally, decide the subdomain name you want visitors to use.

How do you point a subdomain to Vercel?

  1. Deploy the project and add the intended subdomain in Vercel’s domain settings.
  2. Copy the exact CNAME target Vercel shows for that project.
  3. In AICLUB, claim the name with the CNAME routing type and paste that target.
  4. Return to Vercel and wait for its domain verification before testing HTTPS.

Which record should each platform use?

DestinationRecordWhat to enter
VercelCNAMETarget shown by Vercel
NetlifyCNAMETarget shown by Netlify
Cloudflare PagesCNAMEyour-project.pages.dev
VPS / own serverAPublic IPv4 address

CNAME or A record: what is the difference?

A CNAME names another hostname, so it suits platforms that manage their own destination infrastructure. An A record is a numeric public IPv4 address, so it suits a VPS or server you administer. Never put a URL, slash, or page path into either field: a DNS record needs only the target host name or IP address.

Read Vercel’s official domain guide.

What problems are common after DNS is added?

Check the DNS target first, then check the platform’s domain status. Propagation can differ between networks, so test after the provider says verification is complete. For a general explanation of record behavior, see Cloudflare’s official DNS record documentation.

Read the Cloudflare DNS record reference.

Frequently asked questions

Which record points a subdomain to Vercel?

Use the exact CNAME target shown in the Vercel project’s domain settings.

When should I use an A record?

Use it when the destination is a public IPv4 address, usually a VPS or server you manage.

Why is it not live immediately?

Check the target and platform verification, then allow resolver caches time to update.

Continue learning

Ready to point your project?

Claim a free, no ads subdomain for a legitimate website or app.

Claim a subdomain