Professional Documents
Culture Documents
9325B
1:00-2:30 W.S.
I. Introduction..................................................................................................................1
What is IIS?............................................................................................................1
What is IIS?
1. Open Control Panel by clicking the start button and type Control
Panel then open it.
1
4. Find the Internet Information Services in the Windows Features
dialogue. Click the + icon in front of it to expand all available options under
it. You can find FTP Server, Web Management Tools and World Wide Web
Services.
6. To check if have already enabled IIS click on start and type Internet
Information Services and launch the application.
2
III. Virtual Hosts
A. Setup
1. To add a new website, click your pc name then right click the folder named site then
click the add website.
2. A window pane will pop-up and you are required to fill up all the necessary
information for you to add your site.
3
3. As you notice your website is already added and to make it work and functional you
need to configure it. Make sure that you enable the directory browsing.
4
4. Then the index.html must be the first on the list to improve its performance.
5. Edit the host file of the host machine and put there the ip address and the domain
name of your website.
5
7. If the set-up is successful, your website must run correctly.
B. Compression
Configure the virtual hosts to enable serving up compressed content to clients that
are able to handle the compressed encoding. Limit the compression to HTML and
CSS files only.
4. Then enable the performance feature which you can find the content
compression features.
6
5. Go back to the IIS manager. Select and double click the compression icon.
And enable the content compression.
7
C. Cache
Configure the virtual hosts to enable clients to cache PNG, JPG, and GIF files for
up to 24 hours from the time they are accessed.
1. Go to the IIS manager. Select and double click the output caching icon.
Then add some cache rules.
2. Edit the cache rule by placing the file name extension and its parameters.
Then click OK to apply.
8
D. Content Negotiation
9
2. Inside the folder, create two files: content.html and content.txt
10
5. Then add rules
11
9. Go back again to URL Rewrite the add rules, then type the following:
“webtech2.negotiate.org/language.html.en”
12
E. Site Access
1.Create a virtual host mapped to the domain name webtech2.access.org.
2. Search feature from the start menu and open “Turn Windows features on or off” as
presented below. Under “Internet Information Services” > ”World Wide Web Services” >
“Security” > choode “Basic Authentication” and “Request Filtering” then click OK.
3. On the IIS Manager, select “Authentication” and enable “Basic Authentication”. Click
“Edit...” from the Actions pane. Type “.edu” or “.org” on the Default domain section and
click “OK” when done.
13
4. On authentication, edit the basic authentication settings and add the default domains.
14
8. Copy the configuration below when editing the allow authorization rule
15
G. SSL
1. We open our IIS Manager, then we click our server on the left pane and open Server
Certificates.
3. Click Next
16
4. Input a file name
17