How to use subdomains with nextjs
Hello everyone!
I'm creating a site where there will be very specific needs according to the user's role (student, teacher, administrator).
I'd like to have a landing page and to connect to it go to :
student.mydomain.com for a student
teacher.mydomain.com for a teacher
Should I make a monorepo or is the basic t3 stack enough?
If I have to make a mono repo, where will the api point, given that there will be several projects next?
thanks a lot
4 Replies
Up please ?
Medium
How to Build a Multi-Tenant App with Vercel’s Next.js Middleware
Learn how to build your own Multi-Tenant App using Next.js Middleware.
Hello, thanks for the response i alreay see this medium is like Vercel platforms. But the teacher website is really different of the student website
The article covers this