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'm going into a friend's storefront to upload a javascript display on their computers. They said they have installed Windows IIS, which is because you need a webserver for javascript to read "local" files.

The problem is that I have never used IIS and will need to locate the http://localhost or root directory. Is it usually in C drive? Is windows IIS usually installed in a particular directory?

share|improve this question
1  
"They said they have installed Windows IIS, which is because you need a webserver for javascript to read "local" files" - what? –  TristanK Jun 17 '11 at 1:02
    
javascript cannot read local files –  Adam Jun 20 '11 at 22:12
add comment

2 Answers 2

up vote 7 down vote accepted

Usually:

c:\Inetpub\wwwroot

Which version of Windows are you using? You can verify this location by looking in the IIS manager, but these look different in Windows 2003 vs 2008.

share|improve this answer
add comment

The default is usually C:\inetpub\wwwroot. If you want to know definitively load up the IIS MMC (Start > Control Panel > Administrative Tools > Internet Information Services) and open up the Sites tab. Find the "Default Web Site" (which is probably the correct one for your purposes) and right click and select Explore. That should open the directory for you. If not, try drilling into Properties.

share|improve this answer
add comment

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.