force browser to show the url not the IP?

Hi,

i have a web app that is on a customers VPS. it runs ok, bit when the visitor types in the url,
it changes in the browsers address bar to be the IP address of the server.

is this controlled in xojo or in apache?

anyone know how to display the URL?

[quote=160609:@Russ Lunn]Hi,

i have a web app that is on a customers VPS. it runs ok, bit when the visitor types in the url,
it changes in the browsers address bar to be the IP address of the server.

is this controlled in xojo or in apache?

anyone know how to display the URL?[/quote]

It is probably the setting you adopted to reroute the user from the root of the web space to the particular URL of your app, would that be cgi-bin or somewhere else where your standalone app resides. It is usually an Apache setting, if you did not use a customized index.html file with Refresh.

You may want to use a full screen iframe as index.html in the root folder of your site, so it shows the site URL in the address bar, while displaying your app.

See w3lessons.com is for sale | HugeDomains

Make sure to set App.Security to WebAppSecurityOptions.FrameOptions.SameOrigin in the open event of your app so it displays correctly in the iframe.

See http://documentation.xojo.com/index.php/WebApplication.Security

Thanks Michel

it worked perfectly.