Knowledge base
1000 FAQs, 500 tutorials and explanatory 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
CNAMErecord type allows a subdomain to point to a website address.- This is the method generally used to make the
wwwsubdomain work with your site, or to redirect a subdomain to a folder on the web server where your website is hosted.
- This is the method generally used to make the
- The
DNAMErecord 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
DNAMEcreates an alias for an entire domain and all its subdomains.
- A
- Unlike the
CNAMEwhich only applies to a single specific host name, theDNAMEautomatically redirects all subdomains. Example:- A
DNAMEforabc.site1.compointing tosite2.comwill automatically linkxyz.abc.site1.comtoxyz.site2.com,new.login.abc.site1.comtonew.login.site2.com, and so on.
- A
- β A
DNAMErecord cannot be used at the root zone level of a domain (likesite1.comdirectly). 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 anA,AAAAorCNAME(with some restrictions for the latter).
Modify the DNS zone
Refer to this other guide to manage this type of record in a DNS zone.
Link to this FAQ: