Web 2 verse web 1 Beta

In web 1:
When I deploy a beta the url shows -Beta
When doing the final it drops the -Beta

In web 2 it doesn’t behave like this, there is no -Beta.

How do you run a beta on the cloud with out overwriting the Final live app?

Is this a Xojo Cloud specific question? @Jason_Parsley might be able to help.

The app still gets the alpha/beta suffixes, but they don’t show in the URLs because of the load balancer (the old way was http://8.9.10.11/My-Application-Dev/) If you want to change the url based on the stagecode, you can add a pre-build script to do that.

Select Case PropertyValue("App.StageCode")
Case "0"
  XojoCloudDomain = "myapp-dev.example.com"
Case "1"
  XojoCloudDomain = "myapp-alpha.example.com"
Case "2"
  XojoCloudDomain = "myapp-beta.example.com"
Case "3"
  XojoCloudDomain = "myapp.example.com"
End Select

For that to work, the domain needs to point at the app. This is not compatible with the xojocloud.net domain that we offer.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.