1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Changing a website domain name
This guide explains how to replace the main domain name associated with a website hosted on Infomaniak, in case you want to change the name of your business or modify the spelling, for example.
Indeed, it is not possible to simply modify the spelling of the domain name; you need to own the new domain name and install it in place of the current one by proceeding with an inversion (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's URLs. You need to act on the domain name and, if necessary, adapt the site's content.
Prerequisites
- Own the desired new domain name (if necessary, you need to purchase it).
- If the desired modification is more of 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 in place of the old one:
- Log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Firefox.
- Add the new domain as an alias to your site.
This alias will replace the current main domain name after the inversion you are going to perform.
Invert alias and main domain
Once the alias domain has been added to your site:
- Log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Firefox.
- Click on the icon in the top right corner 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 site in question (in the Sites section).
- Click on the action menu â‹® to 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 the Dedicated IP option, you need to uninstall and reinstall it after the inversion you are going to perform.
Adapt the site's content
If your site corresponded to a specific domain name, errors may occur if you do not adapt its content to the new name. Read the guides for: