Compatibility:
WebSite X5 Evo and Pro since version 2021.4
Do you want to move your website from the webspace offered b another Provider to the one offered by the WebSite X5 Hosting? We're happy to hear that!
If you don't have any database on your website, you don't have to do anything special: just export the whole website again after having activated the WebSite X5 Hosting (see: How to export your website using the Hosting service included with WebSite X5).
If, on the other hand, you do use a database, for instance to manage e-mails, orders, users' registration or blog comments, you need to move the stored data from the old webspace to the new one, so not to lose any important information.
In this guide, we will explain how to proceed and, as the database management was changed with the launch of WebSite X5 2021.3, a distinction has to be made between two cases:
- Project created or updated using a version 2021.3 or a higher one
- Project created or updated using a version older than 2021.3
#tip - In both cases, you will have to follow the database backup & restore procedure.
Project created or updated using a version 2021.3 or a higher one
If the project you're working on has been created or modified using a version 2021.3 or a higher one, the database tables have already been generated according to the new WebSite X5 Hosting architecture. In this case, you simply need to create a database backup copy to be restored o the new webspace:
- Verify whether the database has been published online. You can do this by checking if the database connection parameters fields, which you find on Step 1 (v2021.3) or Step 5 (from v2021.4), are active.
- If the database hasn't been published yet, export the whole website onto the old hosting provider.
- Follow the database backup & restore procedure (see: Webspace - How the database backup & restore procedure works).
- Open the project again, go to Step 5- Export, select the WebSite X5 Hosting as Webspace Provider and publish the website.
Project created or updated using a version older than 2021.3
If, on the other hand, you are using a version older than 2021.3 to work on your project, the database tables don't take on the same server architecture. Please proceed as follows:
- Update your WebSite X5 license to version 2021.3 or to a higher one.
- Export your website onto the old webspace again.
- Verify whether the database has been published online. You can do this by checking if the database connection parameters fields, which you find on Step 1 (v2021.3) or Step 5 (from v2021.4), are active.
- Follow the database backup & restore procedure (see: Webspace - How the database backup & restore procedure works).
- Open the project again, go to Step 5- Export, select the WebSite X5 Hosting as Webspace Provider and publish the website.
#tip - If you don't correctly migrate the database, some tables on the new hosting could present some differences and not be the copy of the old ones. If you find yourself in this situation, please cancel the tables from the new hosting on the phpMyAdmin dashboard and repeat the procedure.