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
Meyer
MeyerOP2y ago
Up please ?
Meyer
MeyerOP2y ago
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
joelwoolhead
joelwoolhead2y ago
The article covers this
Want results from more Discord servers?
Add your server