For various reasons, we sometimes need to create multiple web sites on one IP address. In IIS5, we may achieve this goal with simple settings. .
In IIS, each Web site has a unique, three-part identifier for receiving and responding to requests:
(1) IP address
(2)Port number
(3) Host header name.
In IIS, there are usually two ways to create multiple independent web sites on an IP address. This article introduces the host header method in the form of an example. Using this method, you can establish a professional virtual Host.
Environment: Assume that ** company (hehe...) provides a virtual host service with a win2000 server, the address is 192.168.1.10. The Internet service is already installed on this server, ie IIS5.
Now the company requires network administrators to use an IP to create independent websites for ABCD four companies on the server. Each website has its own independent domain name. The four website names are: www.a.comwww.b.comwww.c .comwww.d.com.
By using a host header, a site can maintain multiple sites with just one IP address. Customers can use different domain names to access their respective sites. They simply don't feel that these sites are on the same host.
The specific operations are as follows:
1. Create folders for four companies in win2000 server, as WEB site home directory. As follows: WEB site home directory WEB site
d:\\web\\a A company website
d:\\web\\b B company website
d:\\web\\c C company website< BR>d:\\web\\d D company website
2. Using the WEB site management wizard, each company establishes an independent WEB site. The biggest difference between the four is the use of different host header names: Br>
Company A Site B Company Site C Company Site D Company Site
IP Address 192.168.1.10
TCP Port 80
Permission Read and Run Script
Host Head Name www.a. Com www.b.com www.c.com www.d.com
The site home directory d:\\web\\ad:\\web\\bd:\\web\\cd:\\web\\d
The four domain names are registered in the DNS, all pointing to the same address: 192.168.1.10. In this way, the client can access the company site through
http://www.a.com.
Http://www.b.comVisit company B site.
http://www.c.com visit C company site.
http://www. D.com visits the D company site.
3. The host header name of each site can be set in the WEB site setup wizard, which is on the same screen as the site's IP address and TCP port. It may also pass Site->"Properties"->"WEB Sites" tab-> Select the "Advanced" button to the right of the IP address and jump out of "Advanced Multi-Web Site Configuration" for configuration.
This method can be established. Building a professional virtual host, almost all companies that use IIS to provide virtual hosting do this.
What is a webpage? A webpage is a malicious attacker who, after attacking a WEB w
There is no doubt that MDaemon developed by Alt-n of the United States is an excellent mail server s
which is again a problem with the client Exchange server. Exchange 2003 and DC are the same server.
The print servers web interface The print server is one of the Windows Server 2
Apache and virtual directory configuration in Windows environment
IIS pseudo-static html (URL Rewrite) setting method
Master emergency: What should I do if the server data is accidentally lost?
Port mapping does not ask for people
Expert Tips: How to find out where data center vulnerabilities are located
Case Sharing: Fantasy Westward Journey Server Optimization
Experience: How to be a server administrator?
Solve problems with web server not accessible
Win2003 comes with a firewall to build a security line
Delete files with python, non-empty directory scripts
The action of sending the error report window in Excel
Windows7 can not play World of Warcraft solution
Win7WORD can not copy and modify can only browse how to set up
Win10 Suddenly stuck up what to do
What should I do if the Win10 start menu does not open? Win10 start menu can not open the solution
Win10 system appears to reset the default application failure how to solve
Win10 first anniversary update latest preview version 14393.33 screenshot exposure