Redirecting domain name

Hi Good People,

I have a domain name which I’d like to redirect to a new Xojo Cloud app.

I have read the blog article:-

http://www.xojo.com/blog/en/2014/05/redirect-your-domain-to-a-xojo-cloud-web-app.php

and that is good.

Now I already have two other apps in my Xojo Cloud. Right now they are IP accessed (i.e. through their IP address rather than a URL like www.example.com).

I would like the new Xojo Cloud app to be the target for the domain name. And not the two other apps.

So right now I have
App 1. IP address = http://66.77.88.99/FirstApp
App 2. IP address = http://66.77.88.99/SecondApp

and I will have
App 3. IP address = http://66.77.88.99/ThirdApp

And to access ThirdApp, I want to be able to type in the browser address bar something like
http://www.myapp.com/ThirdApp

How do I arrange this ?

I already have the desired domain name registered (in this spurious case, www.myapp.com).

Regards,
Tony Barry

So you’re saying you don’t want anyone to be able to access

www.myapp.com/FirstApp

But you do want them to be able to type

www.myapp.com/ThirdApp?

Would you be ok with thirdapp.myapp.com instead of www.myapp.com/ThirdApp?

There’s no direct way to deal with this in xojo cloud. Every domain points to everything on the machine.

However, you can control some of this in HandleURL. you should be able to look at the Host header and decide whether or not you want the app to respond.

Could you set myapp.com to point to a subdirectory of your cloud? It’s been a while since I messed with dns settings. But if so, you could use www.myapp.com to point to http://66.77.88.99/ThirdApp or push it one more subdirectory down and use www.myapp.com/ThirdApp, which might be the equivalent of http://66.77.88.99/ThirdApp/ThirdApp

Hi Greg, Tim,

Thank you for the swift response.

I am actually thinking the default method currently employed right now by XC will do me.

The prospective user will have to enter
https://www.myapp.com/ThirdApp
to get to the desired target.

I also appreciate that it now means FirstApp and SecondApp have the equivalent of being hosted on www.myapp.com
but that I can’t really control without a second hosting plan.