Every app I make has its own repo and its own Vercel project, and they all live at one address. Namesake is at /namesake, Beacon Book is at /book, Color Squad is at /color. To run multiple Next.js apps on one domain, I give each app a basePath, deploy it on its own, and have the studio site forward that path to it with a rewrite. Visitors see one site. I ship each app without touching the others.
Why one domain
I wanted one place where someone could land and see everything the studio makes. The home page at beaconfrontier.com is that showcase, and most of its cards open an app on that same domain.
I also wanted the apps kept apart. Namesake checks domain names live. Beacon Book holds sign-up sheets that are private to the people they were shared with. They need different security headers and different data. As separate projects, each one deploys on its own schedule, and the studio site never needs a rebuild when an app ships.
How multiple Next.js apps share one domain
Next.js calls this setup multi-zones. Each app is a zone, and a zone takes three steps:
- In the app, set basePath to its path, like /namesake. Next.js then serves its pages, its API routes and its built assets under that path.
- Deploy the app to its own Vercel project. The beaconfrontier.com domain stays on the studio project and is never attached to a zone.
- In the studio site, add two rewrites: one for the bare path and one for everything under it, both pointing at the zone's own deployment.
The rewrites run before the studio site checks its own files, so nothing in the studio can answer a zone's path by accident. Because the zone serves its own assets under its own path, there are no extra asset rules to maintain.
Links from one zone to another are plain anchor tags, which means a full page load. Next.js can't soft-navigate into a different deployment, so the Link component won't help there.
One file drives the router
I don't write those rewrites by hand. Every app is one entry in a catalog file: name, tagline, status, icon, and for web apps, a zone with its path and the address of its deployment. From that one file the studio site builds:
- the app cards on the home page
- the rewrites for each zone
- which paths get the studio's strict security headers
- the robots.txt rules and the list of sitemaps
- redirects for URLs that moved
Adding a web app comes down to that entry plus one line of config in the app itself.
A bad entry fails the build instead of breaking routing in production. The checks reject a duplicate path, a path that isn't one lowercase word, a reserved path like /api or /blog, a link to a path no zone serves, and any link that isn't https.
Three things that bit me
Analytics went quiet
Two days after the router went live, I found Namesake's Vercel analytics weren't loading. Vercel serves Web Analytics and Speed Insights from the root of a deployment, never under a basePath. So the requests to /namesake/_vercel/ came back 404.
The fix was a third rewrite per zone, listed first, that sends each zone's analytics path to the root of that zone's deployment. Each app's numbers now land in its own project.
One security policy can't fit every app
The studio pages are static, so they send a tight content security policy. The zones can't live under it: one needs the microphone, another runs analytics. So the studio sends its headers only on the paths it serves itself, and each zone sends its own.
The pattern that skips the zones stops at a slash. A studio page at /namesake-news would still get the studio's headers, because it isn't the /namesake zone.
Default vercel.app names aren't yours
Each rewrite needs a stable public address for the zone. The default address Vercel suggests from your project name isn't guaranteed to be yours. Those names are global, and the one matching Namesake's project name is someone else's site. Had I pointed the rewrite there, /namesake would have served a stranger's app.
Every zone now gets a project domain I add myself, and I open it to make sure it's my app before the router uses it.
Moving in and moving out
Namesake used to be the whole domain. When it moved under /namesake, its old pages got permanent redirects so search rankings follow them, and shared links with a naming round in them still open that round. Beacon Baby's site launched at /baby and moved to /beaconbaby within the hour, and /baby still redirects.
Apps can leave too. When an app moves to its own domain, I swap its zone in the catalog for a moved entry, and every old path, plus everything under it, now redirects to the same path at the new address. The old paths stay reserved, so a new zone can't take them by mistake.
Want this for your own site
If you run a business, church or nonprofit and want a website or app built with this kind of care, see how pricing works and book a free call.