- What is the difference between CNAME record and A Record?
- Why use a CNAME instead of an A Record?
- What is an example of a CNAME record?
- What is an A Record example?
What is the difference between CNAME record and A Record?
Difference Between A and CNAME
An A Record maps a hostname to one or more IP addresses, while the CNAME record maps a hostname to another hostname.
Why use a CNAME instead of an A Record?
General rules: Use an A record if you manage which IP addresses are assigned to a particular machine, or if the IP are fixed (this is the most common case). Use a CNAME record if you want to alias one name to another name, and you don't need other records (such as MX records for emails) for the same name.
What is an example of a CNAME record?
CNAME records are typically used to map a subdomain such as www or mail to the domain hosting that subdomain's content. For example, a CNAME record can map the web address www.example.com to the actual web site for the domain example.com.
What is an A Record example?
A Record. An A record (Address Record) points a domain or subdomain to an IP address. For example, you can use it for store.website.com or blog.website.com and point it to where you have your store. This is a common practice for people who use Amazon, eBay, Tumblr, etc.