Home › Quizzes › Platforms & LMS › Moodle quiz access and server fixes

Fix Moodle quiz access issues on your web server

Find the server and quiz settings that lock students out, then build practice questions from your own course material.

Create quizzes nowFree · No credit card required

Free · First set needs no signup · Creates quizzes in seconds

How to troubleshoot Moodle quiz access on a web server

When students get locked out or see errors, the cause is usually one of a few settings. Moodle quiz access problems often come from the site address in wwwroot, HTTPS redirects, or the quiz's own password and IP restrictions. Checking these in order is faster than guessing.

  • Confirm that $CFG->wwwroot matches the public URL, including https.
  • Open Extra restrictions on attempts and check the password and IP fields.
  • Test with a student account in a private browser window before the quiz opens.
  • Read the web server error log for 403 or 500 responses when a page fails to load.
Example Moodle quiz access and web server questions
Which Moodle setting must match the public site address to keep quiz links working?$CFG->wwwroot in config.php. Moodle builds its internal links and asset URLs from this value, so a mismatch breaks navigation.
True or false: a Moodle quiz can require a password before a student starts an attempt.True. Set the password under Extra restrictions on attempts, and students must enter it before the attempt begins.
What does an HTTP 403 response mean when a student opens a Moodle quiz page?The server received the request but refused it, often because of file permissions, a blocked IP address, or a firewall rule.
Which two web server programs are most often paired with Moodle?Apache and Nginx, both running PHP. Either works with a supported PHP version and a database such as MySQL or PostgreSQL.
Why should you test a timed Moodle quiz with a student account before the exam?Time windows, IP limits, and Safe Exam Browser settings can block students in ways an admin account bypasses, so a student test reveals them.
Generate the full set

Check the server address

Confirm that the wwwroot value in config.php matches the public URL students use, including https.

Review quiz restrictions

Look at password, IP address, and time window fields under Extra restrictions on attempts to find what is blocking access.

Turn notes into practice

Upload slides, PDFs, or notes and get multiple-choice, true/false, or open questions with explanations before the quiz.

How it works

Upload your material

Add a PDF, DOCX, PPTX, text file, or photo of a page covering the topics your quiz will test.

Generate the questions

Choose multiple-choice, true/false, or short answer and review each question and its explanation.

Study or export

Practice in the browser on the Free plan, or export to Moodle XML on the Pro plan.

On the server side, Moodle needs a working web server such as Apache or Nginx with PHP, and config.php must point $CFG->wwwroot at the exact public URL. A mismatch can break quiz links or send students into a login loop. When a page returns a 403 or 500 error, the web server error log usually names the file or rule involved.

On the quiz side, open the settings and review Extra restrictions on attempts. Password, network address, time window, and Safe Exam Browser fields each block access in different ways, so test with a student account before the exam opens.

Explore related topics

Frequently asked questions

Why does a Moodle quiz show access denied for some students?

Common causes are an IP address restriction, a wrong quiz password, or a time window that has not opened yet. Check Extra restrictions on attempts first, then compare the student's network with the allowed address.

What web server does Moodle need?

Moodle runs on a web server such as Apache or Nginx with PHP and a database like MySQL, MariaDB, or PostgreSQL. Your host's installation guide lists the exact versions for your Moodle release.

Can DeckOwl help me prepare students for a Moodle quiz?

Yes. Upload your slides, PDF, or notes and DeckOwl generates multiple-choice, true/false, or open questions with explanations. The Free plan includes 3 generations per month and browser study.

Can I export questions straight into Moodle?

Moodle XML export is included in the Pro plan at $14.99 per month, along with QTI 2.1 export. Plus, at $39 per year or $7.99 per month, includes PDF, DOCX, and Anki export.

Generate free quizzes

Keep exploring the topic

Review the main ideas visually or practice recalling them.