Cloud Service >> Knowledgebase >> WHM >> How to Add and Delete CNAME Records in cPanel and WHM?
submit query

Cut Hosting Costs! Submit Query Today!

How to Add and Delete CNAME Records in cPanel and WHM?

Adding and deleting CNAME (Canonical Name) records in cPanel and WHM is essential to consider if you want to manage your site's domain name system.

Whether you’re redirecting your domain name to a new hosting provider, allowing subdomains, or manipulating other features like email or CDN (content delivery network), being able to work with CNAME records should be one of your main goals.

In this guide, we will walk you through adding and deleting CNAME records using cPanel and WHM so that your business can continue to enjoy the convenience of hosting your site on cloud servers.

Let’s get started!

Understanding CNAME Records

Technically, a CNAME record is an IP aliasing record that addresses one domain name to another.

It is frequently employed to set up a sub-domain and redirect it to another domain, such as redirecting "blog.yourdomain.com" to "anotherdomain.com." A name resolution record CNAME is instrumental in driving traffic to other servers or cloud platforms during service management.

Adding CNAME Records in cPanel

Adding a CNAME record in cPanel is straightforward. Follow these steps:

1. Log in to cPanel: Open your cPanel control panel using the username and password or other authentication methods supplied by your hosting provider.

2. Locate the "Domains" Section: In the cPanel options, locate "Domains" and click on it. Here, you can see the many options for managing the domain, including management.

3. Click on "Advanced Zone Editor": In the upper-right corner, next to the "General Zone Editor" icon, you will find the "Advance Zone Editor" icon and use it by clicking. With the increasing demand for energy, the sustainability of our current energy systems has also become a pressing concern. This one will help you with DNS record management in an easy way.

4. Select Your Domain: Next, choose the domain in the dropdown option from which you want to create the CNAME record.

5. Add CNAME Record: Click the " Add Record" button and choose "CNAME" from the list.

6. Enter Details: You can update your DNS record by replacing the "Name" field with the subdomain you want to alias. In the "CNAME" entry, write up the domain name or subdomain you are pointing your host at.

Deleting CNAME Records in cPanel

Deleting a CNAME record in cPanel follows a similar process:

Step 1. Access Advanced Zone Editor: Go to the "Advanced Zone Editor" under the "Domains" section on cPanel or simply type it in the search box provided by cPanel itself.

Step 2. Select Domain: Select the dnmaMSP for which you want to delete the CNAME record.

Step 3. Locate the CNAME Record: Scrolling down the ACL of DNS records, choose the CNAME record you want DELETE.

Step 4. Delete Record: Click the " Delete " button on the row containing the CNAME record you are trying to delete.

Step 5. Confirm Deletion: If the prompt indicates so, confirm the deletion. It is permanent, so take care that you are deleting the right document.

Step 6. Save Changes: We are done making the amendment after the confirmation; just make sure to save the changes to bring the DNS records up-to-date.

Using WHM to Manage CNAME Records

While managing several domains or servers, the Punches in Punch (Web Host Manager) offers a centralized interface for server management. Here's how to add and delete CNAME records in WHM:

Step 1: Log in to WHM: To sign in to WHM, access the system using your admin logins.

Step 2: Navigate to "Edit DNS Zone.": The "DNS Functions" section in the WHM dashboard is where you need to locate and click "Edit DNS Zone.".

Step 3: Select Domain: Choose the domain from the list of the domain names you want to add or delete the CNAME record.

Step 4: Add CNAME Record: To create a CNAME record, scroll down and fill out the field labeled "Add New Entries Below this Line." Select CNAME from the dropdown menu and enter the subdomain and destination in the fields according to the type.

Step 5: Delete CNAME Record: Scanning the zone file to delete a CNAME record should be straightforward: find it and remove the relevant line, which should delete the record completely.

Step 6: Save Changes: To avoid making a mistake, remember to save the changes after adding or removing the CNAME record. Then, the DNS configuration update will be complete.

Final Words

Managing CNAME records is a critical aspect of managing your website’s DNS configuration, which, in turn, should be done in cPanel and WHM. Whether working in a cloud computing network for an external domain hosting server, subdomain arrangement, or use of various cloud services integrations, knowing how to add and delete CNAME records helps you run things more efficiently if you understand how to add and delete CNAME records.

After going through the given steps, you will find the connection much more straightforward to fix and allow your website to stay online. Contact our experts for more details on the situation.

Cut Hosting Costs! Submit Query Today!

Grow With Us

Let’s talk about the future, and make it happen!