How IIS [Reserved] a more binding sites host domain name

During the IIS Web server site configuration, sometimes you need a website to configure multiple domain names corresponding to the record, such as the primary domain name without the www and the www domain name resolution records correspond to the same site file, then the simplest configuration method It is to bind multiple host a Web site domain name, Web site and more than create a new one for Web site files is much simpler, and subsequent modifications related to the configuration of the site when only need to modify a website.

IIS site configuration corresponding to a plurality of host domain names follows ( domain configured for assuming test.com ):

(1) into the IIS Manager interface, select the site node, right-new website.
Here Insert Picture Description

(2) After filling out the relevant information, add the site test.com , host domain name test.com configured as the primary domain name without the www .
Here Insert Picture Description

(3) Click the image above configuration OK, and then find the site in the site list, there is a right-binding [Edit] menu.
Here Insert Picture Description
(4) into the binding [edit] management interface, you can see the interface has a binding record, and that is test.com .
Here Insert Picture Description
(5) Select the right of [Add] button to add www.test.com host domain name, as in FIG.
Here Insert Picture Description

(6) in step 5, you can set the type Https site such host domain name provided Https secure connection www.test.com the steps may be modified to operate as follows.

This step involves the IIS Web site configured for SSL certificates operation, a detailed operation, see this article: IIS server to the Web site configuration Https certificate , Tencent cloud for a free SSL certificate .
Here Insert Picture Description
(7) the operation proceeds to step 5, after storage is determined, in the header record have two binding recorded, as shown below, other binding domain if needed, to repeat steps 5.
Here Insert Picture Description

Note: The text reproduced from personal bloggers station IT technology small fun house , the original link for the IIS Web site how to bind a host domain name _IT more technical small fun house .

Guess you like

Origin blog.csdn.net/weixin_39650424/article/details/93380429