server2016 Web server & three virtual host Lab documentation

Source: Internet
Author: User

Installing the Web server

First open the SERVER2016 Server Manager and click Add Roles and Features:

Before you begin, the next step is default:

Installation type default next select Role-based or feature-based installation:

The server chooses the default next:

Server role Select Web Server (IIS):

Feature options are generally default:

Confirm the error after clicking Install:

Click Close to complete the installation:

The above Web server installation is complete and we open it in Windows Management tools:

Click to open the point to the site there will be a site here we can make changes, click here Web site right-click on the management site of the advanced settings can see the corresponding configuration (%systemdrive% indicates the system on which disk is defined to which disk is an environment variable):

At this point, you can access the default website insurance page:

The form of documentation we add to our site must be the default document in which the most commonly chosen document form is index.html:

When we're building a document, the file extension is usually hidden, and we need to show the extension to remove the hidden:

And then we're going to implement the experimental requirements

Build a folder for Gushi in the C-server2016 to create a text document in Gushi you can change the name of the text document by entering the content you want to access in the text document. This is modified to lndex.html; At the same time server2016 with their own local needs in the same network segment, to verify that the same network segment needs to be ping on the local computer success can be accessed:

At this point the physical path of the Web site is consistent with the document path you just want to access:

In the Web site binding to look at the type, IP address and port number, the general default port is generally 80 port:

The above is based on IP address access we have tested on this machine:

The first way to access success we look at the second method of access based on the port number:

Click Site Bindings Select click Edit to change the port with IP address 192.168.10.11 to the 8080 port number Click OK:

Next we go to host access under:

Port-based access was successful, too. The last host-name-based access to the hosts here are the following steps:

First find the hosts document path to the local C drive:

Next you need to drag the document to the desktop to modify it, adding the last two lines of the same IP with different host names:

Add the same host name as www.aa.com and www.bb.com other values to the site bindings:

First we go to host Ping under host name:

Ping succeeded we continued to access the host under different hostname based on:

Based on the above steps, we completed the SERVER2016 Web server & three virtual host experiment document

server2016 Web server & three virtual host Lab documentation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.