1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Transfer 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.
If you want to update the current Cloud Server to a new generation server, read this guide (click here).
Preamble
FTP & MySQL
When moving hosting from one Cloud Server to another:
- FTP access and databases remain the same
- only the supported versions of PHP and MariaDB change at the hosting level, as well as the IPv4 and IPv6 addresses of the server
- hostnames do not change and are automatically updated to point to the new IP addresses
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 be transferred to the new Cloud Server.
Possible Transition to HTTP/2
HTTP/2 is active on the new servers; some directives possibly present in the .htaccess file of 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. It is therefore necessary to think about this during this period, especially for crons (see below).
Unmigrated Crontabs
SSH crons are not migrated.
Files and crons are generally not deleted immediately, which can lead to duplicates. Managing crons is your responsibility: depending on the progress of your migration, you must deactivate and activate the crons via SSH if you have them, to avoid any execution conflict. Check your crons and ensure they are configured appropriately on your new Cloud Server.
Move the Hosting
Once the second Cloud Server is in service:
- log in to the Infomaniak Manager (manager.infomaniak.com) from 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)
- select Hosting (Web & Domain universe)
- click directly on the name of the object concerned in the displayed table
- click on the Manage button
- click on Move to another server in the displayed menu
- choose the desired destination server
- click on Validate
Adapt the DNS zone and finish
If your domain names are not managed at Infomaniak or in the same customer account as the Cloud Server, it will be necessary to adapt the A record of the concerned domains. Since modifying a DNS zone of a domain can take up to 48 hours, it is advisable not to terminate the old Cloud Server before this period.
Terminate the old Cloud Server if necessary.