Results 1 to 4 of 4

Thread: redirecting websites virtual directories using IIS 6.0

  1. #1
    Join Date
    Jun 2009
    Posts
    4,586

    redirecting websites virtual directories using IIS 6.0

    HI,, i need some urgent help from you all guys. I am running a website in which have created 2 Virtual directories. Also IIS 6.0 is running on the server.For some reason i have moved the page of my site and now what i want is that the browsers can find the page at the new URL without any issue. Is that possible ? Please make me know how to redirect websites virtual directories using Internet Information Services 6.0 ?

  2. #2
    Join Date
    Apr 2008
    Posts
    2,276

    Re: redirecting websites virtual directories using IIS 6.0

    You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. As a security best practice, log on to your computer by using an account that is not in the Administrators group, and then use the runas command to run IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".
    • To redirect requests to another Web site or directory, just go through this steps:-

    • In IIS Manager, expand the local computer, right-click the Web site or directory you want to redirect, and click Properties.

    • Click the Home Directory, Virtual Directory, or Directory tab.

    • Under The content for this source should come from, click A redirection to a URL.

    • In the Redirect to box, type the URL of the destination directory or Web site. For example, to redirect all requests for files in the Catalog directory to the NewCatalog directory, type /NewCatalog.

  3. #3
    Join Date
    May 2008
    Posts
    2,792

    Re: redirecting websites virtual directories using IIS 6.0

    To make sure that browsers can find the page at the new URL, you can instruct the Web server to redirect the browser to the new URL.You can redirect requests for files in one directory to a different directory, to a different Web site, or to another file in a different directory. When the browser requests the file at the original URL, the Web server instructs the browser to request the page by using the new URL.To redirect all requests to a single file:-

    1. In IIS Manager, expand the local computer, right-click the Web site or directory you want to redirect, and click Properties.
    2. Click the Home Directory, Virtual Directory, or Directory tab.
    3. Under The content for this source should come from, click A redirection to a URL.
    4. In the Redirect to box, type the URL of the destination file.
    5. Select the The exact URL entered above check box to prevent the Web server from appending the original file name to the destination URL.

  4. #4
    Join Date
    Oct 2005
    Posts
    2,358

    Re: redirecting websites virtual directories using IIS 6.0

    You can use wildcards and redirect variables in the destination URL to precisely control how the original URL is translated into the destination URL. Alternatively use the redirect method to redirect all requests for files in a particular directory to a program. Generally, you should pass any parameters from the original URL to the program, which you can do by using redirect variables.

Similar Threads

  1. Replies: 3
    Last Post: 16-07-2011, 03:03 AM
  2. Trojan Downloader is redirecting to unwanted websites
    By Mythrie in forum Networking & Security
    Replies: 5
    Last Post: 21-04-2011, 10:37 AM
  3. Replies: 2
    Last Post: 02-06-2009, 10:53 PM
  4. How to Create and Configure Virtual Directories in IIS 7.0
    By StudyBoy in forum Software Development
    Replies: 3
    Last Post: 14-04-2009, 11:54 AM
  5. migrate Hyper-V virtual machine to virtual server/virtual PC 2007
    By Larry Scott in forum Windows Server Help
    Replies: 1
    Last Post: 18-03-2008, 03:32 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,843,836.70357 seconds with 16 queries