I want to redirect all requests for one web site to another web site on my server. I am running IIS 6.0 on Windows Server 2003. Right now I have just posted a default.asp page in the root directory for the incoming requests that redirects to a "www" page elsewhere on the same server. Will that work? Do I have to do anything to the host file?
Example: say a request comes in for www.domain1.com
but I want that request to be redirected to www.domain2.com
on the same server. Will what I said above do that if I just put (in the default.asp page in the domain1.com root directory)
I can't try it myself because this is the result of a change that I am waiting for dns servers to propagate.