Hello All,
I have a Frappe Cloud site, and I’m exploring the possibility of hosting multiple projects within a single site without needing to purchase a separate plan for each project.
Specifically, I’d like to know:
Multi-Domain Setup: Can a single Frappe site serve multiple projects using different domains, each with distinct content and functionalities?
Database Separation: Is there a way to logically separate data (e.g., different apps, workspaces, or multi-company setups) within one site to manage multiple projects?
Best Practices: What would be the recommended approach to achieve this while ensuring scalability and performance?
I’d appreciate any guidance on the best way to proceed. Thank you for your time and support!
When self-hosting Frappe, the first thing you create is a “bench”. This bench will hold one or more “applications” (ERPNext, HRMS, Raven, etc.), and it will also hold one or more “sites”.
From the end user’s perspective, each site is its own independent thing. It’s possible to have multiple companies/projects on a single site, but all that data is stored in the same database. You can set permissions to limit who can see what, but by default the sales invoices from one company are stored together with the sales invoices from another company.
Each site, on the other hand, has its own database. It is not generally possible to access the data in one site from another site without using a public API of some sort. It is possible to have multiple domains point to a single site, but there’s no difference in how the site is presented if accessing from one domain versus the other.
If you have multiple companies or projects, there’s no single correct answer for whether it’s better to host in a single site or divide over multiple. Generally, it would depend on if these different projects need to see or use each other’s data. I help run a network of different companies, and we all use a single site because cross company communication is important. I have another company that’s run on a different site because it has no overlap with the others.
On Frappe Cloud, I believe the “Shared” hosting plan is per site, where as the “Dedicated” hosting plan allows for multiple sites.