The Joomla CMS is a highly intelligent and responsive system, making the migration of a Joomla-based website relatively straightforward. Before migrating your website to a new hosting provider, it's essential to ensure that the new host fully supports all Joomla functionalities. With MyDreams hosting, you can be confident that the hosting is fully compatible with Joomla. You can verify basic functionality by uploading the Joomla installation package to the hosting and proceeding to the first step of the installation, where you will encounter a diagnostic check page.
1) Database Migration
Log in to phpMyAdmin on your current hosting provider. Click on the database name in the left column, then go to the Export tab in the top menu. Export the database to a file on your local disk.
Once the database file is saved on your disk, log in to phpMyAdmin on the new hosting provider. Click on the database name in the left column, then go to the Import tab in the top menu. Use the form to select the database file from your disk and import it.
2) File Migration via FTP
Using an FTP client, connect to the FTP server of your old hosting provider and download all Joomla files to your local PC. Next, connect to the FTP server of your new hosting provider and upload the files from your PC to the new hosting. For MyDreams hosting, place the files in the /web
directory.
3) Post-Migration Configuration
All Joomla configuration settings after migration are made in the /configuration.php
file. Update the following items:
var $log_path = '/var/www/clients/client41/web26/web/logs';
// Relative path to Joomla logs. Obtain this from phpinfo on your website.
var $tmp_path = '/var/www/clients/client41/web26/web/tmp';
// FTP Host - Relative path to Joomla temporary files. Obtain this from phpinfo on your website.
var $ftp_host = 'mydomain.cz';
// FTP Host. You can use the domain name, server name, IP address, or local address (e.g., 12.0.0.1).
var $ftp_user = 'mydomain.cz';
// FTP login
var $ftp_pass = 'hessl0';
// FTP password
var $ftp_root = '/web';
// Relative path to Joomla location. On MyDreams servers, always /web.
var $host = 'localhost';
// Database host. You can use 'localhost' or the IP address of the database server.
var $user = 'md_4mydomain_cz';
// Database login
var $db = 'md_4mydomain_cz';
// Database name
var $password = 'hesl0012';
// Database password
4) How to Find the Relative Path to the Web
-
The first option is to check the hosting administration details at https://hosting.mydreams.cz:8080 and find the address in the FTP account details.
-
The second option is to obtain the address from the
phpinfo()
function. Create a file namedphpinfo.php
and save the following code in it:<?php phpinfo(); ?>
. Upload this file to your FTP. Then, access the file from your browser athttps://mydomain.cz/phpinfo.php
. On the displayed page, look for the line labeled:_SERVER["DOCUMENT_ROOT"]
.