I've tried to install "Moodle" to a free web hosting sever and my proper website as well so many times, but I wasn't successful at all. Sometimes I had problem with PHP settings (safe mode), sometimes with "moodledata" folder (can't create it or wasn't safe enough for the installer) and even if I used ssl connection to upload every files, it took ages.
But finally I find a really nice and easy solution. You don't need to create any database and you don't need to upload anything. Just few clicks and you've got a proper Moodle site.
I hope you find it useful.
Sign up in a free web hosting server, I used
Fill the form in as usual.
Log in with your credentials.
You can find a green rocking board at the upper right corner says FREE HOSTING LOGIN.
Fill the form in.
Scroll down to find SCRIPT INSTALLER
Choose your domain to install the script into.
Scroll down again to find MOODLE.
I know it is not the latest stable version, but at least a proper, easy-to-install version and you can upgrade it later. (When I was writing this the latest version was 2.6.3 or 2.7) and the installer gave me 2.6.1.
Click on INSTALL NOW.
fill the form in with your destination folder and few minutes later you can use your moodle site.
The installer creates your database and uploads moodle files and it's really fast.
Most probably you have to set up your plug-ins and the front page settings, but now you've got a proper working moodle site.
You will be the ADMIN user and your password will be the same as your password for byethost.
go to SITE ADMINISTRATION > NOTIFICATION and check your updates and the most important: your CRON.PHP
Go back to your cPanel to find CRON JOBS near to Script Installer.
Choose your domain name.
Now you can set up the frequency and your cron file path:
The load of the Moodle cron process on the Moodle server is not very high, so 5 minutes is usually reasonable. However if you're worried about it you can reduce the time period to something like 15 minutes or even 30 minutes.
It's best not to make the time period too long. For example delaying mail-outs can slow down activity within the course and create a large mail outbox to process. Or student want to see their activity and course completions updated quickly.
Enjoy your MOODLE site :)
You can see your database:
cPanel > phpMyAdmin
You can see your files:
cPanel > Online File Manager
or use any FTP software