Web server directories and URLs

When IIS is installed, it creates a directory for the default Web site on that machine. The default directory is:
   c:\inetpub\wwwroot\
The URL of your default Web site is simply: http://<server domain name>/ or http://<server IP address>/ If you are a Web developer, you will test your site using the server on your own machine: http://localhost/ Your Web site may have a number of sub-directories. For example, if you have a sub-directory called som on your development machine: c:\inetpub\wwwroot\som\ it's URL would be: http://localhost/som/ You can also create a virtual Web site which points to a sub-directory, but has a different name and perhaps different properties than the real Web site for that sub-directory. For example, the URL: http://localhost/hoho/ refers to a virtual site called hoho even though there is not a directory called c:\inetpub\wwwroot\hoho\ on my computer.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.