-
i have created a web server which is accesible from a web page that redirs to the address like http://456.45.5.566/ and i want to put a jscript in the page that sets the address bar to a different url to hide the ip in the address bar.
Is it possible ?
-
Nope. I've often wondered this myself, but there just isn't a scripting statment to do this yet. I expect it's because it'd be a bit misleading if you see what I mean.
Still - there's always an URL frame. You could make get a free [url]http://welcome.to/blah[url] redirecting service from http://welcome.to/. Just a thought.
-
You can sort of do this but you would need to have a hosted site that provides only minimal services with your domain name.
Create a frameset with one frame at 1 pixel, with a blank page in it. In the page displayed in the main section of the frameset, put script that redirects to the new location:
Code:
<SCRIPT language=Javascript>
location.href="http://456.45.456.4"
</SCRIPT>
The url in the address bar will not change from your domain.
This is usefull if your webhost does not provide ASP/database services or charges alot for them.