How to Install Moodle on Shared Hosting via cPanel


Josepp , Australia – Worst Service – Wait 2 Hours for Support – AVOID AVOID AVOID. Reseller account with this company has been nightmarish, nothing but problems, continued issues for no reason – eg: passwords being reset for no apparent reason. Support is appalling – can wait 2 hours just for live chat.


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 http://moodle.org 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 http://mygreatlearningsite.torahskills.org 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! ūüôā

mygreatlearningsite

46 Comments
  • mygreatlearningsite
    Posted at 02:36h, 09 June

    Yes, first you do all of the above and then download and install a theme that does not come with Moodle. In general, the best place to get advice about Moodle is on their website. Do a search for "installing a new theme" for more detailed instructions.

  • Be And it was
    Posted at 02:38h, 21 June

    why did you change the collation in the php admin from latin1_swedish_ci to unicode????

  • mygreatlearningsite
    Posted at 02:58h, 21 June

    Hi Andrea, if you do a search for the word "collation" or "Unicode" on the Moodle website you will see that unicode is mandatory in Moodle 1.8 and beyond. Also, if you look at the video closely starting at 4:19 you will see that I don't switch anything from Swedish. The default in PHP Admin is utf8_unicode_ci. Regardless, you will need Unicode. Hope this helps.

  • Steve Gillis
    Posted at 14:27h, 02 July

    Well done! Easy to follow instructions.

  • Asaf Bar-Lev
    Posted at 08:07h, 05 July

    Lovely! just that the company I'm getting the service from, interspace, doesn't allow me to create directories or place any files at root…

  • mygreatlearningsite
    Posted at 15:10h, 05 July

    It might be time to switch companies…shouldn't be a big deal if you have copies of everything. Interspace is not giving you much for the prices they are charging.

  • Asaf Bar-Lev
    Posted at 20:11h, 06 July

    Thanks. Much appreciated!

  • BayHewitt
    Posted at 13:10h, 16 July

    Really great video! :)) Was wondering how to set up the install using ixwebhosting.

  • Cam Nguyen
    Posted at 11:54h, 02 September

    Great video, thanks very much. I've been wondering if Moodle is this simple to install and run, why many big E-learning course providers don't install and sell courses on their own site instead of selling courses on other elearning platform for which they would have to pay some % of commisions. I know the marketing factor (if someone is new they're less wellknown etc..), is there any other reasons that deter them from using Moodle? Do we have to pay Moodle for using it? Do I miss something? Thks

  • Tzvi Daum
    Posted at 16:52h, 03 September

    No, you don't have to pay Moodle anything. I don't know what other providers do, however I guess some people just don't feel comfortable administering the site on their own or providing support.

  • Ronald Simpson
    Posted at 04:47h, 04 September

    Thank a lot! This video help me solve my problem. Someone tried install Moodle in Stablehost shared hosting. I testing it in Stalehost. Get Stablehost Coupon code discount 40%=> Stablehost40per

  • Rachel Boylan
    Posted at 13:30h, 23 September

    Excellent video – worked like a charm. Thanks so much for this! Now I'm off to moodle! Is that a verb?

  • hammadshams
    Posted at 09:54h, 27 October

    This video could have been better without stupid music

  • mygreatlearningsite
    Posted at 18:34h, 27 October

    Sorry you didn't like the music hammadshams, but trust me, you would rather hear the music than my voice…also you do have the option of turning off the volume. I am not sure why you felt the need to "dislike"ÔĽŅ a video that many others have found to be so helpful.

  • lucky sharma
    Posted at 08:47h, 23 November

    Good video, I must appreciate 

  • Paula Bald√≥ de Andr√©s
    Posted at 18:45h, 15 December

    I don't know how to thank you your work. It has saved my life!! Thanks!!

  • Sean Wybrant
    Posted at 19:17h, 16 December

    Thank you so much for posting this and taking the time to support fellow educators. Cheers!

  • Cabronoso
    Posted at 15:15h, 20 January

    Wow answered all my questions in one video. Thanks a million. 

  • Steve Swanson
    Posted at 05:37h, 25 February

    This was so well done! not even a word spoken! And yes it does work. I build a site using this method for my class. Then went back to this video because I needed to build another for a friend.

  • LanceLinkSC
    Posted at 22:57h, 09 March

    I can't begin to thank you enough. Thank you, thank you, thank you.

  • Phil Hiett
    Posted at 08:42h, 12 March

    Top class video, streets ahead of any other moodle video on youtube

  • LaSchwanna Muhammad
    Posted at 02:39h, 15 March

    This video was perfect! I was able to successfully follow every step!  Thanks!

  • April Wood
    Posted at 09:32h, 21 March

    Thanks for the video- it is great, though I keep getting a coding error when I try to upgrade the moodle database (7:45 on your video). Any ideas why it might be happening? 

  • Bill Usher
    Posted at 18:04h, 21 April

    Excellent video.  Thanks a lot for doing something that is actually worthwhile & straight forward!!

  • MentaMe1
    Posted at 11:59h, 10 June

    Thanks for the great video with¬†easy to follow steps. You have helped me to install Moodle 2.7.¬† Hmmm, I seem to need to do something with the php.ini file.¬† I've just tried to upload a zipped scorm file and am getting an error message related to php.ini¬† …¬†halting my upload because of a maximum file size in php.ini.¬†¬†

  • John Simpson
    Posted at 09:30h, 14 June

    My mistake. Make sure your webhost has PHP5, and latest mysql database. I asked my web host for php5 or later, and they flatly refused.

  • Andrew Wiggins
    Posted at 23:16h, 10 July

    Hi Tzvi – thanks for the video. a question. how do i know whether to use the windows installer or the linux one to put on the webhost?

  • Intra Intel
    Posted at 12:22h, 17 July

    Great video…immensely helpful

  • Vivek Singh
    Posted at 20:00h, 04 December

    Great video for installing Moodle on Hostgator. Luckily I am also planning to install moodle on my website with Hostgator.
    Could you please upload a similar video explaining how to install BigBlueButton with Moodle? Thanks.

  • KSHITIJ KUMAR
    Posted at 19:08h, 05 January

    thank u .. great video.. 

  • Tom Adamson
    Posted at 15:34h, 29 April

    Thank you, thank you, thank you. ¬†This has saved me hours of frustration. ¬†You did an excellent job here. ¬†ūüôā

  • Joe Grundmeyer
    Posted at 01:36h, 28 May

    This is good but for 2.9 install I had to use

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

  • Pranay Karwa
    Posted at 13:47h, 27 July

    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"

  • Haasgen
    Posted at 19:56h, 19 November

    Great tutorial! Everything worked like a charm. Thank you so much!

  • Smack52
    Posted at 02:12h, 14 April

    Excellent videotutorial, thanks for your help.

  • DuceMusicTV
    Posted at 05:45h, 30 April

    Thanks a lot. Really simple and straightforeward.

  • Atikah Mohamad
    Posted at 14:14h, 22 May

    Great video, thanks!

  • Erick Broos
    Posted at 21:21h, 14 October

    thank you, this it's great

  • Ricardo Santos
    Posted at 16:28h, 27 October

    Thanks, great tutorial. Although 5 years old, most still applies.

  • John Graue
    Posted at 20:47h, 11 November

    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!

  • John Windsor
    Posted at 13:02h, 06 January

    thank you so much. I watched more than ten times. Very good instruction! Very nice job!!!

  • matiwes teklay
    Posted at 08:51h, 17 February

    please i need help how can i upload with out cost i haven`t credit card

  • Opciones Digitales
    Posted at 13:26h, 17 February

    Excellent tutorial

  • Mohammad Saab
    Posted at 16:21h, 30 April

    Many many thanks. Everything was perfectly done.

  • Mario Bucheli
    Posted at 23:12h, 07 May

    muy buen video

  • Lesley. Shingai. Munyuki
    Posted at 16:01h, 19 May

    Thank you. installed moodle 3.3 on Hostgator cloud with this tut.

Post A Comment