Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Replace a subdomain with a domain
This guide explains how to replace, within an Infomaniak Web Hosting, the address of a site currently a subdomain (https://dev.domain.xyz) with the main domain (https://domain.xyz).
Preamble
- Operations in brief:
- We start with a site created and accessible via the main domain URL
dev.domain.xyz. - We add an alias
domain.xyzto it. - We reverse the 2 types (the main domain becomes an alias and the alias becomes the main domain).
- We remove the old name
dev.domain.xyz.
- We start with a site created and accessible via the main domain URL
- Note that the site's location remains in the original folder on the server; the name of this location may be of the form
/sites/dev.domain.xyzbut this has absolutely no impact on the production site. - Also refer to the last chapter of this other guide.
Reverse a linked domain
Here are the detailed operations to go from a site with a subdomain type address to a direct address (here dev.domaine-exemple.ch becomes domaine-exemple.ch):
- Click here to access the management of your site on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the site concerned:

- Then click on the chevron to expand the Domains section of this site:
- Click on the Add a domain button:

- Add the desired new name (if the domain name to be added is under the same Organization, it will be suggested in the list, otherwise enter its spelling):

- Enable or disable the checkboxes:
- If the added domain is not in the form of a subdomain, it is possible to request to automatically add the
wwwversion of the domain. - Automatically update (if possible) the DNS records of the added domains.
- Automatically update the related SSL certificates (if possible).
- If the added domain is not in the form of a subdomain, it is possible to request to automatically add the
- Click the button to Confirm and wait:

- Once the addition is complete, click on the action menu ⋮ located to the right of the domain that has just been added and that you wish to set as the main domain:
- Choose to set the item as the main domain:

- Confirm the operation to proceed with the domain reversal:

Link to this FAQ:
Has this FAQ been helpful?