Internet Information Services (Iis)
Internet Information Services (Iis)
Internet Information Services (Iis)
Question 6 : Explain the difference between “classic mode” and “integrated mode” in Application Pool
Question 7 : Name the version of SSL
Question 8 : Explain the function of Public key and Private key encryption
Question 9 : Explain the function of a digital certificate
Question 10 : List the steps for configuring an SSL certificate on a website under IIS6
Question 11 : List 2 modules on IIS7 and their corresponding configuration on IIS6.
Question 12 : Explain the difference between Native and Managed Module.
Question 13 : With the website “megaservice”, provide an error page “service unavailable”.
Question 14 : Explain the mechanism of recycling of Application Pool.
Notes :
1. Go to Server Manager
2. Add roles and features
3. Select IIS
4. Install
5. Open browser and type localhost
Question 2 :
2a) To create a website “megaservice” on IIS
2b) Boot file for the website is index.htm
2c) The site will response on URL “test.megaservice.com” on port 81 (local)
2d) The website logs will be stored in “d:\logs\megaservice\WSC****”
4a) Create a site “mega-clone” by using the files of the website megaservice
1. Close IIS
2. Restore IIS
DOS Command :
Cd\
C:\windows\system32\inetsrv
Appcmd list backups
Appcmd restore backup “IIS_backup_14-04-2017”
Classic mode
It maintains backward compatibility with earlier versions of IIS by using an ISAPI extension to invoke the
ASP.NET rutime.
Integrated Mode
Integrated mode is a new mode in IIS7 where IIS pipeline is tightly integrated (i.e is just the same) as
ASP.NET request pipeline. Because ASP.NET is no longer treated as an external plugin. It is completely
blended and integrated in IIS.
SSL is a standard security technology for establishing an encrypted link between a server and a client. SSL
allows sensitive information such as credit card numbers, social security numbers and login credentials to
be transmitted securely. SSL is a security Protocol and use SSL handshake to establish connection. The last
version of SSL is V3.
Question 8 : Explain the function of Public key and Private key encryption
The public and private key pair comprise of two uniquely related cryptographic keys. The public key is as its
name suggest is made available to everyone. The private key remain confidential to its respective owner.
Both keys are needed to decrypt the encrypted data before use.
Digital Certificates are a means which consumers and businesses use for security applications of Public Key
Infrastructure (PKI). PKI comprises of the technology to enables secure e-commerce and internet based
communication.
IIS6 Bindings
open IIS6\select the website you want to configure\r/click properties
click the tab website and click advanced (next to ip address)
in the advanced website identification -> click add to add port to the website and ssl settings
IIS7 Bindings
Open IIS7\select the website you want to configure, click on bindings on the right
click add to add port to the website
Native code
It is written in the "native"machine language of the computer that it is running on and is executed directly
by the processor. Any portability to another OS/instruction set is lost and must be recompiled to execute.
eg. C and C++ are native.
Managed Code
It is written in a special language that requires another program to run it. This other program is often called
an interpreter as it interprets the special language. Eg. Java and C# and .NET are all managed.
Question 13 : With the website “megaservice”, provide an error page “service unavailable”.
An Application Pool is a mechanism used by IIS to isolate web applications, allowing you to have different
configurations.
Recycling means the worker process that handles requests for that application pool is terminated and a
new one started. This is generally done to avoid unstable states that can lead to application crashes, hangs,
or memory leaks.
15a) Create a website “mega-clone2” with the files of the website “megaservice”
Appcmd.exe is the single command line tool for managing IIS7 and above. It exposes all key server
management functionality through a set of management objects that can be manipulated from the
command line. It is found in %systemroot%\system32\inetsrv\directory.
To create a website :
DOS Command :
Cd\
C:\windows\system32\inetsrv
Appcmd add backup“IIS_backup_14-04-2017-2”
1. Close IIS
2. Restore IIS
DOS Command :
Cd\
C:\windows\system32\inetsrv
Appcmd list backups
Appcmd restore backup “IIS_backup_14-04-2017-02”
Question 16 : 16a) Install last version of Apache
16b) Load the website test.megaservice.com on Apache
16c) Configure virtual host “test2.megaservice.com” on Apache