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 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

Comment télécharger une sauvegarde à l'aide de cPanel ? (Vidéo)

Télécharger une sauvegarde via cPanel est un processus simple. Voici un guide étape par étape...

Comment générer une sauvegarde Sapna et l'envoyer au serveur FTP ? (Vidéo)

Créer une sauvegarde cPanel et l'envoyer vers un serveur FTP est un processus simple....

Comment restaurer une sauvegarde dans cPanel ? (Vidéo)

Restaurer une sauvegarde dans cPanel est simple et vous permet de récupérer les données...

Comment changer le mot de passe d'un compte dans cPanel ? (Vidéo)

Changer un mot de passe de compte dans cPanel est simple et peut être fait en quelques...

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

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