Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
5 replies
Meyer

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
Was this page helpful?