How to Migrate Your Website

Published on December 2016 | Categories: Documents | Downloads: 47 | Comments: 0 | Views: 286
of 9
Download PDF   Embed   Report

Comments

Content

How to migrate your website (joomla-based) into a new hosting server
Scenario: 1. You want to host the website in a hosting server to another hosting server (Source host: Hosting Server A; Destination Host: Hosting Server B) 2. You already have a website running on localhost and you want to upload it to a hosting server (Source host: Localhost; Destination Host: Hosting Server B) 3. Website backup (instead of File BackUp only) Prerequisites: 1. Filezilla installed 2. Website running 3. Xampp correctly installed; both apache and mysql are already running I. FILE UPLOAD TO THE SERVER (assuming that you already have hosting credentials) 1. Run Filezilla. Enter ftp login details 2. Go to xampp folder (It can be found in Drive C by default). Find the website files under the htdocs subfolder. Upload those files into the new server via filezilla. II. EXPORT DATABASE FROM the SOURCE HOST 1. Go to myphpAdmin via browser. If your source host is the localhost, go to http://localhost/phpmyadmin/; else, login in to the Control Panel and find phpmyAdmin link.

3. Select the database which is used for the website. 4. Select Export tab.

5. Select all tables from the list. Refer to the figure above for the details. Press Go button. 6. The file will be downloaded having “.sql” file format. Or better yet, uncheck the Save as file checkbox to view the database code directly. Copy the entire text.

III. Import Database To Destination Host 1. Log in to the Destination host. Probably it is not localhost this time, unless you are planning to back up your website. Go to the Control Panel. Proceed to myPhpAdmin page. Note that the control panel is a website and hosting management tool. It is provided to you by the web hosting company upon which you are subscribed. Implementation varies yet you have to find your way to go to myPhpAdmin.

2. C r eate a new database or select existing one. In the phpMyAdmin page, hit on the button (TAB)with the label “SQL”. It can be found on the upper left portion. Paste the copied text and click Go.

IV. Edit Configuration File

1. Go to the Xampp installation directory (xamp/htdoc/<site folder>). Look for the “configuration.php” file. Edit the following:

var $dbtype = ‘mysqli’; var $user = <username for database > var $db = <database name> var $password= <password of db> (For your local website installation, there is this default user ‘root’ with a blank ‘’ password. If you want to configure user, just proceed to http://localhost/phpmyadmin/ )

2. Check the website.

Default.php index.html

The major difference between Joomla 1.5 and Joomla 1.6 1. Database Structure

TERMS Difference between Module, Extension, Component, Template, Plugin

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close