i have a web page at work i have to move from the server it is on to another server. the webpage was written in asp. i know NOTHING about web development and coding in anything, but i have been around long enough to have picked up some things.
when i copied the directory that has the website's files to the other server ( both servers are windows server 2003 with IIS6 ) and set it up in IIS, if i open the IIS manager and browse default.asp, the webpage opens but i think it direct me to the old server - which i need to keep up until i transfer the site to the new server. if i try to open the webpage on a computer on the same network as the new server, i open ie on the computer and in the address bar i type in
http://ipaddress of new server
i get re-directed to a completely different ip address that isn't on my network and the page can't be found. i found in the files on the website another file called default.aspx, and it has
<%@ Page Language = "C#" %>
<%
Response.Redirect("
http://198.170.242.235/home/");
%>
which is where i get redirected to, so i assume that when i type
http://ipaddress of new server
something in the bowels of the asp code tells the browser to redirect to the above address.
i tried simply putting my new server's address in
Response.Redirect("
http://address of new server
but then it seems to cause a loop that the server has a hard time breaking out of.
so is there a typical or default place that asp has to "tell" the browser to redirect?
if so, does it make sense that i could tell asp to stop redirecting?
if that is so, how could i have asp stop redirecting? please keep in mind i know NOTHING about coding in asp,
And the redirect is redirecting to the other IP address.
Change it to the IP address of the server that is NEW, and then test
Carrzkiss