Current location - Quotes Website - Team slogan - Port 80 is occupied by another. How to set up in IIS to access the website without adding a port number after the domain name?
Port 80 is occupied by another. How to set up in IIS to access the website without adding a port number after the domain name?
With "host title name" function.

To configure a website using the Host Title Name function, follow these steps:

Click Start, point to Programs, point to Administrative Tools, and then click Internet Service Manager.

In the Internet Information Services window, expand * server name (where server name is the name of the server).

Right-click the website you want to configure, and then click Properties on the shortcut menu that appears.

The Site Name Properties dialog box appears (where site name is the name of the selected site).

Under Website ID, in the IP Address list, select the IP address that you want to assign to this website.

Click the Advanced button.

Under this site has multiple identities, click the IP address, and then click Edit.

The Advanced Site Identification dialog box appears.

In the Host Title Name box, type the host title you want to use. For example, type www.example 1.com to add a port number, select an IP address from the list, and then click OK.

Note: If you want to configure a different identity for this website, click Add. The IP address and TCP port to be used remain the same, but enter a unique host header name, and then click OK. For example, if you want to access the same website from the Internet and the local intranet, you can configure the logo of the website, as shown in the following example:

IP address TCP port host title name

192. 168.0 . 100 80 www . example 1 . com

192.168.0.10080Example 1.com

In the Advanced Multi-site Configuration dialog box, click OK.

In the Site Name Properties dialog box, click OK.

You will be returned to the IIS window.

Right-click the next Web site you want to configure, and then click Properties on the shortcut menu.

In the IP address list, select the same IP address as in step 4, and then click Advanced.

Under this site has multiple identities, click the IP address, and then click Edit.

The Advanced Site Identification dialog box appears.

In the Host Title Name box, type a unique host title for this site. For example, type www.example2.com, add a port number, select an IP address from the list, and then click OK.

In the Advanced Multi-site Configuration dialog box, click OK.

In the Site Name Properties dialog box, click OK.

You will be returned to the IIS window.

Repeat steps 10 to 15 for each website that you want to include this IP address.

Register the host title name with an appropriate name resolution system, such as a domain name system (DNS) server or a "host" file in a small network.

At this point, the Website has been configured to accept incoming web requests based on the host title name.