zone97
09-02-2004, 12:28 PM
I have 2 urls..
blah.servehttp.com <- points to an IP that is the server.
blah.com <- points to blah.servehttp.com
i want to set it so that if anyone goes to http://blah.servehttp.com the address bar will display http://blah.com
can this be done with javascript?
i do not want to use frames or iframes.
BTW: Im doing this so people remeber the blah.com address and not the blah.servehttp.com address.. Why? because its on a dynamic ip and a machine that can go down from time to time. I have a script running on the blah.com machine (perminate hosting) which check the temp machine for availablity, then if its there redirects. if not displays an offline page.. anyway.. hope you guys can help.. thanks
blah.servehttp.com <- points to an IP that is the server.
blah.com <- points to blah.servehttp.com
i want to set it so that if anyone goes to http://blah.servehttp.com the address bar will display http://blah.com
can this be done with javascript?
i do not want to use frames or iframes.
BTW: Im doing this so people remeber the blah.com address and not the blah.servehttp.com address.. Why? because its on a dynamic ip and a machine that can go down from time to time. I have a script running on the blah.com machine (perminate hosting) which check the temp machine for availablity, then if its there redirects. if not displays an offline page.. anyway.. hope you guys can help.. thanks