Routing and deployment in site builders
Hi, I wanted to try building a website builder kinda like squarespace or wix with next, wanted to know about the routing part, like how do they assign and connect subdomains like
xyz.wixsite.com
or the ability to connect a custom domain like xyz.com
and how does the deployment work? is it a single next app, hosting all the websites or they are all seperate websites hosted in something like a docker container? Any help would be appreciated... Thanks :D2 Replies
I think this might be up your alley: https://vercel.com/blog/platforms-starter-kit
Introducing the Vercel Platforms Starter Kit – Vercel
A fullstack template for building multi-tenant applications with custom domains using Next.js App Router, Vercel Postgres, and the Vercel Domains API.
yea exactly this
but what if, I dont want to use vercel?
lets say I want to self host my services on aws