One Moodle site or many: choosing a tenancy model

Choosing between separate Moodle sites, one site with categories or IOMAD depends on data separation, branding, shared courses, upgrade effort and what each client contract requires.

On this page

Choosing one Moodle site or many for several clients

If your organization runs Moodle for several schools, companies or departments, you need to decide whether each client gets its own Moodle site or whether all clients share one site and are separated inside it. The tenancy model decides where client data lives, who can administer it, how each client is branded and what content is shared between them. Those answers shape your upgrade effort, hosting cost and what you can promise in each client contract, and they are hard to reverse once users, courses and reports exist on the platform.

The model answers four practical questions. Data separation asks whether one client's learners, grades and files can ever be seen from another client's space. Administration asks who creates users, enrolments and reports, and whether a client's own staff can do that without site administrator rights. Branding asks how much of the look, domain and login page each client can have. Sharing asks whether any course, question bank or template should be reused across clients without copying it. A shared site makes sharing easy and separation harder to prove. Separate sites make separation easy to state and multiply the work of every upgrade, plugin change and backup.

Moodle is licensed under GPL-3.0 and can be self-hosted, or run through MoodleCloud or Moodle Partners, so the licence and hosting route do not settle the tenancy question. You can run either model on infrastructure you control. The decision should be made from the client contracts first: list each clause that mentions data location, deletion, branding, reporting, shared content or the right to exit, then test which model can meet each clause without custom workarounds. Ask your contract and compliance teams to confirm the wording, because a clause that requires per-client deletion or per-client audit logs changes the answer more than any feature list. Write the result down as a short tenancy decision record before any build starts, and include the number of clients you expect to add in the next few years, since adding a client to a shared site and adding a new site cost very different amounts of effort.

Which tenancy model fits which contract terms

This table compares separate Moodle sites, one site with categories and roles, and IOMAD against the contract terms clients usually raise. Read each row as a question to put to a client's contract, then check the answer against the model's cost of upkeep. The main takeaway is that the more isolation and per-client branding a contract demands, the more the choice moves away from a shared site.

Contract term or factorSeparate Moodle sitesOne site with categories and rolesIOMAD on one site
Data separationStrongest by design: each client has its own database and file storeWeak: all users and data share one database, separated by roles and permissionsModerate: company-level separation within one database, reviewed against the contract
Branding and URLsFull control: own domain, theme and logo per siteLimited: one theme for the site, with category-level tweaks onlyPer-tenant branding and URLs supported, confirm against the IOMAD release in use
Shared coursesHard: content must be exported and copied between sitesEasy: one course can be used across categoriesPossible through company-level course sharing, confirm the workflow in your version
Delegated administrationEach site needs its own administratorsCategory managers and custom roles, but limited reporting isolationCompany managers scoped to their own users and reports
Upgrade effortMultiplies with each site: every site is upgraded and tested separatelyOne upgrade path for everyone, but one outage affects all clientsOne upgrade path, plus IOMAD and plugin compatibility checks in each step
Hosting footprintHighest: separate databases, file stores and scheduled tasks per siteLowest: one stack to size and back upLow to moderate: one stack, with extra load from tenant reporting
Contract clauses on exclusive hosting or deletionWell suited: clean deletion and location of data per clientPoorly suited: deletion and export require careful scriptingModerately suited: deletion per company must be tested before promising it

How to decide between the three models

