Add custom sub-domain or apex domains to your bubble app. Provide white labelling to customers and more.
Building a Saas application on bubble and want to offer custom domains to your users? With the Multi-Tenant Domain Plugin this is as easy as one Workflow Action.
Simply ask your user for their domain, add the workflow action “Multi-Tenant Domain - Create New Domain” to your workflow and specify the user input domain & user bubble app name, then save the returned “Domain Id” to the users account so you can delete later if needed. Then simply show the return DNS comment for the user to update their DNS settings. That’s it!
3 simple steps:
Add the plugin to your bubble application.
Set “Your bubble app” to your bubble apps app name. eg, multi-tenant-domain-demo (without .bubbleapps.io). Set the new domain to the domain your user provided.
Save the returned site_id to a field for the current user. You’ll need this to update & delete later. Display the dns_setting_comment to your user for them to update their dns records.
***Ensure you store the returned “Domain Id” on creation. You will require this to delete the domain at a later date if needed.
***To update a users custom domain, just delete their existing and then create a new one.
***Go to Settings - Domain/Email & disable “Redirected all requests to the domain…” ONLY IF CUSTOM DOMAIN IS ENABLED.
Sorry, I am still not quite sure if this plugin solves two of my major concern. Does this plugin allow you to be able to push updates to the white labelled apps? And I guess the white labelled apps have a seperate database since they are seperate apps, right?
I can’t seem to get this plugin to work. I have a custom url and curious if I should use my custom url or my bubble.io url for setting up the workflow. Also do I add the /page to the url like (customurl.com/page/userslug) or (bubblename/page/userslug) ? The directions are a little vague on this, with no examples of the workflows on how to format page and user separations.
I’ve tried various combinations of app URL and requested domains. Even matching them except for the domain part. I still get the same error.
You don’t specify saving the result in a new table or attaching it to the customer’s record so I attached it to the listing’s record using the result of step 1. What I don’t see is “Domain Id”. Is that coming from somewhere else or as part of the result of step 1 (being the create new domain)?
Can you please let me know what I am doing wrong?
Thank you!