Three ways the IIS Web service implements a virtual host __web

Source: Internet
Author: User

1, the use of different IP addresses.

Note: The key is to configure two different IP addresses in the Advanced TCP/IP Settings dialog box and apply to different sites. (Figure 1)

2, use the same IP address, different TCP port. (Figure 2)

Note: You can configure a different port number to access it by adding a port number after the IP.

3, using the same IP address and TCP port, different host headers. (Figure 3)

Note: Set the host header value, also need to configure the DNS server, add Host header value of host records, so that the client can resolve the host header IP address, you can use the "http://host header" Access to the site.

Figure 1

Figure 2

Figure 3

Related Article

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.