Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP ASP.NET IIS7.5
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 !!! Smile | :)
Posted 5-Sep-12 20:31pm

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
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 505
1 Gihan Liyanage 272
2 vikinghunter 176
3 ClimerChinna 172
4 Richard MacCutchan 150
0 Sergey Alexandrovich Kryukov 8,653
1 OriginalGriff 7,132
2 CPallini 2,598
3 Richard MacCutchan 2,060
4 Abhinav S 1,808


Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 6 Sep 2012
Copyright © CodeProject, 1999-2014
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