What Is A CNAME - How To Create & Edit CNAME

Summary

A CNAME (Canonical Name) points one domain or subdomain to another domain name, allowing you to update one A Record each time you make a change, regardless of how many Host Records need to resolve to that IP address.

 


Understanding a CNAME

 

CNAME.png


These records point www.example.com to example.com, imap.example.com to mail.example.com, and docs.example.com to ghs.google.com.
The first record allows the domain to resolve to the same server with or without the www subdomain.
The second record allows you to use an alternative subdomain for email hosting an delivery.
The third record allows you to use the docs.example.com subdomain with Google Apps, where you can use Google's document management system. This type of record requires additional configuration with Google.

 

Creating a CNAME

 

  1. Log into your Sunserver India Hosting Account
    • Legacy: Select the DNS Zone Editor icon in the Domains section.
    • Rock: Click the Domains tab from the side navigation menu, then select the Zone Editor option.
  2. Select the domain you're modifying from the drop-down box.
  3. Scroll down to the heading named Add DNS Record
  4. In the Host Record field, enter the desired record name
  5. Leave the TTL field at it's default setting
  6. Select CNAME, from the drop-down labeled Type
  7. In the Points To field, enter the address that the record should resolve to.
  8. Other fields may appear depending on the type of record you are creating.
  9. Click on the Add Record button to create the record

 

Editing a CNAME

 

  1. Log into your Sunserver India Hosting Account
    • Legacy: Select the DNS Zone Editor icon in the Domains section.
    • Rock: Click the Domains tab from the side navigation menu, then select the Zone Editor option.
  2. Select the domain you're modifying from the drop-down box.
  3. Scroll down to the heading named CNAME
  4. Click Edit
  5. Make the necessary changes the CNAME
  6. Click Save
  7. Click on the Add Record button to create the record
  • cname
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

DNS Management - How To Edit MX Records

DNS Management - How To Edit MX Records A mail exchanger (MX) record is a type of DNS record...

Cpanel Exim How To Clear The Mail Queue

  Cpanel Exim How To Clear The Mail Queue Here’s the proper way to clear the exim mail...

Creating a cPanel User Account

Creating a cPanel User Account To create a new account go toWHM >> Account Functions...

How can I limit access to certain directories on my server by requiring a password using cPanel/WHM?

How can I limit access to certain directories on my server by requiring a password using...

How do I backup my entire site in Cpanel?

How do I backup my entire site in Cpanel? Entire accounts can be backed up by doing the...