0% found this document useful (0 votes)
63 views19 pages

Internet Information Service (IIS)

Internet Information Services (IIS) is a web server tool that allows users to host and manage web pages, FTP sites, and SMTP mail routing. IIS provides a reliable, scalable, and secure platform for developing dynamic web applications. Key IIS features include reliability through isolated worker processes, scalability through on-demand resource allocation, and security features like authentication and attack surface reduction. Setting up IIS involves configuring a home directory, default documents, authentication methods, domain name resolution, and hosting multiple sites through unique identifiers like host headers, IP addresses, or port numbers.

Uploaded by

thanhtin2109
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
63 views19 pages

Internet Information Service (IIS)

Internet Information Services (IIS) is a web server tool that allows users to host and manage web pages, FTP sites, and SMTP mail routing. IIS provides a reliable, scalable, and secure platform for developing dynamic web applications. Key IIS features include reliability through isolated worker processes, scalability through on-demand resource allocation, and security features like authentication and attack surface reduction. Setting up IIS involves configuring a home directory, default documents, authentication methods, domain name resolution, and hosting multiple sites through unique identifiers like host headers, IP addresses, or port numbers.

Uploaded by

thanhtin2109
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 19

Internet Information Service

(IIS)
Overview

Introduction to IIS
Implementing IIS
Introduction to IIS

Concepts
IIS 6.0 features
Concepts

Provides integrated, reliable, scalable, secure, and manageable Web server


capabilities

Is a tool for creating a strong communications platform of dynamic network


applications

Use IIS to host and manage Web pages on the Internet or on their intranet, to
host and manage FTP sites, and to route mail using the Simple Mail Transfer
Protocol (SMTP)
IIS 6.0 features

Reliability: enables individual Web applications to function within a self-contained


worker process, prevents one application or Web site from stopping another

Scalability: IIS allocates resources to active sites, as opposed to wasting


resources on idle requests

Security: To reduce the attack surface of systems, IIS is not installed by default
on the operating systems. IIS provides authentication methods to control access
to your Web sites and FTP sites
Implementing IIS

Web site setup


FTP site setup
How to create a local Web site
How to publish a Web site to the Internet
Web site setup

Setting Home Directory


Setting up Default Document
Configuring Authentication
Domain Name Resolution
Hosting multiple Web sites on a single server
Setting Home Directory

• Home directory is the central location for your published pages


• Each Web site must have a home directory. The default Web site home
directory is LocalDrive:\Inetpub\Wwwroot

To change the home directory:


1. In IIS Manager, expand the local computer, expand the Web Sites
directory, right-click the Web site you wish to change, and click Stop
2. Use Windows Explorer, to rename the LocalDrive:\Inetpub\Wwwroot
directory to the name of your choice. Alternatively, you can copy the
entire \Wwwroot directory tree to a new location
3. In IIS Manager, right-click your Web site, and click Properties
4. Click the Home Directory tab, and under The content for this resource
should come from, click A directory located on this computer, A share
located on another computer, or A redirection to a URL, depending on
where your home directory is located
5. In the Local path box, type the path name, share name, or URL of your
directory
6. In IIS Manager, expand the Web Sites folder, right-click the Web site
you just changed, and click Start
Setting up Default Document

Default documents can be a directory's home page or an index page

Before enabling the default document in IIS Manager, you must create the default
document and place it in either the root directory

To set up or change the default document:


1. In IIS Manager, double-click the local computer, right-click the Web Sites
folder or an individual Web site folder, and then click Properties
2. Click the Documents tab
3. Select the Enable default content page check box
4. Click Add to add a new default document to the list
5. Click the document you want to remove from the list and click Remove
6. Click a document from the list and click Move Up or Move down to
change the order in which default documents are served to client requests
7. Click OK
Configuring Authentication

Require users to provide a valid user account and password before accessing
any information on IIS server

Basic authentication transmits user names and passwords across the network
in an unencrypted form
How to enable Basic Authentication

1. In IIS Manager, double-click the local computer; right-


click the Web Sites folder, and then click Properties
2. Click the Directory Security or File Security tab, and
then, in the Authentication and access control
section, click Edit
3. In the Authenticated access section, select the Basic
authentication check box
4. In the Default domain box, either type the domain
name you want to use, or click Select to browse to a
new default logon domain
5. Click OK
Domain Name Resolution

In order for users to reach your site on an intranet or the Internet, you must have a
unique IP address that identifies your computer on the network