This sequence takes you from contractual requirements to a single recommendation between separate sites, categories in one site, or IOMAD. Each step ends with a check that tells you whether to stop there or move on to a separate site.

  1. Record contractual data separation and audit terms

    Legal, procurement and the account owner list every clause in each client contract that touches data separation, access logging, audit rights, data return and deletion, and subprocessors. Write each one as a testable requirement, such as whether a tenant's learner records may be visible to another tenant's administrators. The output is a signed-off requirements list. If any clause requires that one tenant's data be physically or administratively isolated from others, or that a client can audit its own environment, stop here and plan for a separate site. Shared-site models rely on permissions and reporting controls, which many contracts will not accept as isolation.

  2. Define branding and domain requirements

    Gather each tenant's requirements for its own web address, logo, colours, login page, email sender identity and certificate. Ask whether the tenant expects its own domain or accepts a subdomain. Confirm with your platform team which of these a single Moodle site can deliver through themes and configuration, and which need a separate installation or additional tooling. The output is a branding matrix marked as native, configurable, or requires separation. If a tenant requires its own domain with its own authentication policy and email identity, treat that as a separate-site signal unless you have confirmed a multi-tenant design that meets it.

  3. Map shared content and course reuse

    List which courses, question banks, certificates and learning paths should be reused across tenants, and which must never be visible to another tenant. Identify who authors shared content and who owns the copies each tenant receives. Shared content is easiest in one site, where course categories and course sharing keep a single source of truth. The output is a content map showing shared assets, tenant-specific assets and the owner of each. If shared content is minimal and each tenant needs its own catalogue, the case for separate sites or IOMAD grows. If the shared catalogue is large and changes often, a single site with categories is usually the better fit.

  4. Count tenants and estimate their change rate

    Record how many tenants you expect at launch and over the contract period, how often tenants are added or removed, and how often their users, departments and course catalogues change. Ask each client how quickly they expect to onboard new users and whether they need self-service administration. The output is a tenant profile: current count, expected growth and churn. A small, stable set of tenants with infrequent changes can justify separate sites. A large or fast-changing set, especially with onboarding and offboarding through a central team, points toward one site with a managed tenant structure, where provisioning is repeatable.

  5. Assess the internal team's upgrade capacity

    Inventory who will run Moodle upgrades, plugin updates and testing, and how much of their time that work can take. Each separate site is upgraded, tested and backed up on its own, so the cost of upgrades multiplies with the number of sites. Confirm the release cadence and the supported upgrade paths in the Moodle release notes for the versions you plan to run, and check that every plugin you depend on is compatible with the target version. The output is a named upgrade owner and a documented process per model. If the team cannot run an upgrade on every site within the support window, reduce the number of sites or choose the model with fewer independent installations.

  6. Estimate hosting and operating cost per model

    Ask your infrastructure team to cost each option: compute, database, file storage, backups, monitoring and the staff time to operate them. Separate one-time setup work from recurring hosting and support. Separate sites repeat most of these costs per tenant, while a single site concentrates them but needs stronger administrative controls. Ask any implementation partner for a quote that itemises setup, per-tenant onboarding, upgrades and support as separate lines, based on the written scope. The output is a cost comparison with each recurring line named. Treat a cost difference as a tie-breaker only after the contractual and branding checks have been completed.

  7. Choose the model and record the trade-offs

    Using the outputs of the previous steps, select one model: separate sites where contracts require isolation or branding needs a distinct domain, one site with categories and delegated administration where isolation is administrative and content is shared, or IOMAD where many companies need company-level management, licences and branding on one installation. Record which requirements each option meets, which it does not, and the residual risk you accept. The output is a signed decision record that names the model, the owner and the review date. If requirements conflict, escalate to a separate-site design, because it fails in the least ways under audit and contract review.

How the three tenancy models separate tenants

The diagram reads left to right through three parallel options. Separate sites each get their own database and file store, so a tenant's data never shares a store with another tenant. A single standard site keeps one database and one file store, and separation comes from category-scoped roles and enrolment. IOMAD keeps one Moodle instance but adds company tenants inside it. Check where the shared upgrade path and shared courses sit in each option, because that determines who must test an upgrade and who can reuse course content.

Trust boundaries and shared components across the three tenancy models.

How each model answers client contract terms

