What are CNAME records?
CNAME records or Canonical Name records function as aliases for domain names of other canonical domain name. This is generally suitable to point domains with a subfolder to a subdomain within a single primary domain name.
An example of its working is shown below with the URL:
When this site resolves, it is seen that it is exactly similar to the domain: