Replies: 1 comment 9 replies
-
Hi @lgraubner , would you mind sharing some more details about your explorations? I'm considering using Remix for an app which allows branded subdomains and I'm interested in how you approached it. Is there a difference between the way the app renders on I'm specifically looking to do a subdomain system where
This doesn't seem practical at all client-side. Really feels like some server middleware is in order. Of course Remix does seem to expose plenty of opportunities to modify server behavior. I'm going to explore some more and see... |
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm thinking about building an application which uses one subdomain per user. So for example my app has one main domain, where it shows a simple landingpage, register, login etc. If the app is accessed with a subdomain (which is tied to an user) it should show different content, both public and also a authentication required area.
I made some shallow tests and it seems to work just fine. The authenticated part is the same for every user, just with a subdomain as additional identifier. Routing between domain/subdomains happens only via redirect in loader and not client side.
Are there any downsides I'm missing?
Beta Was this translation helpful? Give feedback.
All reactions