How can users on the Internet also browse to the homepage on our own computer? It is to use IIS. IIS (Internet Information Server, Internet Information Services) is a web (web page) service component, including web servers, FTP servers, NNTP servers, and SMTP servers, which are used for web browsing, file transfer, news services, and mail delivery. It makes it easy to publish information on the network (including the Internet and LAN). This article will tell you about the configuration and management method of IIS 5.0 in the Windows 2000 Advanced Server Edition. Prepare the addition and running of IIS, add the "Control Panel", select "Add / Remove Programs → Add / Remove Windows Components", remove the hook before "Internet Information Service (IIS)" (eg Yes), the addition of IIS components can be completed after re-checking. All four services such as Web, FTP, NNTP, and SMTP are included in the IIS components added to this method. Second, IIS running When IIS is successful, then enter "Start → Programs → Administration Tools → Internet Service Manager" to open the IIS manager, and for the "Stopped" service, right-click. Select "Start" to open. The first IIS web server 1. Establish the first Web site, such as the native IP address of 192.168.0.1, your own web page is placed in the D: / WY directory, the page of the page of the page is index.htm, now think Based on these to build your own web server. For this Web site, we can easily implement the appropriate modifications with the existing "default Web site". First click on the Default Web Site, select "Properties" to enter the interface named "Default Web Site Properties" setting interface. 1. Modify the bound IP address: Go to the "Web Site" window, select the native IP address "192.168.0.1" you want to use in the drop-down menu after the IP address. 2. Modify the main directory: Go to the Home Directory window, then in the Local Path input (or select the "D: / Wy" directory where yourself in your web page is available. 3. Add a home file name: Go to the Document window, press the "Add" button, enter the home file name "Index.htm" of your web page after prompting the "Default Document Name". 4. Add a virtual directory: For example, your home directory is under "D: / Wy", and you want to enter the "E: / All" web file, this "192.168.0.1/test" format Test "is a virtual directory. Please click Right-click on the "Default Web Site" and select "New → Virtual Directory". In turn, enter "Test" at the "alias". When entering "E: / ALL" at the "Directory", then press the prompt operation. Added successfully.
5. Effect test: Open IE browser, press "192.168.0.1" after entering "192.168.0.1" in the address bar, then you can call the home page of your own web page, then the setting is successful! Second, add more Web site 1. Multiple IPs correspond to multiple Web sites If the unit has bind multiple IP addresses, you want to use different IP addresses to get different web pages, just click right-click on the "default Web site", select "New → Site ", then enter any of the contents used to explain its content (for example," My Second Web Site ", in accordance with the prompt (for example," My Second Web Site ") You can bind the IP address (Figure 1); after the WEB site is established, the corresponding setting is performed in the step. 2. An IP address corresponds to multiple web sites to create all the Web sites with a higher web site, for the virtual host, can be implemented by setting different port numbers to each web site, such as setting a Web site to 80, One set to 81, one set to 82 ... (as shown in Figure 2), the port number is the WEB site of 80, the access format is still directly IP address, and for the web site that binds other port numbers, access At the time of the IP address, the corresponding port number must be added, i.e., such as "http://192.168.0.1:81" format.
Obviously, it will be trouble after the port number is changed. If you have already mapped all the domain names you need in the DNS server to this unique IP address, you can use the different "Host Name" methods to let you use the domain name to complete access to different web sites. For example, if you have only one IP address of 192.168.0.1, you have established (or set) two Web sites, one is "default web site", one is "My Second Web Site", now you want Enter "www.enanshan.com" to access the former directly, enter "www.popunet.com" to access the latter directly. The steps are as follows: (1) Make sure that you have mapped you both domain names in the DNS server; and ensure that all the port numbers of all Web sites are maintained at 80 default values. (2) Select "Default Web Site → Right Key → Properties → Web Site", click the "Advanced" button on the right side of IP Address, "Double-click Existing IP Address" (Or click the "Edit" button after selecting it), and then enter "WWW.enanshan.com" under the Host Name "and then press the" OK "button to save the exit. (3) Then, "My Second Web Site" is set to "My Second Web Site" is "www.popunet.com". (4) Finally, open your IE browser, enter different URLs in the address bar, you can call out the contents of different web sites. 3. Multiple domain names correspond to the same web site, you only need to first bind a IP address to the Web site, and in the DNS server, all the desired domain names are mapped to your IP address, you are in your browser. Enter any domain name, you will directly get the content of the set. Third, remote management of IIS services 1. On the Manage Web Sites, right-click, select "Properties", then enter the Web Site window, select "IP Address". 2. Go to the Directory Security window, click Edit button under "IP Address and Domain Limit", click "Authorization Access" to manage IIS from local machines; last single Click the "OK" button. 3. Then enter the format of "http://192.168.0.1:3598" http://192.168.0.1:3598" (3598 for its port number), and enter the administrator and corresponding to the administrator. After password, you can log in successfully, and now you can remotely manage IIS in your browser! Here, the range can be managed mainly including new construction, modification, start, stop, and deletion of Web sites and FTP sites. Fourth, this part is common question Q: In the URL mentioned above, some add "http: //", some don't add, what does this mean? A: There is no URL with "http: //" section, indicating that it can be added; and the "http: //" section is added, then it is essential! For the URL with the port number must be added; otherwise it can be omitted.
Q: Do you replace the name "Friendly" name for the URL involved above A: Yes! In addition to being able to replace the computer name where the IIS server is located, it can also create a new domain name and corresponding IP address in the DNS server, or use domain names to access! Q: I set up a web server, but when I access the webpage, the password prompt window appears. Why is that? A: When accessing the Web site, the password prompt window has the following reasons, please check one by one. The web files accessed itself plus secrets. For example, the "Default Web Site" The home file "iisstart.asp" under the primary directory "IISStart.asp" is required. 2. No settings allow anonymous access or no change. As shown in Figure 4, you should ensure that "Anonymous Access" is checked; and under "Editing" "Anonymous User Account" User Name "A format that should be" IUSR_NODISK "(where" Nodisk "is computer name); in addition, it is also necessary to check one of the" Allow IIS Control Password ".