Find answers to your questions

Documentation

Add and verify a CNAME record

A CNAME record makes one DNS name an alias of another. It is often used to connect a subdomain to a service that supplies an exact target. It does not copy a website or change the address shown in the browser. To send visitors to a different web address, use an HTTP redirect instead.

Before changing the zone

  • Identify the provider hosting the domain’s active DNS. If the nameservers point to another provider, a change in cPanel will not affect that public zone.
  • Obtain the exact record name and target from the service you are connecting. The target is a complete hostname, without https://, a path, port or IP address.
  • Record the existing value and its cache lifetime, called TTL. Check dependencies before replacing it: a name used by the website may also support email or verification.

An ordinary CNAME must not coexist with other records at the same name. Do not delete an A, AAAA or verification record simply to dismiss an error. For the main domain without a subdomain, have the provider’s supported approach checked: a standard CNAME and provider-specific alias features are not interchangeable. See our guide to changing DNS while preserving email services.

Add the CNAME in cPanel

This procedure applies if cPanel manages the active zone and the tool is available for your service.

  1. Open cPanel, then Zone Editor.
  2. Find the correct domain. Use + CNAME Record, or Manage and add a record of type CNAME, depending on the interface.
  3. Enter the supplied alias name and target hostname. If a TTL field is available, follow the service’s instructions or retain an appropriate value for your zone.
  4. Check the resulting complete name: the interface may append the domain suffix. Avoid entering it twice. Review the target and save.

Verify the result

Find the saved entry and confirm its type, name and target. A success message confirms the record was saved in that zone, not that every cache has updated. Previous answers can remain visible according to their TTL.

Then validate the intended service. For a website, the destination hosting must accept that hostname and present a valid HTTPS certificate for it. For domain verification or email signing, use the provider’s verification process. Do not reset the entire DNS zone to fix an alias.

Plan the change with Nuagerie

Our team can help you check dependencies and plan a change that fits your website. In your Client Area, provide the affected domain, the intended result and the checks you have completed. Do not include passwords or access tokens in your request.

Official references

Related Articles

How to clear your computer’s DNS cache The DNS cache temporarily stores answers that connect domain names with network addresses. Clearing it can help when one device retains an old answer after a DNS change. It is not a general fix for HTTP 404 errors, expired certificates or a website outage. Check before changing anythingRecord the exact address and... Redirect a domain or page with cPanel An HTTP redirect sends visitors from one web address to another. It is useful for a moved page, a domain change or a short address. It transfers neither website files nor email accounts. A CNAME record serves a different purpose: it links names in DNS. Prepare the source and destinationThe destination must already... Understand domains, aliases and subdomains A domain name can serve a website, email addresses and other services. Before adding it to your hosting account, decide what you want to connect: a new website, another address for the same website or a subdomain. Registration, DNS and hosting have different roles Domain registration: this concerns the name itself,... Choose your website’s main address: with or without www Your website may be reachable with or without www, over HTTP or HTTPS. Choosing a consistent main address simplifies links, tracking and navigation. Each alternative address should lead to the right page at the chosen HTTPS address. Choose an address that fits your siteUsing www does not, by itself, provide a... How to Create and Use Subdomains Subdomains Subdomains allow you to separate your website into several distinct sections. Subdomains will look like this: subdomain.yourdomain.com, where subdomain is the name of the subdomain, and yourdomain is your domain name. Examples Here are some common subdomains: http://forum.yourdomain.com (used for the...