Windows – Where is the default web root folder in Windows 7

webserverwindows 7

I want to put a simple HTML page for anyone accessing my IP address via browser. I haven't installed any third-party web server (like XAMPP) and IIS is not installed either, but pointing my web browser to http://localhost/ gives no error, but a blank page.

Still, I cannot find where the webroot folder is. Putting index.html in Users\Public\Public Documents does not work.

Best Answer

When the browser opens localhost page, right click on it and choose "View Page Source". Find several file names, like favicon.ico, other images and folders that are referenced there. Then search for these files and folders on your computer.

For ASP.Net, the root folder was the folder of the ASP.Net sample application that I've wrote, not on the system drive. So, Check all computer drives.