Date: 7/30/19 | Reading time: About 1 minute
Most people are not getting enough out of their domains. The Domain Name System is incredibly powerful, but if you’re not using it properly it’s not going to get you very far. For example, if you just have a domain pointing to a website, what can you do if you want the domain to be used for other purposes like email or pointing to a different server for different resources.
CNAMES to the rescue! CNAMES let you create alternative hostnames that turn your cPanel into a sort of traffic cop, redirecting traffic here and there and wherever you need it to go.
In this article, we’ll cover how to:
Here’s an explanation of the CNAME options and a description of each:
|TTL||The default setting is 14400, or 4 hours.|
These are also the settings you will use when you follow the steps below.
- Log into cPanel
- Click Zone Editor under the Domains section
- Select +CNAME Record for the domain
- Fill in the name and desired domain
- Click Add a CNAME Record
- Login to WHM.
- Click the Edit DNS Zone link in the DNS Functions section.
- Click the domain you want to create the CNAME for, then click the Edit button.
- Scroll to the bottom and you will see an Add New Entries Below this Line section. Click the Select drop-down menu, then click CNAME.
- In the first field enter your CNAME entry. In my example, I am entering: test
- Enter your Hostname in the available field, then click the Save button. In my example, I am entering example.com. (14400 will automatically be filled in the TTL section).
Well done! You now know how to create CNAMES in cPanel and WHM. CNAMES are yet another way for you to get the most out of your hosting account and take advantage of all the resources available to you. Be sure to leave a comment below if you have any further questions.