Zum Inhalt springen

Move websites, databases and mailboxes to cloud hosting

Hier erfährst Du, wie Du aus einem Classic Hosting oder von einem anderen Provider in ein Cloud Hosting Paket umziehen kannst.

Introduction

There can be many reasons for a move:

  • The project needs to be updated and requires a newer PHP or MySQL version.
  • The project does not support current PHP or MySQL versions and cannot be updated yet.
  • The maximum mailbox size of 10 GB in Classic Hosting is not sufficient.
  • Multiple packages should bemanaged in one customer account.
  • You don't want to spend money on SSL certificates and use free Let's Encrypt certificates instead.

PHP and MySQL versions in Classic Hosting

In the data center in Cologne, which was previously used for the Classic Hosting packages, only PHP versions 5.6 to 7.3 are currently provided. Older PHP versions that are no longer provided with security updates have been removed from the servers. Newer PHP versions 7.4 or 8.0 and 8.1 cannot be provided in the existing tariffs.

A migration of the databases from MySQL 5.6 to MySQL 5.7 is planned before the end of this year.

PHP and MySQL versions in cloud hosting

In our cloud hosting tariffs, we continue to offer the old PHP versions (from version 4.4) as "Hardened PHP" in addition to the current PHP versions. These hardened PHP versions will continue to be provided with security updates. When new security updates are released for current PHP versions, these updates are also applied to the old PHP versions as far as this is technically possible (backport, see https://de.wikipedia.org/wiki/Backport).

Besides a MySQL 5.7 compatible MariaDB 10.3 database, MySQL 5.6 databases are still available.

What happens during the migration of the databases?

When migrating MySQL 5.6 to MySQL 5.7 databases, it may happen that programs are not compatible with MySQL 5.7, which causes the website to malfunction.

The affected domain (website) will then usually stop working. Depending on the application and configuration, a blank (white) page appears instead because the PHP error messages are not enabled, or error messages are displayed.

What happens when old PHP versions are deactivated?

If further old PHP versions have to be switched off due to security vulnerabilities, PHP version 7.3 will be discontinued for the affected domain.

Depending on the application, the programming may not be compatible with PHP 7.3 and a blank white page will appear (PHP error) or error messages will be displayed. In this case the application must be updated by a developer.

There will be no data loss, all data will still be available on the webspace.

Solution: Move to cloud hosting

To continue running web applications with outdated or newer PHP or MySQL versions, we recommend moving to our new cloud hosting plans.

For this you will need to sign a new hosting contract. All actively used files, databases and e-mail accounts as well as forwardings and DNS entries have to be moved from the data center in Cologne to the data center in Frankfurt. From a technical point of view, this is a change of provider.

There are several options for carrying out the move

  1. You carry out the move yourself.
  2. You commission your agency or the creator or programmer of the website with the move.
  3. You commission us with the relocation of the websites. However, since our available capacities are limited, there may be longer waiting times.

In the following you will find the necessary steps. Depending on the option, parts will be done by us, your agency or yourself.

For all three options, please note that we cannot take over the relocation of the email inboxes. The necessary steps can be found under Step 8: Transfer e-mail boxes.

Prerequisite for the move

To perform the move, it is absolutely necessary to work on the 'shell' of the source and destination servers. The login on the shell is done via the SSH access and a terminal program. On Windows, use a program such as PuTTY or Mobaxterm.

Instructions for working on the shell.

If you don't have any experience with working on the shell so far, it is advisable to hire someone who already has experience with it to do the move.

Order and setup cloud hosting

Before the move can begin, a new hosting plan must first be ordered and set up.

We offer three cloud hosting plans to choose from: Cloud BASIC, Cloud PREMIUM and Cloud POWER. These differ in terms of storage space, performance and additional features.

We recommend the Cloud PREMIUM plan, which, in addition to 100 GB of storage space, also has numerous functions that are useful for developing and optimizing websites.

If, on the other hand, you only want to continue operating an existing website, the Cloud BASIC tariff with 30 GB of storage space could also be sufficient.

In our tariff overview, you can add the desired tariff directly to the shopping cart and complete the order as a new customer in our system. You also have to enter the bank details again if you want us to continue collecting the invoices by direct debit.

The package will automatically receive a free development domain from our system , according to the pattern 90xxxx.jweiland-hosting.de (the domain currently used by you will only be transferred when the move is completed).

Important note: When concluding a cloud hosting package, the conclusion of a contract for order processing with us is mandatory according to DSGVO. The hosting package will be activated as soon as this contract has been completed and signed.

Multiple packages in cloud hosting

While you had to book several packages with different customer numbers in Classic Hosting, there is now the possibility to book several packages in one customer account under one customer number in Cloud Hosting. Under this customer account you can now book as many cloud hosting plans (shared hosting or servers) as you like. Additional logins can be created for each of the booked tariffs, different authorizations are also possible.

A customer account is uniquely identified by the specified e-mail address, which thus cannot be used for multiple customer accounts. The address entered in the order or in the customer account corresponds to the billing address. Tariffs, domains or other additional services that are due at a certain time are billed in one invoice.

Implementation of the move

Empfohlene vorbereitende Maßnamen

In vielen Kundenverträgen haben sich im Laufe der Zeit eine Vielzahl von Projekten angesammelt: Entwicklungs- und Testversionen, Archive älterer Versionen der Webseiten usw.

Im ersten Schritt ist es sinnvoll, sich zu überlegen, welche Anwendungen tatsächlich noch benötigt werden.

Zu jedem Projekt gehören in der Regeln mehrere Komponenten:

  • Eine Domain oder Subdomain, über die das Projekt im Browser aufgerufen werden kann.
  • Ein Zielverzeichnis, in dem die Dateien des Projekts liegen, auch DOCROOT oder Startverzeichnis genannt. Das ist das Verzeichnis (mit Unterverzeichnissen), aus dem die Dateien beim Aufruf der Domain geladen werden.
    In den Unterverzeichnissen liegen auch der Programmcode (PHP Skripte), Bilder, PDF Dateien, ...
  • Eine Datenbank, in der die Inhalte (Texte und weitere Datensätze) der Webseite gespeichert werden.
  • Cronjobs, das sind Programme, die in regelmäßigen Zeitabständen aufgerufen werden um bestimmte Aufgaben zu übernehmen. Dazu gehören Backups, Datenimporte und -exporte, Versand von Newslettern, usw.
  • Hilfsprogramme, die für bestimmte Aufgaben in der Anwendung benötigt werden. Dazu gehören Bildbearbeitung und -umwandlung, Extraktion von Informationen aus Bild- und PDF-Dateien für Suchfunktionen, usw.
  • Weitere Programme wie Matomo (für Webseiten Statistik) die für ein Projekt benötigt werden.
  • E-Mail Postfächer mit darin gespeicherten E-Mails.

All diese Komponenten müssen beim Umzug auf den neuen Server übertragen werden.

Nach der Übertragung müssen dann in der Regel noch Anpassungen, wie z.B. absolute Pfadangaben in Skripten, vorgenommen werden.

Je nach Umfang der Webseite dauert ein solcher Umzug einige Stunden.

Vor Abschluss des Umzugs wird das Projekt auf dem neuen Server mit Hilfe einer temporären Domain getestet. Damit wird sichergestellt, dass alles wie gewünscht funktioniert. Das ist auch ein guter Zeitpunkt, die Geschwindigkeit zwischen Quell- und Zielserver zu vergleichen, da die Webseite auf dem alten sowie auf dem neuen Server aufrufbar ist.

Sind alle Tests abgeschlossen, wird die Domain auf den neuen Server übertragen. Bei sogenannten Domains mit externer Registrierung, die nicht über uns sondern über einen anderen Provider registriert sind, ist eine Umstellung der A-Records beim Domainprovider erforderlich, damit die Domain auf den neuen Server zeigt.

Mailtransfer Tool

Nachdem alle zu übertragenden Postfächer im Cloud Hosting Paket angelegt wurden, rufst Du unser Mailtransfer Tool auf: https://mailtransfer.jweiland.net

Nach Klick auf "Übertrage den Inhalt meines Postfachs" erscheint die Seite "Postfächer übertragen".

Möchtest Du Postfächer aus einem Classic Hosting Paket in ein Cloud Hosting Paket übertragen, dann wähle bei "Alter Anbieter" bitte "jweiland.net Classic-Hosting" aus. Andernfalls wähle den Anbieter aus, von dem Du die Postfächer übertragen möchtest.

Bei "Neuer Anbieter" wählst Du dann Deinen Cloud Hosting Server aus, den Du in der E-Mail "KN ...... - Ihr Cloud Hosting Tarif Cloud ........ wurde fertig eingerichtet" mitgeteilt bekommen hast.

Über die Schaltfläche "+ Ein weiteres Postfach hinzufügen" können weitere Postfächer des selben Anbieters zur Übertragung hinzugefügt werden.

Bei Klick auf "Weiter" werden die Zugangsdaten geprüft. Sind diese korrekt, wird die Übertragung gestartet. Außerdem wird ein Link angezeigt, unter dem Du den Status der Übertragung prüfen kannst. Bei großen Postfächern kann die Übertragung mehrere Stunden dauern.

Troubleshooting

In this chapter we will provide troubleshooting tips in case the website on cloud hosting does not work as expected.

Error code 500: Internal Server Error

If an error 500 is displayed when calling the website, the following tips can help to fix it:

  1. Delete the TYPO3 folder typo3temp/var/Cache.
  2. Check if the file .htaccess in the start directory contains one of the following entries, if yes comment (prefix the line with #):Options +FollowSymLinks Options -Indexes Options +Indexes
Updated: 07.08.2023