Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 833319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:29:59+00:00 2026-05-15T04:29:59+00:00

How would I redirect requests to a URL like http://www.mydomain.com/foo.aspx to another URL like

  • 0

How would I redirect requests to a URL like

http://www.mydomain.com/foo.aspx

to another URL like

http://www.mydomain.com/bar.aspx

in IIS.

Can this be done in IIS 6.0 or 7.0?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T04:30:00+00:00Added an answer on May 15, 2026 at 4:30 am

    There are actually a few ways you can do it

    1) Response.Redirect
    2) Server.Transfer (though it will still appear as “foo.aspx”
    3) Use URL Rewriting to redirect the user before it gets to ASP.NET

    All can be done on both IIS6 and 7, although IIS6 would require an ISAPI URL Rewriting module, IIS7 has a module built in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to set up a redirect so that when user requests: http://www.fareham.ac.uk/chequers
I would like to redirect as such... http://old.com/a/b/ -> http://new.com/y/z/ http://old.com/a/b/file.php -> http://new.com/y/z/ http://old.com/a/b/c/file.php
I have an ecommerce site which currently has product URLs like this: http://www.mydomain.com/nike-tshirt/Large http://www.mydomain.com/nike-tshirt/Medium
If you go to a url like the following: http://stackoverflow.com/questions/9155602/ the address bar will
I would like to redirect my user to another domain. For example: my site
I have 2 domains .com and .net. I would like to redirect the .net
I want to redirect all www.domain.com requests to domain.com with PHP, basically: if (substr($_SERVER['SERVER_NAME'],
For local testing the url is something like: http://localhost:29234/default.aspx For staging, the app is
I would like to redirect visitors to a login page with added parameters (based
I would like to redirect all images to a showimage.php, using htaccess But if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.