1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Change the domain name of a website
This guide explains how to replace the main domain name associated with a Website hosted on Infomaniak in case you want to, for example, change the name of your activity or modify the spelling.
Preamble
- It is not possible to simply change the spelling of the domain name in question.
- You must own the new domain name and install it in place of the current one by performing a swap (read below).
- You can also rename your Web Hosting product in the Infomaniak Manager but changing the name of a hosting service has strictly no impact on the URLs of the sites.
- You need to act on the domain name and, if necessary, adapt the content of the site.
Change the website's domain name
Prerequisites
- Prepare the new domain name (if necessary you need to buy it).
- If the change you are looking for is more of a "subdomain" to "main domain" type (
dev.domain.xyz
→domain.xyz
for example) then refer to this other guide.
To replace the domain name assigned to the site with another domain name:
- Click here to access the management of your product on the Infomaniak Manager (need help?).
- Click directly on the name assigned to the concerned product:
- Then click on the chevron to expand the Domains section of this site:
- Refer to this other guide to link the new domain name to your site (read the prerequisites carefully):
- It is this new linked domain that will replace the current primary domain name after the inversion you will perform below.
- Once the new domain name is linked to your site, click on the action menu ⋮ to the right of it.
- Choose Set as primary domain:
- If necessary, delete the old domain name and its variants that have become alias domains alias (and no longer primary domains).
If you are using a SSL certificate, you will need to update it to include the added aliases.
If you are using the dedicated IP option, you will need to uninstall and reinstall it after performing the swap.
Adapt the site content to the new name
In some cases, the web application used to develop the site needs to be adjusted to work with the new domain name. Click on the link corresponding to the development of your site to adapt the content: