I have an ASP
application with URL: http://exampleAsp.com
and an ASP.NET
application with URL: http://exampleAspDotNet.com
Suppose ASP application is in WEBSERVER1(ip:192.168.40.130) and ASP.NET application is in WEBSERVER2((ip:192.168.36.145) .
I need to interchange the URL for both the applications, i.e.
opens the ASP.NET application , and
opens the ASP application.
I am using alias value for the ASP.NET application.
HostHeaderName = http://exampleAspDotNet.com
In the ASP application, the URL is hardcoded since we check certain conditions on that URL.
Hence the Sites are not working when we interchange the IP address.
My Question is...
Do I need to change the Alias name of the ASP.NET application so that I can open the ASP.NET application by the URL http://exampleAsp.com
Do I need to make code changes in the ASP application where the condition for the URL http://exampleAsp.com is checked ??
Thanks in Advance !!