Sub-domains for multiple parts of an application or subdirectories?

We are developing an app that should have multiple entry points:

I would be very happy for any pointers into the right direction how I should set this up.

Alternatively, I could also go with https://www.mydomain.com/internal, https://www.mydomain.com/rechner, etc if that is easier to set up. In this case, the directories internal, rechner etc. should point to the bubble application, and everything else should be handled by wordpress.

Thanks a bunch!

You have two good options, but the easiest and cleanest one is to use subdomains, like:

  • rechner.mydomain.com → for public access
  • internal.mydomain.com → for staff (login required)
  • clientportal.mydomain.com → for clients (login via magic link)

You can follow these steps:

  1. Host your Bubble app on something like app.mydomain.com.
  2. Set up subdomains (like rechner.mydomain.com) in your domain settings and point them to the Bubble app.
  3. Use simple tools (like Cloudflare) to redirect each subdomain to the right page in Bubble (e.g. /rechner, /internal, etc.).
  4. In Bubble, control who can access each page.

Thanks a lot for the answer!

I just checked the subdomains, and in order to use them, I have to upgrade my subscription to “Team”, which at 399,-- per month is a pretty steep cost.

How would I go about with just using path-specific routing, i.e. www.mydomain.com/rechner points to a bubble service, etc.?