Click here to Skip to main content
11,484,162 members (72,716 online)
Rate this: bad
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 !!! Smile | :)
Posted 5-Sep-12 21: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 at 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
0 Sergey Alexandrovich Kryukov 185
1 Frankie-C 155
2 Raje_ 155
3 OriginalGriff 147
4 CPallini 110
0 Sergey Alexandrovich Kryukov 8,484
1 OriginalGriff 7,948
2 Sascha Lefèvre 3,189
3 Maciej Los 2,601
4 Richard Deeming 2,370

Advertise | Privacy | Mobile
Web04 | 2.8.150520.1 | Last Updated 6 Sep 2012
Copyright © CodeProject, 1999-2015
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