Win2000 IIS5.0 WWW Settings

  

1. Q: What is the difference between entering "http://IP address" in the browser and entering "http://IP address/"? What will they do?

A: No difference! The former format browser will also automatically add "/" to the end! They mean "sequentially" to find and call the "default document" under the corresponding "home directory".

In addition, the "IP address" in this question can also be "domain name"; the truth is exactly the same.

2. Q: When making a web page, is the input of the link "IP address" and the input of "http://IP address" the same?

A: Generally speaking, you can enter both formats, but in fact they are different. In some more special format web pages, adding "http://" and not adding are two different things! In those places, the first format is treated as a directory link under the "current directory"; the second format treats it as a separate website starting from another "root directory."

Therefore, for insurance purposes, it is recommended to add "http://" to the corresponding domain name (or IP address) when you want to link to other sites on the webpage!

3. Q: Why do I use "http://localhost/" to access everything in the "Internet Information Service" (IIS Manager) when the "Default Web Site" does not have an IP address set. However, accessing with "http://127.0.0.1/" will pop up the username, password, and domain verification window.

A: Normal phenomenon! At this point, whether you use "localhost" or "wy" (the name of the machine) you can see the content, but this content is actually the help page of IIS5.0. For security or other considerations, the system defaults to the host name (including localhost and the computer name you entered during installation), and the IP address must have a username and password—in this case, enter “Administrator” and the corresponding password. can.

4, Q: I specified the IP address (such as "192.168.0.1") in the "Default Web Site" of IIS Manager, "http://localhost/" and "httP" ://127.0.0.1/" can not be used; "http://192.168.0.1/" but the verification window pops up! why?

A: In order to understand the reasons more clearly, I tried to analyze it step by step, hoping that it will not be reduced to "Rosie"! ^-^

1 Open the browser at this time, enter the IP address and press Enter. You will find that it will ask you to enter the user and password. Enter the administrator's username and password to enter. Then You can use this IP followed by a "win2000.gif" file name (such as "192.168.0.1/win2000.gif" format), you will be surprised to find that a picture appears, and you do not need to enter other what!

Why is this? (By the way, "http://wy" is available at this time, no password is required.)

2 Then go to the IIS Manager and select "Default Web Site → Right click → Properties → Document ", you can see that there are three "default documents", followed by "default.htm", "default.asp", and "iisstart.asp"; you then go to the "home directory" item, which corresponds to "D:Inetpubwwwroot"; then open "My Computer" and enter the "D:Inetpubwwwroot" directory. Among the many files under it, "iisstart.asp" and "win2000.gif" are also in sight!

Originally, when you were in the browser, if you only entered the corresponding IP address (or domain name), it would automatically search for the "default document" in its corresponding "home directory", so called "iisstart" .asp" file, and the file itself needs a username and password to enter; when you follow the specified file name "win2000.gif", it will go to just find and call this file, and this image file is not encrypted , so you don't need a password or something to enter!

That is to say, this is not a problem at all! Instead, the default call to the "iisstart.asp" file itself is encrypted!

3 How to solve it? Very good! You can change the "home directory" to any other directory you need; you can also copy "default.htm" or "default.asp" or "iisstart.asp" from other directories to this place. Use the original "iisstart.asp"! - You will never see the annoying password window again! :-D

5. Q: Why do I have the same operation as the "default Web site" for "Managing Web Sites", but I don't have access to it? What is the "Management Web Site" used for?

A: Generally we use the "default web site" on the line; if you want to add more sites, just "new" site.

As for the "Management Web Site", its home directory is under "D:WINNTSystem32inetsrviisadmin", which allows you to use the browser to reach the same IIS manager on any client (of course, the server side). The purpose of the operation - that is, remote management of IIS! Very useful!

However, before you use the "Manage Web Site", you must first know that in it, not only the special port number (unlike the default 80 port), but also the default server only. The IP address such as "127.0.0.1" can be accessed; the IP addresses of other servers and workstations belong to the category of "prohibited" access! If you want all machines to be accessible, you need to do the following:

1 Enter IIS Manager and select "Manage Web Site → Right click → Properties".

2 In the "Web site → TCP port" you can see the words "4884", generally do not need to change it; change the "IP address" column to the value you need. That is, the URL for calling "Manage Web Site" should be in the format of "http://192.168.0.1:4884"! (":4884" cannot be omitted; only the 80 port can omit the part like ":80"!)

3 In "Directory Security → IP Address and Domain Name Restriction → Edit", you can see the default Only "127.0.0.1" can access it, and other IP addresses are "access denied". Now you need to re-select (by default, the computer will be) "authorized access", so that you can use a browser to access the "manage web site" on any machine on the network to achieve remote management of the IIS server. Now!

4 Only when the above steps 2 and 3 are satisfied at the same time, you can access the directory specified in the "Management Web Site" you need. - Of course, for security reasons, usernames and passwords must be entered unless you change the default document (or home directory) to something else.

6, IIS other services settings can be implemented by referring to the above methods.

Copyright © Windows knowledge All Rights Reserved