You are on page 1of 30

Lab Manual

Web Server(IIS)

Submitted to:

Mr. Sohail Jabbar


Submitted by:

Abdur Rehman (Fall-BTN-B6-025)


Waqas Adrees(Fall-BTN-B6-033)

Comsats Institute of Information & Technology,


Sahiwal
Lab Manual

Web Server (IIS)


The term web server, also written as Web server, can refer to either the hardware
(the computer) or the software (the computer application) that helps to deliver
web content that can be accessed through the Internet.

The most common use of web servers is to host websites, but there are other
uses such as gaming, data storage, running enterprise applications, handling
email, FTP, or other web uses.

The primary function of a web server is to store, process and deliver web pages to
clients.

Step 1:

Web Server (IIS) installation:


Click “Start” >> “Administrative tools”>>” Server manager”.

Right Click on “Roles”>>Click at “Add Roles”.

2
Lab Manual

Click “Next”.

3
Lab Manual

4
Lab Manual

Select “Web Server (IIS)”.

5
Lab Manual

Click “Next”.

6
Lab Manual

Click “Next”.

7
Lab Manual

Click “install”.

8
Lab Manual

9
Lab Manual

Click on “ Close ”.

10
Lab Manual

Step 2:

Web Page
We place our website in “ C drive ” >> ” inetpub ” >> ” wwwroot ” whom we
want to deploy in our intranet . If we want to place it in other place or drive we
have to do some setting , but we place it in “ C derive ” >> ” intpub ” >> ”
wwwroot ” to make things simple.

Cut your web page “waqas.html”.Open the drive where your window is
installed (C drive).

11
Lab Manual

In “C drive”, Open “inetpub”.

12
Lab Manual

Open “wwwroot”.

13
Lab Manual

Place your website in “ wwwroot” and close drive.

14
Lab Manual

Step 3:

Add website in IIS


Click “Start” >>”Administrative tools”>>”Internet Information Services (IIS)
manager”.

15
Lab Manual

Expand your Domain, Right Click on “ Sites ”. Click on “Add web Site”.

Enter site name, Path where you placed your site, IP address of your LAN card

16
Lab Manual

Set path of your Website.

Click on “…… ” >> ”Local Disk (C)” >> ”inetpub” >> “ wwwroot” >> ”OK”.

17
Lab Manual

Give IP Address of your LAN Card and Click “ OK ”. Your WebSite will be added.

18
Lab Manual

Click on your site.

19
Lab Manual

Step 4:

Default Document Setting

20
Lab Manual

Right Click on ” Default Document ”. Click on “ Open Feature ”.

Click on “ Add… ”.

21
Lab Manual

Enter the name of your website e.g waqas.html. Click “OK”. Your website will be
added in “Default Document”. Now you can access your website by entering
name of your site or the IP address in Web Browser.

Step 5:

22
Lab Manual

Add Authentication in website


You can make your web site secure from unauthorized person by adding
authentication on your web site.

Click “ Start ” >> ” Administrative Tools ” >> ” Server Manager ”.

Expand Roles. Right Click on “ web server ”.Click on ” Add Role services”.

23
Lab Manual

In “security”.there are many options like ”Basic Authentication“ which is less


secure, “windows Authentication” more secure, and “URL Authentication“
more secure. You can select anyone.

We select “Basic Authentication”. Click “Next”.

24
Lab Manual

Click “Install”.

25
Lab Manual

After the installation, Close roles.

26
Lab Manual

Go on IIS, click your site, select “Authentication.

27
Lab Manual

If Anonymous Authentication is enabled, every when can access your website.

28
Lab Manual

Disable “Anonymous Authentication”.

Enable “basic Authentication” by right clicking

Close “IIS”.

29
Lab Manual

Step 6:

Access your website from Browser

In web browser enter your website name or IP address.

Enter user name and password to get access to website.

30

You might also like