Web advanced application of Windows 2003 services

Source: Internet
Author: User
Tags port number

One: Set up a virtual host

• For a small business, you can use 2003 to structure a Web site. But what if you have two or more Web sites? Do you want to buy another 2003 server to structure your Web site? No, just one 2003 shelves of two Web sites, by configuring a virtual host to complete the requirements (what is a virtual host?) When you run multiple Web sites on a 2003 server, these sites become virtual hosts. )

So there are two sites on a server, how do users access both sites? There are three different ways to do this.

1> two Web sites use a different IP address. This allows users to enter http://192.168.100.1 in the browser when accessing the first Web site, and enter http://192.168.200.1 in the browser to access the second Web site. (hypothetical)

2> two Web sites use the same IP, but use a different port number. This allows users to enter http://192.168.100.1 in the browser when accessing the first Web site, and enter http://192.168.100.1:81 in the browser when accessing the second Web site

3> two Web sites use the same IP and port number, but use a host header for the second Web site so that users enter the http://192.168.100.1 in the browser on demand when accessing the first Web site, and enter the http://host header in the browser when accessing the second Web site.

• Create a new web site

In the Internet Information Services (IIS) Manager window, double-click the Web site icon and right-click Default Web site, and select new------Web site. The Web Site Creation wizard window opens, click Next, and start creating the website of the letter

Enter a description of the Web site, and then click Next

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.