lcp

How to transfer Elgg from another host?

In this tutorial we are going to show you how to transfer your Elgg website from another host to your account with TMDHosting.

The first thing that you will need to do is copy all your website files to your hosting account with TMDHosting.com. This can be easily done via FTP. You can check our FTP video tutorials at:

https://tmdhosting.com/tutorials/video/ftp.html

Next, you will need to export your website database using a database management tool like phpMyAdmin. You can watch our video tutorial on how to export a database using phpMyAdmin here:

https://www.tmdhosting.com/tutorials/video/phpmyadmin/phpma-export.html

The next step is to create a new database. You can easily do this via your cPanel > MySQL Database Wizard. You can follow this tutorial to create the new database:

https://www.tmdhosting.com/tutorials/video/cpanel/cpanel-x3-createmysql.html

Once you have created the database, import the .sql file that you have exported earlier. You can import the file using phpMyAdmin. You can follow this tutorial to complete the import:

https://www.tmdhosting.com/tutorials/video/phpmyadmin/phpma-import.html

The final step is to update your Elgg’s configuration file. It is located in:

elgg-root-folder/engines/settings.php

Using text editor open settings.php file and edit the following lines:

$CONFIG->dbuser = ‘Database Username’;
$CONFIG->dbpass = ‘password’;
$CONFIG->dbname = ‘Database Name’;
$CONFIG->dbhost = ‘localhost’;

In the above lines, change “Database Username”, “password” and “Database Name” with the database details that you have created earlier.

You have successfully transferred your Elgg website.