April 16, 2002 - Viewing Pages on the IIS Server | WebReference

April 16, 2002 - Viewing Pages on the IIS Server

Yehuda Shiran April 16, 2002
Viewing Pages on the IIS Server
Tips: April 2002

Yehuda Shiran, Ph.D.
Doc JavaScript

By default, the IIS server is installed in C:\\Intepub\wwwroot. To browse documents on your server, you need to set your URL to https://localhost. Suppose you want to publish a new document, mydoc.html, on your server. You save it as C:\\Intepub\wwwroot\mydoc.html, and set your browser URL to https://localhost/mydoc.html. You can create subdirectories as well. For example, you can create a subdirectory C:\\Intepub\wwwroot\myexamples\ and save there a new file called example1.html. To view it, set your browser URL to https://localhost/myexamples/example1.html.

If you have more than one computer at home and they are connected via a network, you can try accessing the IIS server on one computer from the other computer. Suppose the IIS server is installed on a computer called athena, and you are trying to access it from another computer, let's say it is called zeus. Open a browser window on zeus and type the URL https://athena/myexamples/example1.html. The page should load on zeus.

To learn more on JScript .NET, go to Column 107, JScript .NET, Part I: The Mechanics.