DNS CNAME Records Explained: An Alias for Another Hostname
Why does a DNS record point to another name instead of an IP address? A CNAME makes one hostname an alias of another hostname.
1:47 · No narration: the video shows each step as text on screen, and every step is written out below, with buttons that jump the video to it.
Prefer YouTube? Watch this video on our YouTube channel (opens in a new tab).
The six points in the video
This is a silent video. The headings, explanations and labels below reproduce the information on screen.
-
Step 1: CNAME means canonical name
The record identifies another hostname as the alias target.
On-screen labels: Alias hostname; Canonical target; DNS record.
-
Step 2: The target is a hostname
A CNAME value is a name rather than a direct IP address.
On-screen labels: Target name; Further DNS lookup; Resolved destination.
-
Step 3: A service may supply the value
Use the exact hostname specified by the hosting platform.
On-screen labels: Provider instructions; Exact target; Correct record name.
-
Step 5: Record combinations have limits
Other records at the same name can conflict with a CNAME.
On-screen labels: Same record name; Existing records; Provider-specific behaviour.
-
Step 6: Test the served website
The destination service must recognise the original hostname too.
On-screen labels: Alias resolution; Host configuration; Expected content.
A practical check for your business
Check which hostname the alias points to and whether the provider expects that arrangement. Review the destination and affected service before changing an existing CNAME record.
Sources and further detail
Common questions
Why does a DNS record point to another name instead of an IP address?
A CNAME makes one hostname an alias of another hostname. Check DNS aliasing and website redirects as separate settings.
Go further
More video tips
All 205 videos →
DNS MX Records Explained: Routing Incoming Business Email
MX records, explained.
DNS TXT Records Explained: Verification and Email Authentication
TXT records, explained.