Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Windows Server 2k8 machine that I am trying to host some vanilla html pages on under the default website as a virtual directory. When I try to view the page, no html is returned. I have an application under the default website and that renders the aspx pages in it fine.

Placing an aspx file in the virtual directory works, but plain HTML does not.

Any ideas what the problem is?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You need to enable the static content role service, see this article about installing IIS7:

alt text

share|improve this answer

Your Answer

 
discard

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.