A client clause requiring its own data store usually means learner records, course content, files and logs must sit in a database and file store that no other client can query or restore. Separate sites meet this most directly, because each client gets its own database, its own file directory and its own backups. An IOMAD or category design can still work when the clause only asks for logical separation and access control, but the team must then show that users in one tenant cannot see another tenant's records through reports, web services or backups.

  • Separate sites: each client has its own database and moodledata directory, so restores and deletions are scoped to one client.
  • Shared site: one database holds all tenants, so the team must prove that role assignments, reports and exports respect tenant boundaries.
  • Backups: ask whether the clause requires a separate backup set per client and how deletion requests are fulfilled from backups.
  • Subprocessors: a separate store may still share a hosting provider, which the clause may treat as a subprocessor.
  • Evidence: keep an access matrix, a restore test per tenant and a record of who holds database credentials.

Confirm with the client's counsel whether logical separation satisfies the wording or whether physical separation is required, and check that your hosting arrangement matches the answer.",

What drives hosting and upgrade effort in each model

Each tenancy model moves hosting and upgrade work to a different place. The drivers below show where that work grows as you add tenants, so you can ask a partner to quote the right items for your model.

Sites to upgrade and test

Separate sites mean each one needs its own upgrade rehearsal, configuration check and post-upgrade test pass, even when the code is identical. A single site with categories or an IOMAD tenant structure has one upgrade path, but its test scope grows with every tenant-specific theme, role and report. Ask the partner to quote the upgrade cycle per site and per shared installation, and whether staging copies are included. Note that Moodle 5.1 changed the web server document root to the /public directory, so each site's server configuration is a separate item to verify.

Moodle 5.1 notes

Plugin compatibility across tenants

Every plugin you install is a compatibility item, and in a multi-site model each site may need a different plugin set or version. Shared codebases limit this work, but a tenant-specific plugin, such as a custom theme or a client-required integration, must be retested against each Moodle release. Ask the partner to list every third-party plugin, its maintainer, and whether its supported Moodle versions cover your upgrade target. Authentication plugins such as auth_saml2 also need tenant-level configuration checks.

Backup and restore scope per tenant

Separate sites produce separate database and file backups, and each tenant's restore must be tested on its own. In a shared model, restoring one client's data without touching others requires a tested procedure and clear boundaries in the database and file store. Ask the partner what a single-tenant restore involves, how often restore tests run, where backups are held, and how long each copy is kept. Include the cost of storage growth as tenant course content accumulates.

Monitoring and capacity planning

Each site needs its own cron health, error log review and uptime checks, and a shared platform needs capacity planning for all tenants at once. A busy tenant can degrade performance for others on a shared database or PHP pool, so peak-load estimates must include every client's exam or enrolment calendar. Ask the partner which dashboards and alerts are included, how capacity is reviewed, and whether capacity growth is priced as a recurring item or a one-time change.

Staff skills and support rotation

Separate sites can be run by a small team that knows each site's configuration, but this breaks down when many sites share one operator. A shared model concentrates knowledge of multi-tenant configuration in fewer people, which raises the cost of leave, turnover and out-of-hours incidents. Ask the partner who holds the knowledge for each model, how runbooks are maintained, and whether support covers tenant administrators or only platform operators.

Why upgrade timing shapes the tenancy decision

Upgrade cadence is one of the strongest arguments against running several separate Moodle sites, because every site carries its own upgrade cycle. Moodle ships major releases in April and October and point releases every two months in February, April, June, August, October and December. Long-term support releases give you the longest security windows: Moodle 4.5 has security support until 4 October 2027, and Moodle 5.1 has security support until 19 April 2027. Moodle 5.3, released on 5 October 2026, is the next LTS with security support until 1 October 2029. Check the Moodle releases page for the current table before you set a plan, since the support windows of non-LTS releases are shorter.

Several sites multiply that work. Each site needs its own staging test, backup, plugin compatibility check, upgrade run and post-upgrade test, and each must be brought onto a supported version within the same window. The requirements also change per release. Moodle 5.1 requires 64-bit PHP 8.2 or later and PostgreSQL 15, MySQL 8.4, MariaDB 10.11 or SQL Server 2017 or later, and sites must already be on Moodle 4.2.3 or later. Moodle 5.3 requires PHP 8.3 or later, PostgreSQL 17, MySQL 8.4, MariaDB 11.4 or SQL Server 2019 or later, and a starting point of Moodle 4.4 or later. If one site is older, its server stack may need a separate, earlier upgrade. From Moodle 5.1 the web server document root must point to the public directory, so every server block, deployment script and load balancer rule must be changed on every site.

