CNAME records

CNAME record (Canonical Name record) is designed to forward any subdomain to a different subdomain or domain. It means that subdomain is forwarded to specific domain and not the IP address. Its convenient since there is no change required if the IP of the destination address is changed.


How is CNAME record represented

shop  600  IN  CNAME   www.myshoptet.com.

First part shop determines that CNAME record is only for subdomain shop. TTL 600 defines for how long the internet provider’s servers can remember this DNS setting. The time is in seconds. IN CNAME stands for type of record – CNAME means it is a CNAME record. Last parameter is destination address you wish your subdomain to be forwarded to.

Editing DNS A record

1. Log in to the WebAdmin
2. Select your Domain in the Services tab
3. Select DNS settings in the left menu, submenu will roll out and there select the CNAME record
4. To create new CNAME record select blue button Create new record

CNAME is superior to A and MX record. Browser will first look, if there is a CNAME record on the domain. If not, it will look for IP address in A record.

To reach the same effect for main domain (2nd level domain), please use ANAME record. CNAME records are only for subdomains.

Edit CNAME record form

  • For address is to enter the subdomain name you wish to redirect
  • To Target address insert the destination address
  • TTL parameter defines for how long the provider’s servers can remember this DNS setting. Value is in seconds.
  • Note is for any note or comment. You can leave it blank or fill with anything you want.

After the form is filled, select Save changes

Any changes in CNAME may take up to 2-24 hours

Deleting CNAME record

Select the records you wish to delete in the list (checkbox on the left). Then select Delete selected in the bottom.

If you want to restore previously deleted record, you can restore it in the Change log. All you need to do is to look up the record and select Restore. The record will be restored to the state before deletion.

Examples

Setting up CNAME record for subdomain shop forwarded to Shoptet

Domain shop.mydomain.com has value of www.myshoptet.com. That means that subdomain shop.mydomain.com will display web page www.myshoptet.com in the browser instead. Record will look like:

shop  600  IN  CNAME   www.myshoptet.com.
Updated on September 11, 2024

Was this article helpful?

Related Articles