Sys‐260, IIS Install and Configuration - ConnorEast/Tech-Journal GitHub Wiki

Installing IIS on windows

  1. Go to the the windows run box. Type "appwiz.cpl" hit enter.
  2. Turn on **"Turn windows features on or off". **
  3. Scroll down and click the radio box next to "internet information services." and hit ok.
  4. Once the download has completed, type "iis" into the windows search bar and select "internet information services (IIS) Manager".
    image
  5. On this page click "Restart" and then open a tab and navigate to your IP address. If you can't access the internet see my troubleshooting page for help.
    image

Adding a website to IIS

  1. Return to the IIS Manager.
  2. Click view sites on the left hand side of the screen.
  3. Right click on the Sites directory and select "New Site".
  4. Name your server and give it a file location as seen in the image below. and hit "OK".
    image
  5. Accept the defaults for the Bindings to have the server run on port 80.
  6. Check "Start Website Immediately" and click OK.
  7. Accept warning for duplicate binding - this means that our new site will be used instead of the default site.
  8. From IIS Manager - Highlight Default Website and click "Stop" Finally click "Start" on "New website".

Configure Anonymous Authentication:

  1. Select ConnorsSite and click Authentication. image
  2. On the new page click "Anonymous Authentication" and hit "edit...".
  3. On the new tab select "Application pool identity". and hit ok.

Setting up a website.

For this section just create a basic HTML document and move it into your file location. For me this was c:\inetpub\SEC260Site. From there do the following steps.

  1. Double click Default Document: then Add - Enter sec260.html
  2. Move sec260.html to the top of the list
  3. Click on your website in the Connections pane - and then Restart under Manage Website
  4. Reload your page from a browser - you should see your text from the sec260.html file

Capture 1: Screenshot of IIS Server Manager with your website created

image

Capture 2: Screenshot of your page in a browser

image

VI. Lab Questions:

  1. What is the default user account that runs IIS?
  • The user account is "IUSR_(MachineName)"
  1. Where is the path of the default location for websites with IIS?
  • The default root for IIS is "\Inetpub\Wwwroot directory"
  1. What is the default path for web server logs?
  • The default location for logs is "%SystemDrive%\inetpub\logs\LogFiles"