Subdomains for Multi-Tenant App

I’m trying to build an app with multiple Merchants (which will be the native Bubble “User” type). I was thinking of allowing each Merchant to be able to own/use their own subdomain or custom URL of sorts within my app. This allows each Merchant to have their own pre-set data that auto fills in my pages based on the Merchant site that an internet user visits.

Currently, I go about using the “slugs” for each Merchant/User:
The URLs look a little something like

https://myapp/myPage/merchant1

However, I wish to have something like

https://merchant1.myapp/myPage

This is a subdomain and I was wondering how I can set this up on Bubble to accommodate multiple Users to have their own unique subdomain.

This topic was automatically closed after 70 days. New replies are no longer allowed.