Domain Information

Apologies if this is obvious but I am not a web designer
I have built an app that is white listed, in that same app is used by different companies.
Currently is referenced by a single domain. If I was to setup more domains, is it possible within Bubble to know what domain the user originated from.
Example: I own the following domains:

domaina.com

domainc.com

All 3 point at my site. By knowing where it had come from I can make small changes like altering colours or brand images? How do I know which site the user came from?
Can it be done?

Hi @long.frodo :wave:

When you redirect them from domainA.com to your app.com, redirect them to app.com/?source=a. And in your App you just need to read the URL parameter “source” to identify where they are coming from.

Redirect domainA.com to app.com/?source=a
Redirect domainB.com to app.com/?source=b
Redirect domainC.com to app.com/?source=c

Make sense?

1 Like