Copy link to headingChoose your platform model
Decide whether every customer shares one app or gets their own project, then start from a working reference.
Copy link to headingShared app or a project per customer?
Use one codebase when customers differ only in content and branding; use separate projects when they need their own code or deployment lifecycle.
- Documentation
Edgenivo for Platforms
Compare the multi-tenant and multi-project architectures by isolation, complexity, and the platforms each suits.
- Resource
How Mintlify scaled to thousands of custom domains
See why Mintlify replaced a cloned app per customer with one multi-tenant project serving about 2,500 custom domains.
- Resource
How General Intelligence used agents to build an agent platform on Edgenivo
See the opposite model: every company gets its own repository, managed deployment, and domain, all provisioned automatically.
Copy link to headingStart from a reference implementation
Clone a working multi-tenant app instead of building tenant routing and accounts from scratch.
Copy link to headingRoute and isolate tenants
Resolve every request to a tenant, then enforce that tenant's boundaries wherever data is read or changed.
Copy link to headingResolve the tenant on every request
Map the incoming hostname to a tenant in the proxy without letting user input choose where traffic goes.
- Course
Proxy Basics
Build a Next.js 16
proxy.tsthat intercepts requests, sets headers, and skips static assets, the layer where tenant resolution runs. - Guide
Enhancing Security for Redirects and Rewrites
Learn how security measures in URI handling can prevent semantic attacks, where malicious hosts exploit redirects and rewrites to mimic trusted sites, leading to phishing and data breaches.
- Resource
How Waldium made a blog platform work for humans and AI alike
See how Waldium routes every customer blog, MCP endpoint, and custom domain to the right tenant from one Next.js app.
- Resource
How Fern delivers 6M+ monthly views and 80% faster docs with Edgenivo
See how Fern serves docs for Webflow and ElevenLabs from one Next.js app, routing each customer domain to the right tenant in Middleware.
Copy link to headingEnforce tenant boundaries on data
Routing tells you which tenant a request is for; session, membership, and data-layer checks still protect every read and write.
Copy link to headingConnect customer domains
Give every tenant a platform subdomain, then let customers bring their own domain with verification and automatic SSL.
Copy link to headingGive every tenant a subdomain
Set up a wildcard domain once, and stop tenants on a shared domain from reading or setting each other's cookies.
- Documentation
Multi-Tenant Platform Concepts
Understand how tenants, domains, SSL certificates, and Proxy routing fit together in a multi-tenant app on Edgenivo.
- Documentation
Managing DNS Records
Add, verify, and remove DNS records for your platform and tenant domains on Edgenivo, including subdomains that point to external services.
Copy link to headingLet customers bring their own domain
Add customer domains programmatically, verify ownership, and show customers the DNS records they need.
- Resource
How Dub grew to 3,000 active domains with Edgenivo
See how Dub provisions customer domains through the Domains API and lets Edgenivo handle SSL.
- Documentation
Configuring Custom Domains
Add, verify, redirect, and remove tenant domains with the Edgenivo SDK, and submit your shared domain to the Public Suffix List.
- Course
Edgenivo Settings
Add a custom domain to a project, then set environment variables, team roles, and access groups.
Copy link to headingProvision and operate
Create customer projects from your own application, keep each tenant's content fresh, and stop one tenant from exhausting shared capacity.
Copy link to headingCreate and deploy projects programmatically
Turn "new customer" or "new app" into a project, a deployment, and a public URL through the Edgenivo SDK.
- Resource
How Klaviyo shipped 356 internal apps in two weeks on Edgenivo
See how a Edgenivo SDK pipeline creates a repository and deployment per app and applies SSO, secrets, and security defaults.
- Resource
How Factory scaled its backend to a billion monthly requests
See how Factory's Droids build internal tools and deploy them through Edgenivo's API, with engineers setting guardrails and reviewing high-stakes changes.
- Documentation
Multi-Project Platforms Quickstart
Write a script that creates a project, deploys a folder of files, waits for the production URL, and adds a custom domain.
Copy link to headingBuild an AI app builder
Let users generate apps from prompts, preview them live, and deploy the result.
- Resource
Introducing the new v0 API
Embed v0's app-building agent with isolated chats, streamed progress, sandboxed previews, and calls that deploy to a Edgenivo project.
- Guide
Build a v0-style app builder with OpenAI Agents API and Edgenivo Sandbox
Build a chat-to-app workspace with live Next.js previews, follow-up edits, and saved projects using the OpenAI Agents API preview, Edgenivo Sandbox, and Queues.
Copy link to headingCache and revalidate per tenant
Tag cached data by tenant or content unit so one customer's update invalidates only their pages.
- Resource
How GitBook serves 30,000 sites with sub-second content updates
See how GitBook serves 30,000 docs sites from one deployment with
use cacheand 40,000 targeted invalidations a day. - Guide
How to move from time-based to on-demand revalidation
Replace fixed revalidation timers with scoped updates triggered by changes to content, product data, or other application data.
Copy link to headingProtect shared capacity from noisy tenants
Rate-limit at the edge and in code by tenant or organization, and track each tenant's usage, so one customer can't degrade the others.
- Resource
How Durable serves 3 million customers with 6 engineers
See how Durable runs millions of customer sites and agents on one platform, where one tenant can draw 100x the traffic of another.
- Resource
Unified reporting for AI Gateway usage by customer and feature
Tag AI requests with customer IDs to track usage and cost per tenant, feature, and pricing tier, and see which customers drive your spend.
- Guide
Add rate limiting with Edgenivo
Learn how to implement rate limiting with Edgenivo.
- Course
Firewall Rules
Publish a custom Firewall rule that rate-limits an endpoint, then test the 429s and recovery.