1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Moving web hosting from one Cloud Server to another
This guide explains how to move a Web Hosting (and all the sites it contains) from one Managed Cloud Server to another Managed Cloud Server.
Both servers must be in the same organization and accessible to the user performing the operation.
Recommendations
Temporary Interruption
The sites on the hosting will be unavailable during the data migration; this process can take several minutes depending on the number of files to transfer to the new Cloud Server.
Possible Switch to HTTP/2
HTTP/2 is active on the new servers; some directives possibly present in the .htaccess file on your server may require adaptation.
Traffic Redirection
A proxy is set up for 7 days to redirect traffic from the old Server to the new one. Therefore, it is important to keep this in mind during this period, especially for cron jobs (read below).
Unmigrated Cron Jobs
Cron jobs via SSH are not migrated.
Files and cron jobs are generally not deleted immediately, which can lead to duplicates. Managing cron jobs is your responsibility: depending on the progress of your migration, it's up to you to disable and enable cron jobs via SSH if you have them, to avoid any execution conflicts. We recommend checking your cron jobs and ensuring they are configured appropriately on your new Cloud Server.
Move the Hosting
Once the second Cloud Server is up and running:
- Log in to the Infomaniak Manager (manager.infomaniak.com) from a web browser like Brave or Firefox.
- Click on the icon in the upper right of the interface (or navigate using the left side menu, for example).
- Select Hosting (Web & Domain universe).
- Click directly on the name of the object in the displayed table.
- Click on the Manage button.
- Click on Move to another server in the menu that appears.
- Choose the desired destination server.
- Click Validate.
Adjust the DNS Zone and Complete
If your domain names are not managed by Infomaniak or in the same customer account as the Cloud Server, it will be necessary to adjust the A record of the affected domains. Since modifying the DNS zone of a domain can take up to 48 hours, we recommend not canceling the old Cloud Server before this period is over.
Cancel the old Cloud Server if necessary.