Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
IIS Win2000 server and NT Server use three parameters to determine which Web site's data is routed to the browser: IP address, host name, and TCP port.
When we enter xxx.vool.cn in the URL bar of the browser (for example, not a pornographic site, the browser will query the IP address of xxx.vool.cn, so our server will outline it, your IP address, and then the browser will be the URL of the data packaging, passed to the query to the IP address of the 80 port (the default Web Service port, if your Web service does not use port 80, you need to tell your friends to add a colon and port value after the domain name, like this: xxx.vool.cn:8080. Your Web server will receive this URL request and then determine which home directory to read according to the destination address (your Internet IP), the TCP port number, and the host name in the URL that is indicated in the packet.
Here's a step-by-step description of the actual configuration:
I assume that you have applied for two domain names: 1.vool.cn and 2.vool.cn, the following steps will allow the user to visit the 1.vool.cn to read the site under C:\WWW1, visit 2.vool.cn when the site read C:\www2, and use 1.vool.cn : 8080, 2.vool.cn:8080 or directly using IP address access (without the port number) to read the C:\www8080 Web site. The above path and host name, port number can be changed on demand.
1, first we set up three test directories, set up in C: www1,www2,www8080 three directories, and then in three directories, respectively, copy three different HTM files, change them to Default.htm
2, open the Intenet Service Manager, you will see a name for the default site site, in security reasons I easy you first turn it off (do not delete, or re-establish will be very troublesome), click the "Default Web site" Press the right mouse button, or in the toolbar click the Stop button. When others visit your domain name or IP address will be wrong, do not worry, continue to the next step.
3, click your computer name, press the right mouse button, select "New"-〉 "Web Site", Win2000 will pop up a Web Site Wizard, NT pop-up a dialog box, NT content is smaller than 2000, so the following all take 2000 for example. Press Next, fill in the description of the website, this is only the explanation, will appear in the Internt Service Manager's interface to mark you to have the website, casually fills anything on line, I like using the domain name to mark the website, therefore fills in 1.vool.cn, presses "next".
4, in the "Enter the IP address used by the Web site" column, select "All Unassigned" to keep the default, so that you can access the site either by using your internal IP address or by using an external Internet IP address, even if your external IP address changes. Do not choose your external IP address, or after each dialing you need to change the site's IP, so "peanut shell" to bring the convenience of the disappeared. The TCP port used by this web site setting remains unchanged, that is, 80 silently. Then fill in the main header of this site column: 1.vool.cn. SSL port remains empty, this setting I'll talk about later. Press Next.
5, enter the C:\WWW1 in the "Path" column or press "Browse" to select the directory where the Web site resides. Press the next step.
6, the Access Rights section does not make any modification. Press Next
7, OK, press "Finish", at which point you should see an extra 1.vool.cn in Internet Service Manager under your computer name.
8, open the browser, in the URL bar input 1.vool.cn, you should be able to see the C:\WWW1 directory Default.htm page. If the problem please check whether the directory is by Default.htm. And whether you have just done the right thing. Check the following methods: in your website name on the right mouse button, pop-up site Properties page, temporarily do not control other settings, check: Under the "Web site" IP address, port, press the "Advanced" key, view the "Host header Names", Exit the Advanced Settings dialog box, click the Home directory, view the "Local path", click the "document" Viewing the default document is "Default.htm". In no way, call me door-to-door service, reimbursement round-trip fares, 200 per hour engineering fee ... US $
OK, already set up a website, but then use 2.vool.cn and IP address access or there is a problem, do not lose heart, we set the following 2.vool.cn. In fact, it is very simple, repeat 3-7 steps is 1.vool.cn change into 2.vool.cn will c:\www1 to C:\WWW2 just. Analogy, I'm sure you'll get started quickly, but don't overdo it, I know you'll try 8080, but you'll hit the wall.
Below we need to create a third site, this site regardless of whether you use the IP address, or any of the above domain name plus 8080 of the port number can be accessed.
Repeat 3-7 steps, but do not repeat in step 4th, do not fill in the main header of this site!!! , the column must be left blank.
Well this time, if you use IP address access will see the www8080 directory default.htm, but use 1.vool.cn or 2.vool.cn see WWW1 or WWW2, very magical bar. However, an error occurs with the 1.vool.cn:8080, 2.vool.cn:8080, or IP address plus the 8080 port number. This is normal, see the following steps:
9, press the right mouse button on the third website, select "Properties", pop-up Properties dialog box, press "Advanced" pop-up website advanced Properties dialog box, (hehe, We have been playing very advanced. In the list under "Multiple identities for this site" you will see one of the contents: IP address: All Unassigned, Port: 80, Host header: null. Then press add to eject the Advanced Site Identification dialog box. In the TCP port, fill in 8080, leave the IP address unassigned, host header names blank, press OK, then OK, and then OK. Then open the browser, enter 1.vool.cn:8080, make sure that the site is working properly.