This is my page structure.
pages app index.tsx users index.tsx [id].tsx index.tsx
I have a www.domain.com that works perfectly fine. I can access the app page folders with www.domain.com/app then I can access the index page of the app folder.
but what I want is to access it only by app.domain.com instead of www.domain.com/app
I want the www.domain.com to only access the frontend pages, the pages not inside the "app" folder.
and app pages should only be access by app.domain.com
How I will do that?
TIA
1.4m articles
1.4m replys
5 comments
56.9k users