4
6 Comments

Dynamic subdomains for a bubble app using a Google domain?

Dear all,

I'm a bit lost..

I build a SaaS platform using Bubble.io, and I've a domain name registered at Google, let's say mysaas.io

Using bubble, each client is redirected to his own page using the following url : mysaas.io/client1 (for client1 client)

It seems I should be able to set up subdomains using Netlify or Vercel such as client1.mysaas.io, but to be honest, I don't succeed in getting relevant info on how/what to do to get such subdomains ..

From the Bubble side, if I can set these subdomains, it won't be an issue to retrieve the client name (aka "client1", aka the client's slug) and retrieve the relevant client data.

Have you already face such challenge for your own need? (maybe not using bubble :) )

Many thanks!

on January 14, 2021
  1. 1

    I have the same problem, how did you solve it?

  2. 1

    Hi Christophe, Were you able to find a solution for the problem? I am trying to figure the Sub-Domains for my website as well.

  3. 1

    You can use my plugin to fetch the subdomain from your portal and display the correct content for your user. You will need to add the subdomains in your DNS.

    https://docs.nocodeventure.com/parser

    https://bubble.io/plugin/parse-domain-or-email-1609522948912x286312264281358340

    1. 1

      Thanks @codeables, this plugin is a bit expensive for my use, at least at the beginning. I'll just need a regex to extract the subdomain at page load. But thanks for your proposal, I know your plug-ins are of quality.

      1. 1

        I have the same problem, how did you solve it?

        1. 1

          I wasn't able to manage domains, subdomains and login correctly, so I migrated my bubble app to another app builder. I guess Bubble is still missing some essential features.