An IOMAD deployment adds a constraint. IOMAD is a layer on Moodle, so the IOMAD release, its plugins and Moodle core must move together, and a tenant structure built on one shared database cannot be upgraded tenant by tenant. Before you commit to IOMAD, ask the vendor or implementer which IOMAD release supports each Moodle version on your upgrade path, how long they support it, and how plugin conflicts are tested. If a client contract requires you to stay on a supported version within a fixed window, that obligation applies to the whole shared site. Write the upgrade calendar into the tenancy decision, not after it.

Security and data separation risks in shared and separate sites

Every tenancy model moves risk around rather than removing it. The cards below cover the places where a shared or separate Moodle site most often leaks data, grants too much access or loses the trail of who did what. Use them as a checklist when you compare options against your clients' contract terms.

Cross-tenant exposure through roles and reports

In a shared site, a role assigned at system level or a report built without a category filter can show one client's learners, grades or completion records to another client's staff. Test every custom role and saved report with a user from a different tenant before go-live. Check that category-level role assignments do not inherit into sibling categories, and confirm which reports can be run by non-administrators. Ask for the exact permission set in writing, not a general statement that roles are separated.

Shared administrator accounts

A single administrator login used by several people across tenants removes the ability to tell who changed a setting, reset a password or exported a list. It also means one compromised password exposes every client. Give each tenant administrator a named account, enforce multi-factor sign-in through your identity provider, and keep the site administrator account limited to a few people with a documented break-glass procedure. Confirm how your chosen model supports delegated rights without granting site-wide access.

Plugin trust across tenants

Every installed plugin runs with the same code access to the whole site, so a plugin installed for one client can read data belonging to another. Plugin types such as local, block, report and admin tool plugins can query any table. Before installing a third-party plugin, review its source, its maintenance status and its permissions, and test it on a copy of production. Keep a written list of approved plugins and the reason each one was accepted, and check that the list is kept current at each upgrade.

SSO mapping users to the wrong tenant

Where identity comes from a shared directory, the attribute mapping decides which tenant a user lands in. With the SAML2 plugin (auth_saml2), field mapping and the attributes sent by the identity provider control account creation and profile data. With core options such as LDAP or external database authentication, a wrong filter or a changed group attribute can place users in the wrong category or cohort. Test with accounts from each client, and record which attribute drives each tenant assignment.

SAML2 plugin listing

Backup copies holding every tenant

A site backup contains the database and the file store for every client, so anyone who can restore or download it can read all tenant data. Backups also live longer than live data, which can conflict with a client's deletion or retention terms. Confirm who can access backup storage, whether the backup is encrypted at rest, how a single client's data would be extracted or removed, and how long each copy is kept. Separate sites make per-client restores simpler, but each site then needs its own backup routine.

Logs of tenant administrator actions

Moodle's logs record events across the site, but a tenant administrator's changes to users, enrolments and grades are only useful to a client if they can be filtered and exported by tenant. Confirm whether the logs can be scoped to one client's category or company, how long log entries are retained, and who can clear them. Decide in advance which administrator actions must be reported to each client and how that report is produced without giving the client access to other tenants' events.

Setting up the chosen tenancy model

