Sys‐260, IIS Install and Configuration - ConnorEast/Tech-Journal GitHub Wiki
Installing IIS on windows
- Go to the the windows run box. Type "appwiz.cpl" hit enter.
- Turn on **"Turn windows features on or off". **
- Scroll down and click the radio box next to "internet information services." and hit ok.
- Once the download has completed, type "iis" into the windows search bar and select "internet information services (IIS) Manager".
- 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.
Adding a website to IIS
- Return to the IIS Manager.
- Click view sites on the left hand side of the screen.
- Right click on the Sites directory and select "New Site".
- Name your server and give it a file location as seen in the image below. and hit "OK".
- Accept the defaults for the Bindings to have the server run on port 80.
- Check "Start Website Immediately" and click OK.
- Accept warning for duplicate binding - this means that our new site will be used instead of the default site.
- From IIS Manager - Highlight Default Website and click "Stop" Finally click "Start" on "New website".
Configure Anonymous Authentication:
- Select ConnorsSite and click Authentication.
- On the new page click "Anonymous Authentication" and hit "edit...".
- 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.
- Double click Default Document: then Add - Enter sec260.html
- Move sec260.html to the top of the list
- Click on your website in the Connections pane - and then Restart under Manage Website
- 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
Capture 2: Screenshot of your page in a browser
VI. Lab Questions:
- What is the default user account that runs IIS?
- The user account is "IUSR_(MachineName)"
- Where is the path of the default location for websites with IIS?
- The default root for IIS is "\Inetpub\Wwwroot directory"
- What is the default path for web server logs?
- The default location for logs is "%SystemDrive%\inetpub\logs\LogFiles"