Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to add Web Virtual Host in Win2003 Server system

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article is about how to add a Web virtual host to a Win2003 server system. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Many friends are not very clear about the new virtual host of the server. in fact, it is very easy to look at other people's operation. Mainly the main nose.

When multiple Web sites are configured in the same physical server, many users choose to add multiple IP addresses to the server, and then point each Web site to a different IP address. This approach is feasible, but as the resources of IP addresses (mainly IP addresses in Internet) become more and more scarce, the disadvantages of this approach become more obvious. In fact, in IIS 5.0 and IIS6.0, users can add HTTP host headers to each Web site to create multiple Web sites with a single IP address and port number. This approach is often referred to as building a "virtual host". The steps for building a virtual host in IIS 6.0are as follows:

Step 1, right-click the Web site directory in the Internet Information Services (IIS) Manager window, and select the New → Web site command. Open the site creation Wizard dialog box and click the next button in the welcome dialog box.

Step 2, open the site description dialog box, enter a text message that describes the content of the site in the description edit box, and click the next button.

Step 3, in the "IP address and Port Settings" dialog box that opens, click the drop-down triangle button to the right of the "site IP address" edit box, and select an IP address that is not used by other Web sites in the drop-down menu. " Leave the default value of 80 for the website TCP port, enter the site's domain name (such as sc.jb51.net) in the "host header of this site" edit box, and click the "next" button, as shown in figure 2008111812.

Tip: if you do not select an unused IP address, and the Web baby named http://www.bbqmw.net/qm_yeqm site bound to the used IP address has not been deleted, the later created Web site will be completely stopped because of port conflicts.

Step 4, open the site Home Directory dialog box, click the Browse button to select the home directory where the site is located, and click the OK → next button.

Step 5, in the site access dialog that opens, keep the default permission settings and click the next button. Open the finish Web site creation Wizard dialog box and click the finish button.

Step 6, repeat the above steps to create multiple virtual hosts with host heads, so as to realize the construction of the virtual host system. When users use domain names to access Web sites, although these Web sites use the same IP address and port number, they can accurately open the site corresponding to the domain name of the site.

Tip: for network users to access specific websites using HTTP host headers (that is, domain names), host A records must be created for each site in the DNS server.

Thank you for reading! This is the end of the article on "how to add Web virtual hosts in the Win2003 server system". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report