Hello world!
I am struggling about using my domain to host my app.
right now, my domain is hosting my Website, so i Would like to host my app as :
www.mydomain.com/myappname, but I dont know how to this.
I want to keep the url www.mydomain.com as my site url, and when uses/myappname it direct to the app, it will show like www.mydomain.com/myappname/index.
Anyone can help me?
HI you can create /appname in your bubbleapp and than you can on page load from index go to that page . By default your domain is pointed to appname.bubbleapps.io
hence you need to make chance to your bubbleapp
I dont know if I get it.
If I do this, once some one go to my domain, like www.mywebsiteurl.com, it will be send to my app? I wish i can keep my website and current pages at the sample url, just add this / aftter my website url to access my app.
I am new using bubble, sorry if this is a stupid question
Redirect:
On your current website:
Create a directory in your public folder (where your website index file lives) named “myappname” and within that folder, put a file named index.html.
Within the index.html page you paste in the following:
https://pastebin.com/4pbYiSgK
Replace myapp with the name of your app.
Subdomain:
You can set up DNS records on your current website so you get myapp.mydomain.com. Follow instructions in Bubble documentation for domain setup.
That should work.
Here is the content on pastebin.com (could not make it work in my first post):
<!DOCTYPE html>
<html>
<body>
<script>
window.location.replace("https://myapp.bubbleapps.io");
</script>
</body>
</html>
This topic was automatically closed after 70 days. New replies are no longer allowed.