CNAME records are referred to as alias records as they map an alias to its canonical name.
You can add a CNAME Record using the cPanel's Zone Editor option by following these steps.
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.
Enter the required details.
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.
Once the record is added successfully, you will see a success message.
Keep in mind: It may take anywhere from 12 to 24 hours for the changes to take effect worldwide.