This sequence takes a chosen tenancy model from a decision on paper to a running Moodle environment that has been tested for data separation and rehearsed for upgrade. Each step closes with a check that the team can record before moving on.

  1. Confirm the target release and its requirements

    Select the Moodle release the platform will run, then confirm its minimum PHP version, supported database engine and version, and the oldest Moodle version from which an upgrade is supported. Moodle 5.1 and Moodle 5.3 have different PHP and database minimums, and 5.3 requires sites to already run 4.4 or later, so the starting version matters as much as the target. Record the support windows for the release so the upgrade calendar can be built around them. The check is a signed-off requirements sheet that the platform owner and the Moodle administrator both accept.

  2. Provision the environment for each tenancy boundary

    Build the hosting layout the model requires. A separate-site model needs one stack per organization, each with its own database, file store and domain, while the shared models need one stack with a single database and file store. Set the web server document root to the /public directory if the chosen release is 5.1 or later. The check is a clean install of the target release in every environment, with cron running and the server health report showing no blocking issues.

  3. Create the tenant structure in Moodle

    Create the sites, categories or companies that represent each organization, following the design in the chosen model. For category-based designs, map the category tree to the client list and decide where shared course content lives. For IOMAD, create companies and their department hierarchy, and assign branding and URLs per company. The check is a written structure map that lists every tenant, its course locations, and the people who own it, compared against the contract list from the client side.

  4. Configure roles and delegated administration

    Set up site-level roles for platform staff, then grant delegated rights to tenant administrators at the category or company level, using custom roles where the default roles grant more than a tenant admin should hold. Limit reporting so each tenant administrator sees only their own users. Confirm that no tenant administrator can change site settings, install plugins or view another tenant's data. The check is a permissions matrix reviewed by the platform owner, with a test login for each role showing what it can and cannot reach.

  5. Map identities to each tenant

    Connect the identity provider and decide how users are placed into tenants. Use the authentication method the organization already runs, and set the field mapping that assigns each user to the right site, category, cohort or company. Where SAML 2.0 is used, the SAML2 single sign-on plugin maps users through fields configured in Moodle, so confirm the attribute names with the identity team before go-live. The check is a login from each tenant's identity source that lands the user in the correct tenant and nowhere else.

  6. Test data separation with named accounts

    Create named test accounts for each tenant and for each role, then test the boundaries from the user's side. Each test account should try to view courses, users, grades, files and reports belonging to other tenants, including direct URLs and search results. Record every attempt and its outcome, and retest after any configuration change. The check is a signed test log in which every cross-tenant attempt is blocked, reviewed by the security owner for the client contracts that depend on this separation.

  7. Run a rehearsal upgrade

    Copy the production database and file store into a staging environment, then upgrade it to the target release using the same steps planned for production. Run the upgrade on a copy that includes every tenant, plugin and theme in use, and check whether each plugin has a version compatible with the target release. Time the run, review the upgrade log and test each tenant's main workflows afterwards. The check is a documented rehearsal with recorded issues, fixes and a go or no-go decision, before any production upgrade is scheduled.

Questions buyers ask before choosing a tenancy model

Is a separate Moodle site more expensive than a category design?

Usually yes in effort terms, because each separate site is a full installation with its own upgrades, backups, plugin checks, theme work and administrators. A category design runs one installation, so the platform work is done once, but its configuration and roles still need design. The main cost drivers are the number of sites, how different their branding and plugin sets must be, and how often each one must be upgraded and tested. Ask any partner to price the recurring upgrade cycle for each model, not only the first build. Moodle ships major releases in April and October, so that cycle repeats twice a year for every site you run.

How long does choosing and building a tenancy model take?

The decision itself is usually short if the contract terms are already written down. The build time depends on the number of tenants, the branding each one needs, the data rules in their contracts, and how many integrations (identity, HR, reporting) must be set up per tenant. A single site with categories is faster to start, while separate sites repeat the installation and configuration work for each tenant. Get a written timeline from any provider that is tied to a fixed scope, and check which items are assumed rather than agreed. No duration can be stated here without a scope, so treat any figure you are given as provisional until the tenant list and contract clauses are known.

What does the client's team need to provide for this decision?

Your team needs to supply the contract terms that touch learner data, the list of tenants with their branding and admin needs, and the systems each tenant expects to connect to, such as an identity provider or an HR feed. You also need a named owner who can approve trade-offs on data separation and branding. Without these inputs, the work tends to stall at the point where a clause is interpreted differently by legal, procurement and the platform team. Ask the provider which of these inputs they will need in writing before the scope is agreed.

Can our own team choose and build the tenancy model alone?

A capable Moodle administration team can run a single site with categories, cohorts and roles, provided it has someone who understands Moodle roles and the upgrade cycle. Separate sites, or an IOMAD design, add work that is easy to underestimate: per-tenant themes, plugin compatibility checks, identity setup and repeated upgrades. The question is less whether your team can install Moodle and more whether it can keep several installations current on a fixed schedule. Compare the staff hours for the recurring upgrade and testing cycle against the cost of a partner that plans and documents it with you. DeployOpen implements, customizes and documents self-hosted platforms in your own infrastructure under a written scope, so the division of work can be agreed before the build starts.

Does one Moodle site satisfy a strict data separation clause?

Often not on its own. A single site with categories separates courses and many permissions, but all tenant data sits in one database, one set of backups and one set of administrators with site-level rights. If a contract requires that one client's learner records are physically or administratively isolated, a separate site is the safer answer, and IOMAD may fit where company-level separation is the requirement. Read the clause with your compliance lead, because the wording on access, storage location and deletion decides the design. Confirm with your auditor how they will test isolation before you commit to a model.

Can we switch from categories to separate sites later?

Switching is possible but it is a migration project, not a setting change. Moving from a category design to separate sites means splitting courses, users, enrolments, grades and files for each tenant, then re-pointing identity and reporting. Plan for it by keeping tenant identifiers consistent from the start, documenting which records belong to which client, and testing an export and import on a copy before cutover. Ask any provider how they would move one tenant out and what the rollback looks like. Migration tools in Moodle core support importing courses and question banks, but tenant-level splits need a planned approach and testing.

How do hosting costs compare between the two models?

Hosting cost usually grows with the number of separate installations, since each site needs its own application, database, file storage and backup set, plus monitoring and capacity for peaks. A single shared site concentrates these costs, though it needs more capacity to handle all tenants together. The database and file storage sizing depends on course volume, user numbers and the retention rules in each contract. Ask for the hosting cost as a line-item model that shows what changes per added tenant, and confirm which items are one-time and which recur each year. Supported database and server versions also matter, because the requirements for Moodle 5.3 are higher than for 5.1, which can force a hardware or software change across every site at once.

Which Moodle version should a new tenancy design target?

Target a version that will still receive support for the life of the design, and check the server requirements before you commit. Moodle 4.5 is a long-term support release with security support until 4 October 2027, and Moodle 5.3, released on 5 October 2026, is the next LTS with security support until 1 October 2029. Moodle 5.1 requires PHP 8.2 or later and PostgreSQL 15 or later, and its web server must point to the new public directory. Moodle 5.3 requires PHP 8.3 or later and PostgreSQL 17, so it is a step up. Confirm the target version with your platform team and any plugin vendors before the tenancy design is fixed, since plugin compatibility can limit the choice.

How DeployOpen scopes a multi-tenant Moodle

DeployOpen starts from the contracts you have to honour, not from a platform preference, then works out whether one Moodle site, categories with delegated administration, or IOMAD fits. The result is a written scope that sets out tenant boundaries, branding, upgrade effort and hosting in infrastructure you control.

How we scope

  • We map each client contract term on data separation, branding and reporting to a tenancy option.
  • We list which courses, question banks and users are shared and which must stay isolated per tenant.
  • We state the upgrade and plugin compatibility work each option creates, so the written scope shows recurring effort.

How we build

  • We configure categories, roles, cohorts or IOMAD company structures against the agreed tenant model.
  • We set per-tenant branding, URLs and delegated administrator roles, then test that each admin sees only their own users.
  • We test backups, restores and an upgrade rehearsal on a staging copy before any production change.

How we hand over

  • We deliver a written tenancy design covering boundaries, role matrix, data handling and the reasons for each choice.
  • We document the upgrade path, plugin inventory and the checks to run before each Moodle release.
  • We train your administrators on tenant setup, so onboarding a new client follows a repeatable runbook.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer for multi-tenant sites.
  • Ask us to confirm which tenancy option your hosting, plugin and contract constraints actually allow before committing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.