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 edit one or more type records CNAME
and DNAME
in the DNS area (of a domain name) managed on the Manager Infomaniak.
Preamble
- The type of recording
CNAME
allows the pointing of a subdomain to a website address.- This is the method generally used to operate the sub-domain
www
with your site, or to redirect a subdomain to a folder of the web server on which your website is hosted.
- This is the method generally used to operate the sub-domain
- The type of registration
DNAME
for "delegation name
It is particularly useful when reorganizing domains or for smooth transitions from one part of your infrastructure to another, while preserving the hierarchical structure of sub-domains.- One
DNAME
creates an alias for an entire domain and all its subdomains.
- One
- In contrast to the
CNAME
which applies to only one specific host name, theDNAME
automatically redirects all subdomains. Example:- One
DNAME
forabc.site1.com
Pointing towardssite2.com
will automatically linkxyz.abc.site1.com
toxyz.site2.com
,new.login.abc.site1.com
tonew.login.site2.com
, and so on.
- One
- âš A record
DNAME
cannot be used at the root area of a domain (such assite1.com
directly). It is usually used on a subdomain. If you want to redirect the main domain itself, you will need to use other types of records like aA
,AAAA
orCNAME
(with certain restrictions for the latter).
Edit DNS area
Be aware of this other guide to manage this type of recording in a DNS area.
Link to this FAQ: