# Does FarmOS support multi-tenancy

**URL:** <https://farmos.discourse.group/t/does-farmos-support-multi-tenancy/921>\
**Category:** Hosting farmOS\
**Created:** [September 10, 2021, 6:06pm UTC](https://farmos.discourse.group/t/does-farmos-support-multi-tenancy/921 "2021-09-10T18:06:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmagnusson](https://avatars.discourse-cdn.com/v4/letter/g/8e8cbc/32.png) [@gmagnusson](https://farmos.discourse.group/u/gmagnusson)\
**Post date:** [September 10, 2021, 6:06pm UTC](https://farmos.discourse.group/t/does-farmos-support-multi-tenancy/921/1 "2021-09-10T18:06:16Z")

</div>

I’m very new to FarmOS and still exploring its capabilities.

Is it possible for one self-hosted instance to serve two or more farms, such that users from one farm don’t see anything about the other farms?  
If not, is that a Drupal limitation or a FarmOS limitation?

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [September 11, 2021, 6:04pm UTC](https://farmos.discourse.group/t/does-farmos-support-multi-tenancy/921/2 "2021-09-11T18:04:16Z")

</div>

Hi @gmagnusson welcome to the forum!

Drupal has a concept of “multisite” installations, where a single codebase can serve multiple websites/domains, each with their own database. More info here: [Multisite Drupal | Drupal | Drupal Wiki guide on Drupal.org](https://www.drupal.org/docs/multisite-drupal)

There has also been some discussion around a “multi-farm” farmOS instance, where multiple farms can have records in a single instance (under a single domain and database). But no development there yet. Here is the feature request: [Multiple farms in one farmOS [#2940211] | Drupal.org](https://www.drupal.org/project/farm/issues/2940211)

Hope that answers your question!

---

<div class="post-metadata">

**Author:** ![gmagnusson](https://avatars.discourse-cdn.com/v4/letter/g/8e8cbc/32.png) [@gmagnusson](https://farmos.discourse.group/u/gmagnusson)\
**Post date:** [September 13, 2021, 4:41pm UTC](https://farmos.discourse.group/t/does-farmos-support-multi-tenancy/921/3 "2021-09-13T16:41:39Z")

</div>

Thank you. Thats the conclusions I was slowly arriving at.

It looks like I can’t do what I was originally going for, but I think putting each farm on a separate sub-domain and with a separate database will work. I can work with that.

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [September 13, 2021, 7:10pm UTC](https://farmos.discourse.group/t/does-farmos-support-multi-tenancy/921/4 "2021-09-13T19:10:17Z")

</div>

If you need help with hosting, feel free to DM me @gmagnusson. [Farmier.com](http://Farmier.com) is set up to provide “group hosting” options as well. Shameless plug 😉

---

<div class="post-metadata">

**Author:** ![silvijefilipovic](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/silvijefilipovic/32/1843_2.png) [@silvijefilipovic](https://farmos.discourse.group/u/silvijefilipovic)\
**Post date:** [March 17, 2025, 6:47am UTC](https://farmos.discourse.group/t/does-farmos-support-multi-tenancy/921/6 "2025-03-17T06:47:59Z")

</div>

Since the beginning of Y2025, there has been some progress on this issue.

[pcambra] has started Farm multitenant project.based on Group module developed for Drupal.

pcambra has also started farmOS module developement for forest management:  
co-maintained with “the boss” @mstenta you might also check out.  
farmOS Forest.

My personal project (on of several, still in porogress) was to use Kubernetes/NGINX framework to cluster multiple farmOS instances (with or without Docker), on bare or non-bare metal cluster and shut the instance down when user signs off, and restart it when user logges in, so instance lives and occupies processor core only when needed, leaving cores for other instances to other users (other farmOS instances). Certain property (e.g. leased land from government could be leased to another farmer, or private land sold to another farmer, but could maintenain historical records in the farmOS, if import-export of all features of such plot per plot could be utilised). With central multi-tenancy this feature and managing multiple farms where plots also shift from “user to user”, e.g. for crop rotation…could be easier

About my projects I hope I will find time for proper posts soon.  
Greetings  
SF
