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
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.
- This is the method generally used to make the
- 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.
- A
- Unlike the
CNAME
which only applies to a single specific host name, theDNAME
automatically redirects all subdomains. Example:- A
DNAME
forabc.site1.com
pointing tosite2.com
will automatically linkxyz.abc.site1.com
toxyz.site2.com
,new.login.abc.site1.com
tonew.login.site2.com
, and so on.
- A
- β A
DNAME
record cannot be used at the root zone level of a domain (likesite1.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 anA
,AAAA
orCNAME
(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: