Internet Information Service (IIS)
Internet Information Service (IIS)
(IIS)
Overview
Introduction to IIS
Implementing IIS
Introduction to IIS
Concepts
IIS 6.0 features
Concepts
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
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
Before enabling the default document in IIS Manager, you must create the default
document and place it in either the root directory
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
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 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.
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
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