How to add CNAME Record in cPanel using the DNS Zone Editor? (Video)

A CNAME Record (Canonical Name Record) is used to alias one domain or subdomain to another. This is useful for redirecting traffic or integrating with third-party services like email, CDN, or website platforms. Follow these steps to add a CNAME Record in cPanel using the DNS Zone Editor.


Step 1: Log in to cPanel

  1. Open your web browser and navigate to your cPanel login page (e.g., https://yourdomain.com:2083).
  2. Enter your username and password, then click Log in.

Step 2: Open the DNS Zone Editor

  1. Scroll down to the Domains section in the cPanel dashboard.
  2. Click on Zone Editor.

Step 3: Select the Domain

  1. In the Zone Editor interface, locate the domain for which you want to add a CNAME Record.
  2. Click Manage next to the domain.

Step 4: Add a CNAME Record

  1. On the DNS Records page, click + Add Record or Add CNAME Record, depending on your cPanel version.

  2. Fill in the required fields:

    • Name: Enter the name of the record (e.g., www for www.yourdomain.com or mail for mail.yourdomain.com).
    • TTL (Time to Live): Leave the default value (e.g., 14400) or specify a custom TTL if required.
    • Type: Ensure the record type is set to CNAME.
    • Record: Enter the target domain (e.g., your-target-domain.com or thirdparty.service.com).
  3. Click Save Record or Add Record to apply the changes.


Step 5: Verify the CNAME Record

  1. Use a DNS checker like DNS Checker to confirm that the CNAME record is propagating correctly.
  2. Allow up to 24-48 hours for DNS changes to propagate globally, though they often update sooner.

Tips for Adding CNAME Records

  • Do Not Use CNAME for the Root Domain: You cannot create a CNAME Record for the root domain (e.g., yourdomain.com). Use an A Record instead if needed.
  • Check the Target Domain: Ensure the target domain or service URL is correct and active before saving.
  • Avoid Conflicts: Remove any existing conflicting records (e.g., A Record or MX Record) for the same name.

By adding a CNAME Record through cPanel's DNS Zone Editor, you can effectively redirect or alias subdomains to other domains or services, enhancing the flexibility of your domain's DNS configuration.

  • 102 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

How to Download Backup using cPanel? (Video)

Downloading a backup using cPanel is a straightforward process. Here's a step-by-step...

How to generate a cPanel backup and sent it to FTP Server? (Video)

Generating a cPanel backup and sending it to an FTP server is a straightforward...

How to restore a backup in cPanel? (Video)

Restoring a backup in cPanel is straightforward and allows you to recover your website’s data...

How to change an account password in cPanel? (Video)

Changing an account password in cPanel is simple and can be done in a few quick steps. Follow...

How to update your contact information in cPanel? (Video)

Updating your contact information in cPanel is important to ensure you receive critical...