Click here to Skip to main content
12,897,945 members (86,851 online)
Rate this:
Please Sign up or sign in to vote.
See more: ASP ASP.NET IIS7.5

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 "" and the migrated ASP.NET site is ""

When a user types the asp URL, i.e. "", the user should be redirected to the ASP.NET URL ""

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

Thanks in Advance !!! :)
Posted 5-Sep-12 20:31pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
Member 8500269 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)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 6 Sep 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