Knowledge base

1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!

Manage CNAME & DNAME records

This guide explains how to add or modify one or more CNAME and DNAME type records in the DNS zone (of a domain name) managed on the Manager Infomaniak.

 

Preamble

  • The CNAME record type allows a subdomain to point to a website address.
    • This is the method generally used to make the www subdomain work with your site, or to redirect a subdomain to a folder on the web server where your website is hosted.
  • The DNAME record type for "delegation name" is particularly useful when reorganizing domains or for smooth transitions of part of your infrastructure to another, while preserving the hierarchical structure of subdomains.
    • A DNAME creates an alias for an entire domain and all its subdomains.
  • Unlike the CNAME which only applies to a single specific host name, the DNAME automatically redirects all subdomains. Example:
    • A DNAME for abc.site1.com pointing to site2.com will automatically link xyz.abc.site1.com to xyz.site2.com, new.login.abc.site1.com to new.login.site2.com, and so on.
  • ⚠ A DNAME record cannot be used at the root zone level of a domain (like site1.com directly). It is generally used on a subdomain. If you want to redirect the main domain itself, you will need to use other types of records such as an A, AAAA or CNAME (with some restrictions for the latter).

 

Modify the DNS zone

To manage this type of record in a DNS zone:

  1. Click here to access the management of your domain on the Infomaniak Manager (need help?).
  2. Click directly on the name assigned to the domain in question.
  3. Click on DNS zone in the left sidebar.
  4. Click the button to add a record:
  5. Click the radio button corresponding to add a record.
  6. Click the Next button:
  7. Enter the values necessary for your DNS zone.
  8. Leave the default value for TTL.
  9. Click the Save button:

Has this FAQ been helpful?