Question · Digital Marketing & SEO

Trying to understand CNAME records and when they are the right choice

10 Feb 2026
I'm finally getting my head around DNS after setting up a simple website on Netlify. They provided me with a custom domain name, something like
my-site-123.netlify.app
, and I want to point my own domain,
mysite.com
, to it. I've used A records before for pointing to IP addresses, but I keep reading that a CNAME might be better for this situation. I'm a bit confused about what a CNAME record actually does differently. When is using a CNAME the correct move compared to an A record? I want to make sure I set this up properly without causing any downtime or email issues.
Best answer
A CNAME record is the correct choice when you need to point a domain name to another domain name, rather than directly to an IP address. An A record points a hostname directly to a static IP address, while a CNAME record creates an alias, pointing one hostname to another hostname. This is ideal for your Netlify setup because it allows Netlify to manage the underlying IP addresses; if they change their infrastructure, your CNAME will automatically resolve to the new IPs without requiring you to update your DNS. In contrast, using an A record would require you to manually track and update IP addresses, risking downtime if they change. Crucially, a CNAME cannot be used on the root domain (like
mysite.com
) for most DNS providers due to conflicts with other essential records like MX for email; you must use it on a subdomain like
www.mysite.com
. For the root domain, you would typically use Netlify's provided A records or an ALIAS/ANAME record if your DNS provider supports it. For your subdomain, you would create a CNAME record like this in your DNS manager:
www.mysite.com. CNAME my-site-123.netlify.app.
The underlying concept is indirection and delegation, letting the target service control the final IP resolution.
12 Feb 2026
Your answer Sign in or register to reply

This is a public discussion. Create a free account to answer. Takes 20 seconds. No email gates.

Who Is Online

In total there are 45 users online: 0 registered, 39 guests and 6 bots.

Bots: AhrefsBot Facebook Other Bot Other Crawler Other Spider SemrushBot

Users active in the past 15 minutes. Total registered members: 356