Computer Tips and Tricks
Get the latest posts via rss
Showing posts with label URL Redirection. Show all posts
Showing posts with label URL Redirection. Show all posts

Wednesday, 9 December 2009

Windows Server 2008 IIS7 HTTP Redirection

In IIS6 to redirect a virtual directory within a website to another URL, local or remote, was a nice and simple process. It was just a case of right clicking on the virtual directory, selecting properties and on the Directory Tab selecting “A Redirection to a URL” and entering the required address.

With the introduction of IIS7 in Windows Server 2008 this was published as an improved feature. So when asked to move a virtual directory, and forward all requests to the original address to the new URL I presumed this would be just as straight forward.

So first things first, HTTP Redirection is not included in the standard IIS7 setup, when you add it as a Role. So to start with using Server manager, add the Role Service to IIS (I will presume you know how to do this).