Flying rabbit Download | Flying rabbit site management
homeRelevant informationHow does the IIS server publish multiple domain names and websites over the same IP?
How does the IIS server publish multiple domain names and websites over the same IP?

General introduction:

1. DNS add area and host;

2. IIS add a site, configure the host header, and point to the regional host in step 1.

1、 Preparation:

1. Install iis6.0,

2. Install DNS components;

If the above is not installed, please install it by adding or removing components of the removal program

2、 Add zones and hosts to DNS

Turn on DNS. After turning on DNS,

In DNS - > Windows2003 - > forward lookup zone, right-click the new zone to pop up the new zone Wizard dialog box. Next, the default next step. In the zone name, enter the website, such as baidu.com. Next, the default next step. Dynamic updates are not allowed. Next, the wizard is completed. At this time, we found baidu.com in the forward search area. OK, next, we right-click the baidu.com file and select new host. In the new host, add the name: WWW, IP address 192.168.1.1, and then select Add host. At this time, you can see another a record on the right.

In the same step, create a Google region and a new host;

3、 Add a website and specify the host header (add two websites, each pointing to the two hosts added in step 2)

Go to IIS and add a website. Next, we go back to our IIS information service manager again, find our Baidu website, and right-click properties.

The IP address is 192.168.1.1 and the port is 80. Then click Advanced, select 192.168.1.1, select Edit, and enter in the host header valuewww.baidu.com

The other two are the same configuration. I won't elaborate here.