Moodle Help & Support
This refers to Moodle 3.11 from August 2022 onwards
How to upload a prepared website to Moodle
Prerequisite: you must have created a website with a number of linked pages, e.g., in a web editing tool.
Use relative links for all links between pages. Include all necessary supplementary files such as css style-sheets and images.
How to upload the zip file of the website
- Create a zip file of your whole site and all its files and sub-folders.
- Navigate to the module and click on the 'Turn editing on'
button (top right) - Click on the
hyperlink - Click on the word 'File' to go straight to the 'Adding a new File' screen

5. Add a "Name" and a "Description" for your website. You can drag and drop your zipped file into the content section OR

- Click on the 'Add...'
icon button - Click 'Choose file' button
- Browse to the zipped file to add, click 'Open'

- Click 'Upload this file'
How to unpack the zip file and display your website
- When the zip file icon
appears in the editing screen, click on it and select 'Unzip'

- IMPORTANT: Once unzipped, select the index or front page of your website and click on it then click 'Set main file'
- Click on the 'Save and return to module' or
'Save and display' buttons
Similar tutorials
The following other resources are also relevant to this topic: