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 pointing a subdomain to a website address.- This is the method generally used to operate the
www
subdomain 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 operate 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 a
CNAME
which applies to a single specific host name, aDNAME
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 level of a domain (such assite1.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: