Upload Moodle website from localhost to live server

Upload Moodle website from localhost to live server

- Uzair Haider の投稿
返信数: 2

Hi, I just created a LMS on localhost. Now I want to upload it on the live server. How to do it?

EDITED: I already installed moodle on my server. 

Uzair Haider への返信

Re: Upload Moodle website from localhost to live server

- Emma Richardson の投稿
画像 Documentation writers 画像 Particularly helpful Moodlers 画像 Plugin developers

Do you mean that you want to transfer a course? Or the entire site?  

1.  If a course, backup the course, download the backup file, restore it to new site.

2.  If the entire site, look at the migration documentation.

Uzair Haider への返信

Re: Upload Moodle website from localhost to live server

- kamesh veerachamy の投稿

From localserver

1) First you take the moodle source files backup.

2) Export the Database sql file.

3) Take the moodle data backup.


To live site.

1) Create new database,then import the database.

2) Upload the moodle source files to public_html or  www folder.

3) Upload the moodledata files to outside of public_html or www folder.

4)  Update the moodle url,path,DB details in configuration file.

(config.php)

5) Login as administrator, then go to "Site Administration >> Development >> Purge all caches".


click this link and click the purge all caches button.

now you can see the site in live.