You need three things from the old server: the database, the files and the configuration. On the new server, the PHP version must match your TYPO3 version. Test through a temporary address before switching the domain, and do not upgrade TYPO3 in the same step.
Before the move
- Find out the TYPO3 version, for example in the backend or in
composer.json. - Check which PHP version and database the new server offers. Each TYPO3 version only runs with certain PHP versions; the system requirements are in the TYPO3 documentation.
- Find out whether the installation uses Composer (there is a
composer.jsonin the main folder) or classic mode. - Set a date and freeze editorial changes until then.
- Make a full backup of database and files.
The move in eight steps
- Export the database. With
mysqldumpor phpMyAdmin, using theutf8mb4character set. - Transfer the files. The whole project including
fileadmin, and for Composer installationscomposer.json,composer.lockand theconfigfolder. You can rebuildvendorwithcomposer install; cache folders do not need to move. - Create and import the database. Create an empty database on the new server and import the export.
- Update the credentials. From TYPO3 12 they are in
config/system/settings.php(Composer) ortypo3conf/system/settings.php(classic), before that intypo3conf/LocalConfiguration.php. Custom values may also live inadditional.php. - Check the site configuration.
config/sites/…/config.yamlholds the base address of the website. If the domain changes, update it there. - Flush caches and check permissions. In the backend admin tools or on the console. The web server needs write access to
fileadminand the folders for temporary files. - Test through a temporary address. Homepage, subpages, backend login, images, forms and sending email, before real visitors arrive.
- Switch the domain. Point the DNS records to the new server, set up the SSL certificate and check that the email records (MX, SPF) are still right.
A move is not an upgrade. If you change the TYPO3 version during the move, you mix two sources of errors. Move and test first, then upgrade.
Common errors after the move
- “The page is not configured” or the wrong page: the site configuration still points to the old domain.
- Blank page or error 500: the PHP version does not match, or a PHP extension is missing. The host’s error log shows the cause.
- Error 403: file permissions or the web server configuration, for example a missing
.htaccess. - Images missing:
fileadminwas not transferred completely, or resized images need to be generated again. - Email does not arrive: the mail settings in the configuration or the SPF record do not match the new server.
Move or switch?
A server move changes nothing about the website itself. Switching systems pays off if one of these applies:
- Your TYPO3 version no longer gets free security updates, and upgrading to the current version means a half rebuild because of extensions and templates.
- Only a few people edit the website, and TYPO3 is cumbersome for them.
- The website needs a new design anyway.
Then moving to Webflow is often the better investment: servers, updates and extensions go away, and the structure of the page tree stays. How that works is described on TYPO3 to Webflow. If TYPO3 is the right choice, for example with many editors, roles and approvals, we tell you that too.