Updated guide: This article has been refreshed for current hosting environments. Control-panel labels and available features can vary slightly by account, server configuration, or software version, but the workflow below follows the current approach used on modern hosting platforms. This guide is written to help you complete How to Add a CNAME Record in cPanel safely and understand what to check if the expected result does not appear.
Before you begin
- Identify where the domain DNS is authoritative before making changes.
- Record existing MX, SPF, DKIM, DMARC and verification records before replacing nameservers.
- If Cloudflare is authoritative, make DNS changes in Cloudflare rather than expecting cPanel DNS edits to become authoritative automatically.
- For web records, decide whether the record should be Cloudflare proxied or DNS-only.
DNS records you will commonly use
- A: points a hostname to an IPv4 address.
- AAAA: points a hostname to an IPv6 address.
- CNAME: aliases one hostname to another hostname.
- MX: tells other mail systems where email for the domain should be delivered.
- TXT: stores verification and policy information such as SPF and domain-verification records.
- NS: identifies authoritative nameservers and is normally managed at the registrar/parent DNS level.
Cloudflare proxy vs DNS-only
Cloudflare can proxy eligible web traffic, which places Cloudflare between the visitor and the origin server. Records that are not suitable for proxying should remain DNS-only. In particular, mail-related records should not be proxied. Management hostnames such as a server control-panel hostname are also normally kept DNS-only so they resolve directly to the server. Cloudflare currently documents that only A, AAAA and CNAME records serving HTTP/HTTPS can be proxied.
DNS troubleshooting
- Website does not load: Confirm the A/AAAA or CNAME record points to the intended destination and check whether the record is proxied or DNS-only when using Cloudflare.
- Email stopped working: Check the MX record first. Also verify that SPF, DKIM and DMARC records are present and have not been accidentally proxied.
- Changes are not visible: DNS caches can retain previous answers. Check the authoritative nameservers and query the record from more than one DNS resolver before changing the record again.
- Nameserver change did not take effect: Confirm both nameservers assigned by your DNS provider are correctly entered at the registrar and that there are no conflicting nameserver records at the parent domain.
When to contact support
Contact support when the required feature is unavailable, a server-level service is failing, an account is locked, a restore requires privileges you do not have, or you have verified the settings but the service still does not work. When contacting support, include the domain name, the exact error message, what you changed, when the issue started, and screenshots or log output where appropriate. Do not send passwords or other authentication secrets.
Original illustrated procedure
CNAME records are referred to as alias records since they map an alias to its canonical name. You can add a CNAME Record using the cPanel's Zone Editor option.
1. Log in to your cPanel account.
2. In the Domains section, click on Zone Editor.
![]()
3. Under Domains, you can see many options below Actions.

4. Click on CNAME Record, and a popup box will open. Please, enter the required details in it.
Name: Enter the name you wish to add, such as www, and the cPanel will automatically add a domain name like www.example.com.
CNAME: Enter the domain name.

5. Now, click on Add a CNAME Record.
If the record is added successfully, you will see a success message.
Note: It may take anywhere from 12 to 24 hours for the changes to take effect worldwide.