#subdomains for admin interface for remix apps?

12 messages · Page 1 of 1 (latest)

delicate perch
#

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?

rocky hillBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

radiant wigeon
#

well, it depends on where you are deploying it

#

there should be docs for service you're using

delicate perch
#

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

radiant wigeon
#

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

delicate perch
#

@radiant wigeon 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?

radiant wigeon
#

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.

#

idk how it works honestly 🤷‍♂️