Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So since IIS only allows me to install applications (in this instance, wordpress) as containers under the parent of a Web Site, I need to redirect all the root URL requests sent to my domain, to the application's container.

Example: Request to should go to the application wordpress.

IIS Tree Looks as such:

Mywebsite (IIS web site)
-- wordpress (Application)

Is there a way to do this that is transparent to the user? I don't want to transform the URL into - I want it to remain

When a user hits it should not transform the url in the user's browser - but the user should be hitting the wordpress application in IIS,=.

Another way to put this may be better stated as - is there a way to setup a web binding for an application specifically?

I have tried using HTTP Redirect and URL Rewrite but have been unsucessful in getting the results I desire.

(This is on a Win Server 2008R2 box with IIS7.5)

share|improve this question
up vote 1 down vote accepted

It sounds like you need to make the app be in the root of the site. So create a new directory outside of the inetput folder say C:\myweb.

In C:\myweb add your wordpres application Open up the IIS management console and add a new website called and point the root of the web to C:\myweb.

You can then use host headers to make it so www and any other subdoamin point to the same website in IIS.

share|improve this answer
When installing Wordpress via the IIS gallery, I had to leave the virtual directory path empty so that it would install to at the site level. – Sangheili Jul 1 '10 at 22:12
Good to know that is possible to do if I ever want to check out Wordpress in a subdomain, or if I have a client that does. – Tim Meers Jul 2 '10 at 19:21
Great and to the point answer! If I could I'd give you 1000 upvotes... :D – Leniel Macaferi Feb 15 '13 at 17:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.