So I want to provide the following option:
Signup form… do you have a website? Type the address here: __________
Don’t have a website and want to create one? Check this box.
(After box is checked it will show an input for subdomain name)
_______.mymaindomain.tld Please type your name (prepopulated with business names - removing spaces if the name is made of more than one word).
How can I automatically create subdomains like this?
How can I clone the business listing content
2.1. but remove certain data such as sign-up/login (or the header entirely);
2.2. replace some elements from the main/cloned page with some new ones.
Get the custom URL checked if it’s valid, not used by anyone else, or forbidden words) and displayed to the user like: Congrats your BusinessName.mymaindomain.tld is ready.
All this to be made automatically.
Basically, I will be crating a website with the already populated data for that business listing: name, cover photo, logo, etc, but remove booking elements from within and display only elements that would appear on a normal website?
Thank you!
L.E. I guess I can make the page with whatever content I want and assign it to the subdomain. But how to assign it to the domain?
that would be a subdirectory, not a subdomain, and I think you could do this. however…and l’m no expert…but I think that the subdirectory would be indexed as part of your site, and not a standalone site, if that is what you want.
I’m interested to be able to create automatically subdomains at scale. I can see your post is from Oct '17. Meanwhile, do you know if it’s now doable in Bubble?
hey, yes!
I made a tutorial, can’t find it right now lol, will search for it.
L.E.: found it: Create subdomains on bubble app. Yes, it's possible
Use that and you’ll be able to do whatever you want. But keep in mind that you need to host your domain on cPanel (or other hosts with control panels, I made it work on cPanel), point A records to bubble, and use wildcard subdomains.
@Bubble could make the domain management more complexe, as in, with more options.