Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I migrated an ASP application to an ASP.NET application. I need to redirect the ASP application to the migrated ASP.NET version.

Suppose the ASP site is "http://example1_asp.com" and the migrated ASP.NET site is "http://example_aspdotnet.com"

When a user types the asp URL, i.e. "http://example1_asp.com", the user should be redirected to the ASP.NET URL "http://example_aspdotnet.com"



What change do I need to make in the IIS so that I can redirect the ASP application to the ASP.net application and also the ASP application can be stopped.


Thanks in Advance !!! :)
Posted

1 solution

1. Open IIS Manager
2. Expand the server hosting the site
3. Click on the ASP.NET site you want to 'redirect' to
4. Click on 'Bindings...' on the right
5. Click 'Add...'
6. Leave Type at http, IP Address to All Assigned, Port to 80
7. Change 'Host name' to the old ASP web address
8. Click Ok

That should do it. Basically what you are doing here is making the new site accept both the new and old site names. You can safely turn off the ASP site once this is done. You actually may even have to stop the ASP site before you can do this.
 
Share this answer
 
Comments
MikeRox89 12-Sep-12 4:56am    
Thanks For the Solution !!! :)

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900