Iis – Windows Server 2008 IIS

iiswindows-server-2008

I'm trying to do a really simple task – setup a virtual directory in Windows Server 2008. This is what I am doing but it's not working for some reason:

  • Open IIS 7
  • Create a new virtual directory in Default Web Site and point it to a folder on d:\ drive
  • Browse to folder on d:\ drive and create an .htm file with some test text in it
  • Open a browser and navigate to http://localhost/TestSite/index.htm

But I get a 404 – what gives?

Edit:I didn't mention at first that this is Server 2008 R2

Best Answer

Did you set up correct permissions on the folder ?

IUSR and/or IIS_IUSRS should have at least read permissions.

Related Topic