What is the use of the IIS service?

Source: Internet
Author: User
Tags ftp site nntp windows 5
IIS (Internet Information Server) is a web service component, including Web servers, FTP servers, NNTP servers, and SMTP servers, it is used for Webpage Browsing, file transmission, news services, and email sending. It makes it easy to publish information on the Internet (including the Internet and Local Area Network. This article describes how to configure and manage IIS 2000 in Windows 5.0 Advanced Server Edition. Prepare to add and run IIS 1. For IIS addition, go to "Control Panel" and select "Add/delete Programs> Add/delete Windows Components ", remove (if any) the minor check before "Internet Information Service (IIS)", re-check and follow the prompts to add the IIS component. The IIS component added in this way includes all four services, including web, FTP, nntp, and SMTP. 2. When IIS is successfully added, go to start → program → Administrative Tools → Internet Service Manager to open the IIS manager. For services with the words "STOPPED, right-click them and select "start" to enable them. Article 1 IIS Web Server 1. Create the first web site. For example, if the IP address of the local machine is 192.168.0.1 and your webpage is stored in the D: \ wydirectory, the first page file of the webpage is index.htm. Now you want to build your own web server based on these settings. For this web site, we can use the existing "Default web site" to make the corresponding changes, you can easily implement. Right-click the "Default web site" and select "properties" to go to the "Default web site properties" setting page. 1. Modify the bound IP Address: Go to the "web site" window, and then select the desired local IP Address "192.168.0.1" from the "ip address" drop-down menu ". 2. modify the main directory: Go to the "main directory" window, and then enter the "D: \ WY" Directory of Your webpage in the "local path" (or use the "Browse" button to select. 3. Add the homepage file name: success ". 4. add a virtual directory. For example, if your home directory is under "D: \ WY" and you want to enter the format of "192.168.0.1/test", you can call up "E: \ All, where "test" is the virtual directory. Right-click "Default web site", select "New> virtual directory", enter "test" in "alias", and enter "E: \ All, and then follow the prompts to add successfully. 5. test the effect: Open IE, enter "192.168.0.1" in the address bar, and then press the Enter key to bring up the homepage of Your webpage. This indicates that the setting is successful! 2. Add more web sites. 1. multiple IP addresses correspond to multiple web sites. If you want to use different IP addresses to obtain different web pages, you only need to right-click the default web site, select "New> site", and enter any content (for example, "my second web site") in the "Description" field as prompted ") in the drop-down menu of "Enter the IP address used by the web site", select the IP address to bind to it (1). After the web site is created, then follow the method in the previous step to configure the settings. 2. one IP address corresponds to multiple web sites. After all the web sites are created in the previous step, you can set different port numbers for web sites as virtual hosts, for example, set a Web site to 80, one to 81, and the other to 82 ...... (2) For a Web site whose port number is 80, the ACCESS format is still the IP address, and for a web site bound with other port numbers, during access, the corresponding port number must be added to the IP address, that is, the format of "http: // 192.168.0.1: 81" must be used. Obviously, it is more difficult to use it after the port number is changed. If you have mapped all the domain names you need to this unique IP address on the DNS server, you can set different "host headers, this allows you to directly use a domain name to access different web sites. For example, if you only have one IP address 192.168.0.1 on your local machine, you have already created (or set) two web sites, one is "Default web site" and the other is "My second web site ", now you want to enter "www.enanshan.com" to directly access the former, and enter "www.popunet.com" to directly access the latter. The procedure is as follows: (1) Make sure that you have mapped both domain names to the IP address on the DNS server; make sure that the port numbers of all web sites are maintained as the default value of 80. (2) Select "Default web site> right-click> Properties> Web site", and click "advanced" on the right of "ip address, double-click the existing IP address under "this site has multiple identifiers" (or click it and then click "edit ), enter "www.enanshan.com" under "Host header name" and then press "OK" (3) to save and exit. (3) set the new host header "www.popunet.com" for "My second web site" in the same way as above. (4) Open your IE browser and enter different URLs in the address bar to bring up the content of different web sites. 3. multiple Domain Names correspond to the same web site. You only need to bind an IP address to the web site, and then map all the domain names to your IP address on the DNS server, then, if you enter any domain name in your browser, you will get the content of the website you set. 3. Remote Management of IIS services 1. Right-click "manage Web sites", select "properties", enter the "web site" window, and select "ip address ". 2. go to the "Directory Security" window and click "edit" under "IP address and domain name restriction, click "authorize access" to allow the client to manage IIS from a place outside the local machine. Then, click "OK. 3. enter the format of "http: // 192.168.0.1: 3598" (3598 is the port number) in the browser of any computer. A password inquiry window appears, after entering the Administrator account name (Administrator) and password, you can log on successfully. Now you can remotely manage IIS in your browser! The management scope mainly includes creating, modifying, starting, stopping, and deleting websites and FTP sites. 4. FAQs in this section Q: What does this mean when "http: //" or "no" is added to the URLs mentioned above? A: If "http: //" is not added, it indicates that it can be added or not. If "http: //" is added, it is necessary! URLs with port numbers must be added; otherwise, URLs with port numbers can be omitted. Q: Can I replace the IP addresses mentioned above with a "friendly" name? A: Yes! In addition to using the computer name of the IIS server, you can also create a ing table for the domain name and corresponding IP address on the DNS server to access the domain name! Q: I have set up a Web server, but a password prompt window appears when I access the webpage. Why? A: The password prompt window appears when you access the web site. Generally, check the password one by one for the following reasons: 1. The accessed Web file is encrypted. For example, the "iisstart. asp" homepage file under "Default web site"'s original home directory "E: \ Inetpub \ wwwroot" requires a password. 2. no settings allow anonymous access or unexpected changes. 4. First, make sure that the "Anonymous Access" item is checked; in addition, in "edit", "Anonymous User Account", "User Name" should be in the format of "iusr_nodisk" (where "nodisk" is the computer name). In addition, you must also check "allow IIS to control passwords. 3. Your target directory has limited access permissions. This option is only available when the directory is in an NTFS format partition. Right-click it, select "properties", and enter the "Security" window to check whether the list shows the status that allows the "everyone" group to be fully controlled by default. If not, please change back to, 5. Article 2 FTP server for IIS 1. Create the first FTP site for your FTP site ("Default FTP site ") for how to set up and create more FTP sites, refer to the previous operations on the Web server. Note that if you want to use an IP address to correspond to multiple different FTP servers, you can only use different port numbers instead of "Host header name. For an established FTP server, access via a browser will be in the format of "ftp: // 192.168.0.1" or "ftp: // 192.168.0.1: 22 "; in addition to anonymous users (anonymous, FTP in IIS uses the user library that comes with Windows 2000 (you can find "user" in "Start> program> Management Tools> Computer Management" to manage the user library ). Ii. FAQs in this section Q: How do I modify the system prompt information when the FTP server is successfully logged on or exited? A: Right-click the FTP site, select "properties", go to the "message" window, and enter the welcome information after successful logon in the "welcome" area, in "exit", enter the user's farewell message when exiting. Q: Why can't ordinary users log on to the FTP server except the Administrator and anonymous user (anonymous) after the FTP server is created successfully; it can be used normally on other computers. Why? A: By default, normal users do not have the permission to log on to the local machine. To modify the policy, go to "Start> program> Management Tools> Local Security Policy" and select "Left frame> Local Policy> User Privilege assignment ", double-click "Log on locally" in the frame on the right, and add the common users to the list. Article 3 If the SMTP server of IIS is too slow to send free mails on the internet, you may consider using IIS to create a local SMTP server. Whether you are directly connected to the Internet or through a LAN, whether you have a static IP address or a dynamic IP address, you can easily establish it! The method to create an SMTP server under IIS is very simple. You only need to make the "Default SMTP virtual server" in the IIS manager in the started State. In addition, you generally do not need to make any other settings. If you want to use your SMTP server to send mail, you only need to fill in "localhost" in "SMTP" in your e-mail client settings ", it works normally no matter how your IP address changes. When you use your SMTP server to send e-mail, not only do you have a sense of freedom and lightning speed, but it is the best choice for individual SMTP servers! ========================================================== === If you still don't understand it, you can go here to see examples

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.