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 change your business name or modify the spelling, for example.
Indeed, it's 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 proceeding with a swap (read below).
Also note that you can rename your Web Hosting product in the Infomaniak Manager, but changing the name of a hosting has absolutely no impact on the site URLs. You must act on the domain name and if necessary adapt the site content.
Prerequisites
- Own the desired new domain name (if necessary, purchase it)
- If the desired modification is more about changing from a "subdomain" to "main domain" type (example: dev.domain.xyz → domain.xyz), then read this guide (click here)
Add the new domain as an alias
When the new domain name is ready to be used instead of the old one:
- Log in to the Infomaniak Manager (manager.infomaniak.com) using a web browser like Brave or Firefox
- Add the new domain as an alias to your site (read the prerequisites carefully)
This alias will replace the current main domain name after the swap you are going to perform.
Swap alias and main domain
Once the alias domain is added to your site:
- Log in to the Infomaniak Manager (manager.infomaniak.com) using a web browser like Brave or Firefox
- Click on the icon at the top right of the interface (or navigate through the left side menu, for example)
- Choose Hosting (Web & Domain universe)
- Click directly on the name of the relevant object in the displayed table
- Click on the relevant site (in the Sites section)
- Click on the action menu ⋮ on the right of the alias that will become the main domain (in the Domains section)
- Choose Set as main domain
- If necessary, delete the old domain name and its variants that have become alias domains
If you are using an SSL certificate, you will need to update it to include the added aliases.
If you are using dedicated IP, you need to uninstall and reinstall it after the swap you are going to perform.
Adapt the site content
If your site was associated with a specific domain name, errors may occur if you do not adapt its content to the new name. Read guides for: