lcp

How to transfer Jaws from another host?

In this tutorial we are going to show you how to transfer your website to your account with TMDHosting. The first thing you will need to do is transfer your website files. You can easily do that via FTP. You can check our FTP video tutorials here:

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

If you have accessed your Jaws website using https://yourdomain.com , you should upload the files in the /public_html/ directory of your account. In case you have accessed the site using https://yourdomain.com/cms/ you should transfer the files under /public_html/cms/

The next step is to export your Jaws database. You can easily extract your site’s database using a database management tool like phpMyAdmin. To exact the database you can follow the steps in our video tutorial at:

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

Now login to your TMDHosting account’s cPanel and navigate to the MySQL Database Wizard. In there create a new database by following the steps on the screen. You can check our video tutorial on how to setup a new database here:

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

Now that you have created a new database, you will need to import your database that was extracted earlier. You can easily import the database with just a few clicks using the phpMyAdmin interface. You can follow these steps to import your site database:

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

Once the import is complete, open your Jaws config file. The file is located in:

/path-to-jaws/config/

The name of the file is JawsConfig.php. Find the following lines:

$db[‘host’] = ‘localhost’;
$db[‘port’] = ”;
$db[‘user’] = ‘Datanase_USER’;
$db[‘password’] = ‘DB_PASSWORD’;
$db[‘isdba’] = ‘false’;
$db[‘path’] = ”;
$db[‘name’] = ‘Database_NAME’;
$db[‘prefix’] = ”;

Replace Database_USER, PASSWORD and Database_NAME with the ones you created earlier. Save the file and make sure that the updated version of this file is present in your account.

That’s it! You have successfully transferred your Jaws website.