How Windows IIS creates a new site and a bound domain name

Source: Internet
Author: User
Tags php and

First, click Start-Settings-control Panel-Administrative tools to locate the Internet Information Services (IIS) Manager double-click Open.

Second, expand the left cascading menu, find the "Web site" directory.

Third, on the Web site directory, right-click, select New-Web site, open the Site Creation wizard.

Four, in the "Web Site Creation Wizard" dialog box click "Next", enter the "description of the site", input description content, here content can be entered at will, but for the convenience of management, general fill in the site domain name or representative of the names, here to fill in the www.111cn.net.



Click Next to open the IP address and Port Settings item. Enter or select the "Web site IP Address" (Local extranet IP), "Web site TCP port" (port default 80, at this point, just enter the Web site in the browser can visit the website, such as the other example, if 8080, you need to add ports, such as http:/ /www.111cn.net:8080), the site's host header (that is, the site to bind the URL, if empty, just resolved to this IP domain name can open this site).

Six, fill out, "Next", click "Browse" or directly enter the hard drive absolute path to the site to specify the site folder, only the files within this folder can be accessed through the domain name, this directory is the site Web root directory .

Seven, click "Next", into the permission settings, "read" permission is required, if your site to run ASP, PHP and other programs, you need to select the "Run script (such as ASP)" Item, click Next, complete the creation of the site process.

In the Web site creation process, only for the site to bind a domain name www.111cn.net, now want to add the WWW 111cn.net also to the site's access to the domain name, how to set it? Here are the detailed steps:

Right-click the site directory described as Www.111cn.net, select Properties, open the Site Properties dialog box, click the Advanced button, and open the Advanced Web Site Identification dialog box.







Nine, click the "Add" button, open the "Add/Edit Website Identification" dialog box, enter the site's IP address, TCP port and Host header value, meaning and create the same site, here, respectively, input IP, 80,111cn.net OK, so that the site is bound to the 111cn.net this domain name, but also fill in as such as bbs.111cn.net similar level two domain name.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.