Skip to content
Free website migration on every plan, done by our team.Learn more ›
Business

Hosting an online school: Moodle and LMS guide

How to host an online school or course site: Moodle vs WordPress LMS plugins, how much hosting you need, video, exams, security and student data.

Short answer: Small course sites run well on WordPress with an LMS plugin on good shared hosting. Schools and training centres with many students, exams and reports usually do better with Moodle on a VPS with at least 2 vCPU and 4 GB RAM. Host videos on a video platform rather than your server, back up daily and protect student data. AuroxHost VPS 2 costs $12.00 a month.

Online learning has become normal for schools, tutors, churches and professional training. Whether you are selling a single course or running a school's whole learning programme, the platform and the hosting decide how smooth the experience is for students, especially during exams when everyone logs in at once.

Step 1: Choose your platform

WordPress with an LMS plugin

Plugins such as LearnDash, Tutor LMS and LifterLMS turn WordPress into a course platform with lessons, quizzes, certificates and payments.

Best for: tutors, coaches and businesses selling courses; up to a few hundred active students.

Moodle

Moodle is a full open-source learning management system used by universities and schools worldwide. It handles classes, assignments, gradebooks, exams, forums and detailed reports.

Best for: schools, colleges and training centres with many students, teachers and courses.

Hosted platforms

Hosted course platforms are quick to start but charge monthly per feature or per student, and moving away later is harder. Owning your platform on your own hosting keeps you in control of your content and student data.

Step 2: Size your hosting

SituationPlatformSuggested hosting
Up to a few hundred students, mostly reading and videoWordPress + LMS pluginWP Moon, $2.52/mo
Paid courses with quizzes and a busy shopWordPress + LMS pluginWeb Premium $6.48/mo or VPS 1
School with many classes and online testsMoodleVPS 2, $12.00/mo
Large school or many simultaneous examsMoodleVPS 4, $24.00/mo or dedicated

The number that matters most is how many students are active at the same moment, not the total number of accounts. A school with 2,000 students where 300 sit an online test together needs much more power than a course site with 5,000 students who log in now and then.

Step 3: Handle video properly

Video is the heaviest part of most courses. Serving it from your own hosting uses a lot of storage and bandwidth and can slow everything else down. Instead:

  • Host videos on a video platform that supports private or unlisted embedding.
  • Embed them in your lessons.
  • Offer lower-quality versions for students on mobile data.

Step 4: Prepare for exam day

  • Load test before a big exam if you can.
  • Turn on caching for public pages, but not for quiz pages.
  • Schedule backups and updates away from exam times.
  • Have support contacts ready, and tell students what to do if their connection drops.

On Moodle, enable the recommended caching (such as Redis) and run the scheduled tasks (cron) every minute. See cron jobs explained and Redis object cache.

Step 5: Protect student data

Course sites hold names, emails, grades and sometimes payment details. If your students include children, take extra care: Nigeria's Data Protection Act requires a parent or guardian's consent before processing a child's personal data. See the NDPA guide for websites.

  • Use HTTPS everywhere.
  • Give teachers and admins only the access they need.
  • Turn on two-factor login for admin accounts.
  • Back up daily and keep an off-site copy. See cPanel backup and restore.
  • Publish a privacy policy that explains how student data is used.

Step 6: Take payments

For paid courses in Nigeria, connect a payment gateway that supports naira cards, bank transfer and USSD. See payment gateways in Nigeria and selling digital products. Membership-style access is covered in building a membership website.

Setting up Moodle on a VPS

  1. Order a VPS in a region close to your students, such as Lagos for Nigeria.
  2. Install a web server, PHP and a database (MariaDB or PostgreSQL). See LAMP stack on Ubuntu.
  3. Download Moodle, create the data directory outside the web root and run the installer.
  4. Set up the cron job, caching and outgoing email.
  5. Add SSL with Let's Encrypt and a firewall. See UFW firewall guide.
  6. Configure daily backups to a second location.

Prefer not to manage a server? Moodle can also run on a cPanel account for small schools, installed in one click, then moved to a VPS when you grow.

Frequently asked questions

Can I run Moodle on shared hosting?

Small Moodle sites with few simultaneous users can run on good shared hosting. For a school with online exams, a VPS is more reliable.

Is WordPress good enough for an online academy?

Yes, for most course businesses. With an LMS plugin, WordPress handles lessons, quizzes, certificates and payments well.

Where should I host an online school for Nigerian students?

A Lagos region keeps pages fast for students in Nigeria and West Africa. AuroxHost has a Lagos region for both hosting and VPS.

How much storage does an online school need?

Without self-hosted video, most course sites use a few gigabytes. Student uploads and backups add to that, so leave room to grow.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.