1 project that lives on many different subdomains
Answered
Rhinelander posted this in #help-forum
RhinelanderOP
So what I want is when user goes on the dashboard based on their role are redirected to "admin.example.com/dashboard" or "partner.example.com/dashboard". How might I do that (bought domain with Vercel and using Vercel for hosting)
Answered by Asian black bear
Here's an example how to implement multi-tenancy and rewrites if you want it dynamic: https://github.com/vercel/platforms/tree/main
1 Reply
Asian black bear
Here's an example how to implement multi-tenancy and rewrites if you want it dynamic: https://github.com/vercel/platforms/tree/main
Answer