Click here to Skip to main content
13,086,264 members (58,607 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I have an ASP application with URL: and an ASP.NET application with URL:

Suppose ASP application is in WEBSERVER1(ip: and ASP.NET application is in WEBSERVER2((ip: .

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 =[^]

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...
1. 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[^]

2. Do I need to make code changes in the ASP application where the condition for the URL is checked ??

Thanks in Advance !!
Posted 5-Oct-12 3:13am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 5 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100