---
updatedAt: 2026-05-30T00:57:42.000Z
agentTools:
  siteIndex: https://techdocs.akamai.com/llms.txt
  projectIndex: https://techdocs.akamai.com/cloud-computing/llms.txt
---

# CNAME records

# CNAME overview

A **CNAME** (*Canonical Name*) record maps one subdomain to another subdomain, a root domain, or even a different domain entirely. Essentially, it creates an *alias* to the specified *target* domain. CNAME records are very common and prevent administrators from repeating IP addresses or other information across multiple DNS records.

To provide an example, consider that *docs.example.com* is hosted on the same server as *example.com*. Also consider that an [A record](https://techdocs.akamai.com/cloud-computing/docs/a-and-aaaa-records) already exists for *example.com*, which specifies the IP address of the server. Instead of creating another A record, you can create a CNAME record for *docs.example.com* and set it as an alias to *example.com*. When a DNS lookup occurs on *docs.example.com*, the DNS resolver sees that it is a CNAME record and performs another DNS lookup on the target domain. As the second query is for an A record, the IP address of the server is returned, which allows the user to access the website on that server.

In most cases, the target domain should resolve to another type of DNS record, like an A record. However, you can configure CNAME looping, which occurs when a CNAME points to another CNAME. In this case, the last record in the chain must be another type of record.

# Properties

* **Hostname:** The subdomain that you wish to use.

  * Enter a string that's 1-63 characters in length and contains only letters, numbers, and underscores. Hyphens can also be used, but the string cannot start with one.

  > 📘
  >
  > Using the root domain as the hostname for a CNAME record is called *CNAME flattening* and is not supported on Akamai's DNS Manager.

* **Alias to:** The full domain name of the canonical domain, where traffic should be redirected. You can also use the `@` character to use the root domain.

* **TTL** (*Time To Live*): The length of time that DNS resolvers should store the DNS record *before* revalidating it with Akamai's name servers. Setting the TTL to **5 minutes** is recommended for many use cases. If **Default** is selected, the TTL is set to **24 hours**.

# View, edit, or delete a CNAME record

After a CNAME record is created, you can manage it from the Domains section of [Cloud Manager](https://cloud.linode.com/domains).

To make changes, click on the domain, locate the record and select the more options ellipsis (...) to access the Edit or Delete options. For step-by-step instructions, see [Manage DNS Records](https://techdocs.akamai.com/cloud-computing/docs/manage-dns-records).

# Sibling pages

* [A and AAAA records](https://techdocs.akamai.com/cloud-computing/docs/a-and-aaaa-records.md)
* [MX records](https://techdocs.akamai.com/cloud-computing/docs/mx-records.md)
* [TXT records](https://techdocs.akamai.com/cloud-computing/docs/txt-records.md)
* [NS records](https://techdocs.akamai.com/cloud-computing/docs/ns-records.md)
* [SOA record](https://techdocs.akamai.com/cloud-computing/docs/soa-record.md)
* [CAA records](https://techdocs.akamai.com/cloud-computing/docs/caa-records.md)
* [SRV records](https://techdocs.akamai.com/cloud-computing/docs/srv-records.md)