Map domain/app to app.domain ?
Unanswered
oz posted this in #help-forum
ozOP
I am using nextjs 14 and I have route groups so my structure is:
(landing)/landing page related pages
(site)/ main web app pages
how do I map everything accessed in domain/(site route group) to instead be app.domain.com
I am happy to not use route groups if that just complicates things but I thought it may help.
(landing)/landing page related pages
(site)/ main web app pages
how do I map everything accessed in domain/(site route group) to instead be app.domain.com
I am happy to not use route groups if that just complicates things but I thought it may help.
2 Replies
@oz I am using nextjs 14 and I have route groups so my structure is:
(landing)/landing page related pages
(site)/ main web app pages
how do I map everything accessed in domain/(site route group) to instead be app.domain.com
I am happy to not use route groups if that just complicates things but I thought it may help.
You mean rewriting the request?
User visits https://example.com/hello/world and the content from https://example.com/user will be displayed? (example)
User visits https://example.com/hello/world and the content from https://example.com/user will be displayed? (example)
@oz ?