FAB Builder empowers businesses to create multi-tenant applications that support tenantsmicrosites, and sub-sites—all with the flexibility of subdomain-based architecture. When you generate your application’s source code using FAB Builder, you can enable multi-tenancy as an option, allowing your application to dynamically create and manage tenants, microsites, and sub-sites. This feature is ideal for businesses looking to offer white-label solutionsclient-specific portals, or regional sub-sites under a single application.

What Are Multi-Tenant Applications with Subdomains?

  • Multi-Tenant Applications: A single application instance that serves multiple tenants (clients or users), with each tenant’s data isolated for security and privacy.
  • Subdomains: Unique web addresses (e.g., client1.yourdomain.com) that allow tenants, microsites, or sub-sites to operate independently under the main application.

How FAB Builder Enables Multi-Tenant Applications

  1. Generate Source Code with Multi-Tenancy:
  2. During the code generation process, enable the multi-tenancy option to create an application that supports tenants, microsites, and sub-sites.
  3. Configure Subdomains:
  4. Set up subdomains for each tenant, microsite, or subsite (e.g., client1.yourdomain.com, campaign.yourdomain.com).
  5. Customize Tenant Experience:
  6. Allow tenants to customize their subdomains with unique branding and themes.
  7. Manage Permissions:
  8. Use role-based permissions to control access to features and data for each tenant or site.
  9. Deploy Your Application:
  10. Deploy the multi-tenant application to your preferred hosting provider (e.g., AWS, GCP, Azure) using FAB Builder’s one-click deployment.

Key Features of FAB Builder’s Multi-Tenant Architecture

  1. Tenant Creation:
  2. Dynamically create and manage tenants, each with their subdomain (e.g., client1.yourdomain.com).
  3. Microsites and Sub-Sites:
  4. Create microsites (e.g., campaign.yourdomain.com) or sub-sites (e.g., region.yourdomain.com) under the main application.
  5. Custom Branding:
  6. Allow tenants to customize their subdomains with unique branding, logos, and themes.
  7. Role-Based Permissions:
  8. Control access to features and data for tenants, microsites, and sub-sites using role-based permissions.
  9. Scalability:
  10. Add new tenants, microsites, or sub-sites as your business grows, without disrupting the main application.
  11. Subdomain Flexibility:
  12. Use subdomains to create a seamless and branded experience for each tenant or site.

Benefits of Multi-Tenant Applications with FAB Builder

  1. Efficiency:
  2. Manage multiple tenants, microsites, and sub-sites under a single application, reducing development and maintenance efforts.
  3. Customization:
  4. Offer tenants the ability to customize their subdomains with unique branding and themes.
  5. Scalability:
  6. Add new tenants or sites as your business grows, without worrying about infrastructure limitations.
  7. Security:
  8. Isolate tenant data and control access with role-based permissions and multi-layer security.
  9. Cost-Effectiveness:
  10. Save on development and hosting costs by managing multiple clients or sites under a single application.

Use Cases for Multi-Tenant Applications

  1. White-Label Solutions:
  2. Offer fully branded applications to clients, each with its subdomain (e.g., client1.yourplatform.com).
  3. Regional Sub Sites:
  4. Create sub-sites for specific regions or markets (e.g., us.yourplatform.com, eu.yourplatform.com).
  5. Campaign Microsites:
  6. Launch microsites for specific campaigns or events (e.g., campaign.yourplatform.com).
  7. Multi-Client Portals:
  8. Provide each client with a dedicated portal under a subdomain (e.g., client1.yourplatform.com).
  9. Educational Platforms:
  10. Create sub-sites for different schools or departments (e.g., school1.yourplatform.com).

FAQ

Frequently Asked Questions

Can I create multi-tenant applications with FAB Builder?

Yes, FAB Builder allows you to generate source code with multi-tenancy support, enabling the creation of tenants, microsites, and sub-sites.

How do subdomains work in FAB Builder?

Each tenant, microsite, or subsite can have its subdomain (e.g., client1.yourdomain.com), providing a unique and branded experience.

Can tenants customize their subdomains?

Yes, tenants can customize their subdomains with unique branding, logos, and themes.

Is multi-tenancy scalable?

Absolutely! You can add new tenants, microsites, or sub-sites as your business grows, without disrupting the main application.

How do I deploy a multi-tenant application?

Use FAB Builder’s one-click deployment to deploy your application to AWS, GCP, Azure, or your preferred hosting provider.

What is a multi-tenant application?

A multi-tenant application is a software architecture where a single instance of the application serves multiple clients (tenants). Each tenant has its own isolated data and user experience, but all tenants share the same underlying codebase and infrastructure.

What is the difference between a tenant, microsite, and sub-site?

Tenant: A full client account, usually with its own users and data (e.g., client1.yourdomain.com).

Microsite: A standalone marketing or campaign-specific mini-site (e.g., campaign.yourdomain.com).

Sub-site: A regional or departmental section under the main application (e.g., us.yourdomain.com, sales.yourdomain.com).

Can I manage permissions for users within each tenant?

Yes, FAB Builder supports role-based permissions, allowing granular control over user access and feature visibility per tenant, microsite, or sub-site.

image

Ishaan Puniani

Architect
-Written by
ishaan@fabbuilder.com

I love finding patterns and concluding insights out of it. After working as Employee, a Consultant, a Freelancer I figured out mostly we start our project or a module or microservice either by copying an existing code or base repositories from GitHub lets say. And then spend a lot of time on customising it, analysing pitfalls, making it work so that I can start writing business logic for the work. So, I started POC-ing FAB Builder so that I get a trailered project targetted to my requirements and on which I can start writing business logic within few mins. This makes my life easy and my clients get a better quality products which are easy to modify and easy to maintain.