UpturaBeta
Free DNS tool

Free CNAME Checker

Look up and verify the CNAME record for any hostname in seconds — see the exact alias target it points to and the IP address it resolves to. Then get free alerts the moment it changes.

Free · no sign-up · resolves the live CNAME record and where it points.

What is a CNAME record

CNAME records, in plain English

A CNAME (canonical name) record points one hostname at another hostname instead of an IP address — so a lookup on the alias follows through to wherever the target resolves.

  • Point www at your root domain

    A CNAME on www.example.com aliases it to example.com, so both addresses serve the same site.

  • Connect a SaaS or store

    Shopify, GitHub Pages, Netlify, and others ask you to point a subdomain at their hostname with a CNAME record.

  • Verify a service or domain

    Many providers confirm ownership by asking you to add a specific CNAME record — this tool lets you check it resolved correctly.

  • Route a CDN or custom domain

    CDNs and email tools use a CNAME to map your branded hostname to their infrastructure behind the scenes.

The apex-domain rule

You can't put a CNAME record on your root (apex) domain — example.com itself must use an A record. CNAMEs are only valid on subdomains like www.example.com. Some DNS providers offer an ALIAS or ANAME record that behaves like a CNAME but is allowed at the apex.

How to check a CNAME record

Verify a CNAME in four steps

Whether you're pointing www at your root domain or connecting a subdomain to a SaaS provider, here's how to confirm the record resolved correctly.

  1. 1

    Enter the hostname

    Type the exact hostname you want to check — usually a subdomain like www.example.com or the specific name your provider gave you. Skip the bare apex (example.com); it can't hold a CNAME.

  2. 2

    Run the lookup

    The checker queries live DNS from a public resolver and reads the CNAME record as the rest of the internet sees it right now — not a cached copy from your machine.

  3. 3

    Read the alias target

    Confirm the CNAME target exactly matches the value your provider asked you to set, including any subdomain and trailing dot. A single character off and the alias won't work.

  4. 4

    Check that it resolves

    The "Resolves to" IPs show the alias chain completes all the way to an address. If that's empty, the CNAME points at a target that itself has no record — a broken or dangling alias.

Prefer the command line? Query the CNAME directly:

dig www.example.com CNAME +short
nslookup -type=CNAME www.example.com

The guide

CNAME records, past the lookup

How a CNAME actually resolves, where they're worth using, the rules that reject them, and how a forgotten alias becomes a security hole — the context the result card above doesn't give you.

What a CNAME actually does — following the chain

A CNAME record is a redirect that happens inside DNS, before your browser ever makes a request. When a resolver looks up a name that has a CNAME, it doesn't get an answer — it gets told "that's really called something else, go ask for this name instead." So it does, and it keeps following until it lands on a name with an actual A record and a real IP address. One lookup you typed quietly becomes two or three under the hood.

That indirection is the entire value of a CNAME. Because www.example.com points at a name rather than a number, whoever owns that target — a CDN, a hosting platform, a status page — can move their servers, swap IPs, or fail over to a new region, and your record never has to change. You pointed at a name; they keep the name aimed at the right place. It's why platforms hand you a CNAME to set up instead of an IP address.

Where CNAMEs earn their keep

Almost every CNAME you'll ever set falls into one of a few buckets, and knowing which one you're in tells you what the target should look like:

  • www → your root domain the classic: a CNAME on www.example.com aliased to example.com so both addresses serve the same site.
  • A subdomain on someone else's platform shop.example.com pointed at a Shopify, Netlify, Vercel, or GitHub Pages hostname — their instructions give you the exact target.
  • Provider verification some services (AWS ACM certificates, a few email providers) prove you control a domain by asking for a very specific CNAME rather than a TXT record.
  • A branded CDN or email hostname cdn.example.com or email links routed through a provider's infrastructure while showing your name in the URL.

The rules that trip people up

CNAMEs come with two constraints that cause most of the confusion. The first is the apex rule: you cannot put a CNAME on the bare root of your domain — example.com with no www. The DNS spec won't allow a CNAME to sit alongside the other records an apex is required to have (its NS and SOA records), so your provider rejects it outright. If a platform tells you to "CNAME your root domain" and your registrar refuses, what you actually need is an ALIAS or ANAME record — a special type that behaves like a CNAME but is legal at the apex — or Cloudflare's CNAME flattening, which quietly resolves the CNAME down to an A record for you.

The second rule follows from the first: a name with a CNAME can't have any other records. You can't put a CNAME and an MX record on the same hostname, for example — which is why you alias www but keep your mail records on the apex. When a lookup shows no CNAME where you expected one, it's often because another record type is already living on that name.

When a CNAME breaks — dangling records and takeovers

The most dangerous CNAME isn't a wrong one — it's a forgotten one. Say you pointed status.example.com at a hosting provider a year ago, then stopped using the service but left the CNAME in place. That's a dangling CNAME: it still aliases your subdomain to a target you no longer control. If someone else claims that target on the provider, they inherit your subdomain — a subdomain takeover, complete with a valid page served under your name.

What makes this hard is timing. The lookup above tells you what's true this second, and a CNAME reads perfectly fine right up until the target underneath it changes hands or disappears. A one-time check can't warn you when that happens next week. That's the gap continuous monitoring closes: point Uptura at your domains and it re-runs this exact lookup on a schedule, keeps a baseline of every CNAME and the record it resolves to, and the moment one changes it emails or Slacks you the before-and-after — so a broken alias or a takeover is something you catch in minutes, not something a customer reports.

FAQ

CNAME records, answered

  • What is a CNAME record?

    A CNAME (canonical name) record is a DNS record that points one hostname at another hostname instead of at an IP address. For example, a CNAME on www.example.com can alias it to example.com, so the www version resolves to wherever the root domain points.

  • How do I check a CNAME record?

    Enter the hostname (like www.example.com or a subdomain) in the checker above and run the lookup. It queries live DNS and shows the CNAME target the hostname is aliased to, plus the IP address it ultimately resolves to. You can also run 'dig www.example.com CNAME +short' from a terminal.

  • Why does my CNAME lookup return no record?

    Two common reasons: the hostname uses an A record instead of a CNAME (this is required for the root/apex domain — you can't put a CNAME on example.com itself, only on subdomains), or the record hasn't propagated yet. New or changed CNAME records can take up to 24–48 hours to appear on every resolver.

  • Can I have a CNAME on my root domain?

    Not with a standard CNAME record — the DNS spec doesn't allow a CNAME on the apex (root) domain. Use an A record for the apex, or a provider-specific ALIAS/ANAME record that behaves like a CNAME but is allowed at the root.

  • How do I verify a CNAME record is correct?

    Run the lookup and confirm the CNAME target exactly matches the value your provider asked you to set (including any trailing dot and subdomain). If it matches and resolves to an IP, the record is live and correct. Uptura can also alert you automatically if that CNAME ever changes.

Get alerted the moment a CNAME changes

Add your domains and let Uptura watch every DNS record for you — free during our public beta, no credit card required.

Free during beta · no credit card required