How to create a website and bind a domain name for Windows IIS

Source: Internet
Author: User
Tags website ip

Many newly-used windows Server iis do not know how to bind a new site to a domain name. Below I will show you how to create a site in IIS and how to bind a domain name in graphic form.

1. Click "start"-"Settings"-"Control Panel"-"Administrative Tools" and double-click "Internet Information Service (IIS) manager.

2. Expand the cascade menu on the left and find the "website" directory.

3. Right-click the "website" directory and choose "New"> "website" to open the "website creation wizard ".

4. Click "Next" in the "website creation wizard" dialog box to go to "website description" and enter the description content. The content here can be entered at will, but for ease of management, generally, enter the website domain name or representative name. Enter www here. bKjia. c0m.



5. Click "Next" to open the "IP address and port settings" item, and enter or select "website IP address" (local Internet IP address), "site TCP port" (Port default 80, at this time only need to enter the web site in the browser to access the site, such as to change to other such as 8080, you need to add port, such as http://www.bKjia. c0m: 8080), the host header of the website (that is, the website to be bound, if it is blank, the domain name just resolved to this IP can open this website ).

6. After entering the information, click "Next", click "Browse", or directly enter the absolute path of the hard disk to specify the website folder for the website. Only files in this folder are allowed, this directory is the WEB root directory of the website.

7. Click "Next" to enter the permission settings. The "read" permission is required. To run ASP, PHP, and other programs on your website, select "run script (such as ASP) click Next to complete the website creation process.

During website creation, only one domain name www is bound to the website. bKjia. c0m, now want to put bKjia without www. c0m is also added to the website's access domain name. How can I set it? The detailed steps are as follows:

8. www. bKjia. right-click the c0m website directory and select "properties" to open the website Properties dialog box. Click "advanced" to open the "advanced website identity" dialog box.







9. Click "add" to open the "Add/edit website ID" dialog box. Enter the IP address, TCP port, and Host Header Value of the website, enter the IP addresses, 80, and bKjia respectively. c0m OK, so that bKjia is bound to the website. the c0m domain name is also filled in as bbs. bKjia. A second-level domain name similar to c0m.



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.