Adding a CNAME record in cPanel is like adding an A record and allows you to point a subdomain to another domain. Here's how to do it:
-
Log in to your cPanel account.
-
In the "Domains" section, click on the "Zone Editor" icon.
-
Select the domain you want to add the CNAME record to from the drop-down menu.
-
Click on the "Add Record" button.
-
In the "Type" field, select "CNAME" from the drop-down menu.
-
In the "Name" field, enter the subdomain you want to point to another domain.
-
In the "CNAME" field, enter the domain you want the subdomain to point to.
-
Leave the "TTL" field as is, or adjust it as needed.
-
Click on the "Add Record" button.
-
Confirm that the CNAME record has been added by checking the zone editor list.
As with the A record, it may take some time for the changes to propagate across the internet, this can take anywhere from a few minutes to a few hours, depending on the TTL value you set.
Note that, some hosting providers may have different steps or interface to add the CNAME record, in that case please check the documentation provided by your hosting provider or contact the customer support.