Web server administration

  1. Change your Web server to listen on port 8080 instead of the default port 80.
    Change the TCP Port from 80 to 8080 on the Web Site tab of your default Web site property list. Test the change by pointing your browser to http://localhost:8080/. Change back to the default port, 80, and test again by pointing your browser to http://localhost/.
  2. Change the default home page from index.htm to hoho.htm.
    Place hoho.htm at the top of the list of default home page names on the Documents tab of the Web site property sheet. Test the change by creating a test page called hoho.htm and place it in the root directory of your Web site. Point your browser to http://localhost/ and you should see hoho.htm.
  3. Change your default Web site from inetpub\wwwroot to inetpub\newroot.
    On the Home Directory tab of the Web site property sheet, change the Local Path to c:\inetpub\newroot. Test your result by creating the c:\inetpub\newroot and placing a test home page in it. Point your browser to http://localhost/ and the new home page should appear.
  4. Change your log files to the Microsoft IIS Log File format.
    Change the Active Log Format on the Web Site tab of the property sheet. Test your change by browsing a few Web sites then examining the log file. (You can find the location of the log file by clicking on the Properties button on the Web Site property sheet). Print out the last few entries of the log file and turn them in.
  5. Create a virtual Web site called assignments that refers to your assignment directory.
    Select the Default Web Site in the CMC window and use the Action > New > Virtual Directory command to launch the wizard to create the virtual directory. Give your new virtual site the name assignments and associate it with your assignment directory. Test your result by pointing your browser to http://localhost/assignments/.
  6. Change the error message your server returns when a missing page is requested.
    Check the entries on the Custom Errors tab on your Web site's property sheet and change the message that is returned on a page not found (404) error as shown here. Test the change by attempting to retrieve a nonexistent file and print the resulting error message.
  7. Enable directory browsing when no default home page is found.
    Enable Directory Browsing on the Home Directory tab of the Web Site property sheet. Test the change by temporarily renaming your index.htm file to indexxx.htm and pointing your browser at http://localhost/.

Turn in screen shots of the tests of each of your changes along with the listing of the last few entries of your log file (number 4 above).


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.