How to Install Moodle on Shared Hosting via cPanel

How to Install Moodle on Shared Hosting via cPanel



For teachers who don’t have much technical expertise but would like their own Moodle installation on the cheap – I created this video tutorial which covers Moodle installation in about 11 minutes. (See more below.)

This video demonstrates how to set up a domain name and web hosting service and then install Moodle using cPanel on shared hosting. This tutorial does NOT make use of a scripting program such as Fantastico or QuickInstall as I believe it is better if the administrator has a little bit of an understanding about what is going on underneath the hood. In addition, when you install Moodle yourself, you are sure to get the latest version with the latest features and security updates.

When used in conjunction with the installation instructions available on the website, this video tutorial will hopefully make the installation process much easier to get through. I know my original Moodle install a few years ago took hours because I got stuck on many simple little things that I just didn’t know. Hopefully this video tutorial will save others from that frustration. Try to pay close attention to the details as they are important. In addition, I suggest you watch this video on full screen for maximum clarity.

One more note before signing off, I created a series of video tutorials about how to install Mahara (an e-portfolio program) as well as a PDF step-by-step guide which contains many screen shots and detailed instructions. Considering that the installation process for Mahara and Moodle are very similar, you might want to visit an archived version of this page on my website to view the PDF guide and video tutorials as they contain much more information than this short tutorial does. I think you will find it very useful.

This is a demonstration of a Moodle 2.1 installation.

Enjoy! 🙂

40 thoughts on “How to Install Moodle on Shared Hosting via cPanel

  1. This is 9 years ago but still works specially on hostgator. I would like to thank you for this. so much

  2. Muchas gracias, sinceramente. He usado tus instrucciones por varios años (renovaciones del hosting) y ha sido una excelente guía en todas las ocasiones.

  3. @mygreatlearningsite Thank you. Such detailed explanation trough each and every step. Hosted moodle using this tutorial.

  4. Thank you. installed moodle 3.8 on Hostgator with this, some new update like moodle was not require to upload manually, it was there with HostGator with one of.

  5. Hello great work well done man .
    I got a problem on min 7:33 my database connection failed it say overloaded or otherwise not running properly. What should I do ? Help please 😭😭😭

  6. This is an awesome video. Is there a quicker and shorter way of doing it maybe in the cloud or something.

  7. This is absolutely terrific! Thank you for making such a helpful video 🙂
    The only thing I had a problem with was the Cron thing at the end. Apparently it was disabled by the administrator (me)!
    Does anyone know if that's a problem and, if so, how I solve it?

  8. For new users you must change your php settings in cpanel to allow zip in order to proceed. you can do this in the "select php version" in your c panel

  9. Hi, since the beginning of this year I have found a new hosting platform – GetLark. My pages load very quickly. If I didn't know how to do something, the support always helped me. I am so excited.

  10. So many Thanks!!!!! Although this tutorial is from 2011, i used it today Nov-2016 with Moodle 3.1.2 and still worked fine. Nice job!

  11. Hi +mygreatlearningsite

    If it isn't too much to ask for, will you please share your config-dist.php or config.php file that you used for your installations?

    I am getting stuck at the Database settings step with the following error:

    "Error: Database connection failed
    It is possible that the database is overloaded or otherwise not running properly.
    The site administrator should also check that the database details have been correctly specified in config.php

    Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'seniorwa_pranay'@'localhost'(using password: YES) in /home/seniorwa/public_html/moodle/lib/dml/mysqli_native_moodle_database.php on line 76"

  12. This is good but for 2.9 install I had to use

     http://example.com/moodle/admin/cron.php?password=opensesame

Leave a Reply

Your email address will not be published. Required fields are marked *