logoNext.js English
DocumentationBlogLearn
Getting Started
Installation
Project Structure
Layouts and Pages
Linking and Navigating
Images
Fonts
CSS
Server and Client Components
Fetching Data
Caching and Revalidating
Updating Data
Error Handling
Partial Prerendering
Metadata and OG images
Deploying
Upgrading
Guides
Analytics
Authentication
CI Build Caching
Content Security Policy
CSS-in-JS
Custom Server
Debugging
Draft Mode
Environment Variables
Forms
ISR
Instrumentation
Internationalization
JSON-LD
Lazy Loading
Development Environment
MDX
Memory Usage
Multi-tenant
Multi-zones
OpenTelemetry
Package Bundling
Production
PWAs
Redirecting
Sass
Scripts
Self-Hosting
SPAs
Static Exports
Tailwind CSS
Third Party Libraries
Videos
Migrating
Testing
Upgrading
Building Your Application
Deep Dive
API Reference
Architecture
Community
logoNext.js English
DocumentationBlogLearn
Introduction/Guides/Multi-tenant

How to build multi-tenant apps in Next.js

If you are looking to build a single Next.js application that serves multiple tenants, we have built an example showing our recommended architecture.

Memory Usage

Optimize memory used by your application in development and production.

Multi-zones

Learn how to build micro-frontends using Next.js Multi-Zones to deploy multiple Next.js apps under a single domain.