Before a user can type a domain name into a Web browser and access a Web
page, the name has to be assigned to a corresponding IP address

To make your site available from the Internet:


1. Establish a connection to the Internet. Lease a line from an Internet Service
Provider
2. Obtain an IP address (Your ISP gives you an IP address )
3. Verify your computer's network identity
4. Register a domain name
Hosting multiple Web sites on a single server

To ensure that user requests reach the correct Web site, you must configure a
unique identity for each site on the server

Distinguish each Web site with at least one of three unique identifiers: a host
header name, an IP address, or a unique TCP port number

Every Web site has a descriptive name, and can support one or more host
header names. Enable to create multiple Web site identities without using a
unique IP address for each site.

Some server configurations require the use of unique IP addresses to


distinguish multiple Web sites on the same server. IIS enables you to configure
Web sites to listen on all available IP addresses, or on an individual IP address

You can use nonstandard TCP port numbers to create unique Web site
identifiers by creating a Web site identity that consists of a TCP/IP address or
host header name, appended with a nonstandard TCP port number
To add a Web site using a host header identifier:
1. In IIS Manager, expand the local computer, right-click the Web Sites
directory, point to New, and then click Web Site
2. In the Description box, type the name you have selected for the Web
site, and then click Next
3. In the Enter the IP address to use for this Web site box, click the IP
address used by all sites on the server
4. In the TCP port this Web site should use box, type the port number
used by all sites on the server
5. In the Host Header for this Web site (Default:None) box, type the host
header name to identify the Web site
6. In the Path box, type or browse to the path of your Web site home
directory
7. In the Web Site Access Permissions box, set the permissions for the
home directory
8. Click Next, and then click Finish
If you use multiple IP addresses to distinguish between different sites on the
same server, you must configure IIS to assign each site a unique IP
address:
1. In IIS Manager, expand the local computer, right-click the Web Sites
directory, point to New, and then click Web Site.
2. In the Description box, type the name you have selected for the Web
site, and click Next.
3. In the Enter the IP address to use for this Web site box, click the
unique IP address reserved for this site.
4. In the TCP port this Web site should use box, type the port number
used by all sites on the server. This should typically be left at the default
of 80.
5. In the Path box, type or browse to the path of your Web site home
directory.
6. In the Web Site Access Permissions box, set the permissions for the
home directory.
7. Click Next, and then click Finish.
To add a Web site using a unique port identifier:
1. In IIS Manager, expand the local computer, right-click the Web Sites
directory, point to New, and then click Web Site.
2. In the Web Site Creation Wizard, click Next.
3. In the Description box, type the name that you have selected for the
Web site, and then click Next.
4. In the Enter the IP address to use for this Web site box, click the IP
address used for all sites on this server.
5. In the TCP port this Web site should use box, type the unique port
number reserved for this site.
6. In the Path box, type or browse to the path of your Web site home
directory.
7. In the Web Site Access Permissions box, set the permissions for the
home directory.
8. Click Next, and then click Finish.
FTP site setup

IIS includes the File Transfer Protocol (FTP) service for publishing and
managing files
FTP allows to transfer files between two computers on the Internet

To install the FTP service:


1. From the Start menu, click Control Panel, double-click Add or Remove
Programs, and then click Add/Remove Windows Components.
2. From the Components list, click Application Server, and then click Details.
3. From the Subcomponents of Application Server list, click Internet Information
Services (IIS), and then click Details.
4. From the Subcomponents of Internet Information Services (IIS) list, select the
File Transfer Protocol (FTP) Service check box, and then click OK.
5. Click Next. Click Finish.
How to create a local Web site

Web server hosts 2 web sites


Create 2 folder C:\Websites\abc.local and C:\Websites\xyz.local
Create 2 default.htm in 2 folders above
In IIS Manager:
 Host header value: www.abc.local
 Local path: C:\Websites\abc.local
User authentication:
 In IIS Manager, right click abc.local, click Property, in tab Directory
Security: uncheck Enable Anonymous, and then check Basic
Authentication
Home page:
 In IIS Manager, Right click abc.local, click Property, in tab
Documents, Add new.html, and then move new.html to the top.
How to publish a Web site to the Internet

Static IP address
Dynamic DNS (No-ip.com, DynsDNS.com, Zoneedit.com…)
Domain name (Nhân Hòa, Mắt Bão, gate2vn.net,…)
NAT correspondence ports
Update IP address: install DirectUpdate software on your server

You might also like