webservice-ps

Upload: pacesoft321

Post on 09-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/8/2019 webservice-ps

    1/10

    Configuration & Modification of a Web Site

    Training Division,NIC 1

    Practice session of IIS Administration.

    Do the following steps for creating a new web sites.

    1. Logon as a user in the Administrators group.

    2. Create home directories for Web

    sites, such as labsite1 and

    labsite2.

    3. Launch the Internet Services

    Manager snap-in by pointing

    StartProgramsAdministrative

    ToolsInternet Services Manager.

    3. To start Web Site Creation

    Wizard, right click on the server

    (or computer) icon, thenNewWeb

    Site.

  • 8/8/2019 webservice-ps

    2/10

    Configuration & Modification of a Web Site

    Training Division,NIC 2

    Web Site Creation Wizard starts.

    ClickNext to continue.

    4. Enter a description for the new

    WEB site, such as Myweb.

    ClickNext to continue.

    5. IP address needs to be specified

    for users to reach the Web server.

    Click the drop-down box to select

    the available IP address, which

    should be the IP address of the

    current Windows 2000 Server.

    For example, 192.168.0.x is the

    available IP address, where x will

    be your cabin NO.

    6. You can enter 991 as the TCP

    port, but remember the standard port

    is 80 for HTTP.

    Background

    Multiple Web sites can be created on

    the same physical machine. Usually,

    the best way is to create a Web site

    with a unique IP address. However,

    different combinations of IP

    address, Port number, and Host

    Header allow multiple web sites

    created as well.

    However, when SSL is configured in

    one of the web sites on the same

  • 8/8/2019 webservice-ps

    3/10

    Configuration & Modification of a Web Site

    Training Division,NIC 3

    machine, modification of Host Header

    is not applicable to create

    different website

    ClickNext to continue.

    7. Enter the path for the home

    directory of this new Website site

    by doing one of the following:

    Typing the local path of the home

    directory if it is located

    physically in the same machine, such

    as C:\labsite1.

    Click Browse to locate the directory

    Typing the UNC path of the home

    directory if it is located somewhere

    on the network, such as

    \\w2ksrv\labsite1, where labsite1

    must be a shared folder on the

    machine: w2ksrv.

    Background

    When Web clients or users initiallyconnect to this Web site, they will

    be placed in the home directory. The

    home directory is the root

    directory for the web site. From the

    root directory, subdirectories

    including the real subdirectories

    under the home directory and the

    virtual directories can be created,

    in order to organize the files

    available for upload or download.

    8. CheckAllow anonymous access to

    this Web site.

    After the path is entered, click

    Next to continue.

    ClickNext to continue.

  • 8/8/2019 webservice-ps

    4/10

  • 8/8/2019 webservice-ps

    5/10

    Configuration & Modification of a Web Site

    Training Division,NIC 5

    Modifying Web Site Properties

    Web Site Creation Wizard allows

    simple configuration of a Web site.

    However, properties of the Web site

    can be modified to meet different

    needs.

    1. Launch the Internet Services

    Manager (or Internet Information

    Services snap-in).

    2.Right click on the Web site for

    modifications.

    3. Point to Properties.

    Web Site

    Web Site IdentificationYou can change the description, IP

    address and TCP Port here for the

    Web Site. Advanced setting for the

    IP address and Host Header can be

    starting by click the Advanced

    button.

    Connections

    The number of connections to the

    system can be limited.

    Enable Logging

    This allows administrators or site

    operators to keep track of what is

    happen on the system by logging

    different activities. There are

    different log formats can be used:

    Microsoft IIS Log Format, W3C

    Extended Log File Format, or via

    ODBC Logging.

    Operators Properties

    Windows 2000 accounts can be used to

    define and authenticate users as

    operators of the IIS. When users

    become the operators, they can:

    modify Web server access permissions

    and logging; modify default Webdocuments and Web site footer, and

    modify page content expiration, HTTP

    headers and content ratings.

  • 8/8/2019 webservice-ps

    6/10

    Configuration & Modification of a Web Site

    Training Division,NIC 6

    Performance

    Performance Tuning

    Three different performance turning

    can be selected depends on hits

    expected per day of the Web site.

    Bandwidth and process throttling

    could be enabling in the Performance

    panel in order to limit the

    bandwidth, processing power, and

    other resources of the system.

    Home Directory

    The configurations including the

    location path, access control and

    other settings for the home

    directory can be modified.

    Documents

    The list of default documents can be

    modified here. Default.htm and

    Default.asp were the two default

    documents for browser to open the

    default page. In many case, the

    default page may have a different

    name, such as index.htm or

    index.html. Thus, those filenames

    must be entered to make the browser

    to open the default page of the Web

    site.

    ClickAdd to start adding a new

    document name.

  • 8/8/2019 webservice-ps

    7/10

    Configuration & Modification of a Web Site

    Training Division,NIC 7

    Enter the document name, such as

    index.htm, index.html, welcome.htm

    and etc.

    The order of listing the default

    page can be changed by using the up

    and down buttons.

    Directory Security

    This allows you to control who

    accesses the Web site based on

    authentication, client IP addresses,

    or access control list (ACL)

    settings on files. Secure

    communications can also be specified

    when clients connect to the Web

    site.

  • 8/8/2019 webservice-ps

    8/10

    Configuration & Modification of a Web Site

    Training Division,NIC 8

    4. Click Edit of Anonymous access

    authentication control will bring up

    the Authentication Methods window.

    The default settings should work for

    most cases. Changes can be made

    based on specific needs.

    Click OK to close the window.

    5. Click Edit of the IP address and

    domain name restrictions.

    Administrators can control whoaccesses to the Web site based on

    client IP addresses.

    7. Check Granted Access.

    8. ClickAdd button to add the

    exceptions.

    9. Select Single computer.

    Enter an IP address, which will be

    denied to access the Web site.

    Click OK to continue.

  • 8/8/2019 webservice-ps

    9/10

    Configuration & Modification of a Web Site

    Training Division,NIC 9

    Then, all computers (or IP

    addresses) will be able to access to

    the Web site except those listed in

    the bottom panel.

    Start, Stop and Restart a Specific FTP/Web Site

    Launch the Internet Services Manager

    (or Internet Information Services

    snap-in) as show in the figure on

    the right.

    Background

    A full reboot of IIS requires a

    system reboot. However, normally,

    you can just start, stop or pausedifferent individual Web or FTP site

    by selecting the site without

    affecting other sites.

  • 8/8/2019 webservice-ps

    10/10

    Configuration & Modification of a Web Site

    Training Division,NIC 10

    Testing a Web Site

    1. Launch the Internet Services

    Manager snap-in by pointing

    StartProgramsAdministrative

    ToolsInternet Services Manager.

    Right click on a Web Site, and point

    to Browse.

    Internet Explorer should open the

    Web site as shown in the figure on

    the right. The URL of the site in

    this example is:

    http://102.168.59.101:991/

    You should realize the port number

    was specified and must be specified

    in order to get access to the Web

    Site. Therefore, you can try the use

    the URL to access to Web site from

    Windows 2000 Professional.