I am trying to get a subdomain to forward to a specific part of my site. For example: I want “FOH.boop.com” to forward to “boop.com/main/foh” I have currently Google Domains, I would be willing to switch domain providers if necessary.
I tried contacting Google Domain services as well as Bubble support. Neither of them were able to help and it was suggested that I try here.
You can not do this with DNS like Google domains. DNS is used to map domain names to IP addresses. It can not resolve a domain to a specific URI. Rather just the host sites.
Which means you have to do it on the server side. Now since we are limited on how much of the server we can control with bubble we can’t do this with Apache scripts or even the .htaccess file.
So you’ve got to get creative. I’m not 100% sure this will work but it would be where I would start.
You may need to try a few different redirect methods as I’m not sure if document.referrer will catch it on a normal redirect or 301 or if any. But it’s a start.