Knowledge base

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

Manage CNAME & DNAME records

Update 08/04/2026

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

 

Introduction

  • The CNAME record type allows you to point a subdomain 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 the subdomains.
    • A DNAME creates an alias for an entire domain and all its subdomains.
  • Unlike a CNAME, which only applies to a single, specific hostname, a DNAME automatically redirects all subdomains. For 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 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 your domain management in 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-hand menu.
  4. Click the button to add a record:
  5. Click the corresponding radio button to add a record.
  6. Click the Next button:
  7. Enter the values required for your DNS zone.
  8. Leave the default value for the TTL.
  9. Click on the Save button:

Has this FAQ been helpful?