subdomains for admin interface for remix apps?
Unanswered
Chum salmon posted this in #help-forum
Chum salmonOP
I have two apps id like to consolidate within the same domain. a public facing website (mycompany.com) and the admin interface (mycompany.com/admin or admin.mycompany.com). both are remix apps. does anyone have any experience or know if its possible to have these apps scoped to the same project and configured such that they're accessible via the routes mentioned above?
11 Replies
well, it depends on where you are deploying it
there should be docs for service you're using
Chum salmonOP
nothing particularly helpful that i could find. was hoping there was a way i could point certain routes to 'sub projects' within a vercel account. most of the docs ive found are all, naturally, within the scope of a nextjs app, not remix
if you are deploying on vercel
if you added custom domain
deploy projects seperately
and just add subdomain in the domains list in the project on vercel dashboard
Chum salmonOP
@averydelusionalperson ahh ok i see, i was under the impression the domains page were all essentially aliases and redirects for the apex domain. so from this section, i assume i would be setting a redirect to the other project?
you have two projects.
client -> domains -> website.com
admin -> domains -> admin.website.com
this is how you do in vercel dashboard, used to work for me.
client -> domains -> website.com
admin -> domains -> admin.website.com
this is how you do in vercel dashboard, used to work for me.
idk how it works honestly 🤷♂️
but it works