利用家裏的高速寬帶, 建立個人網絡服務器(IIS)-- Version II

本文內容已被 [ st.paul ] 在 2010-02-06 20:39:39 編輯過。如有問題,請報告版主或論壇管理刪除.

利用家裏的高速寬帶, 建立個人網絡服務器(IIS)-- Version II

當今多數庭都有CABLE甚至光纖寬帶, 足夠HOST一些簡單的網頁/站或圖片供親朋好友瀏闌和下載.還可將WEBCAM的輸出連到網頁, 使用IE實時監控家裏的狀況. 如果加上DATABASE SERVER, HOST一些小公司的網站也綽綽有餘.
為了方便敘述和實際操作, 以下使用E文. 本文旨在幫助電腦愛好者利用家裏的高速寬帶和現有PC建立個人網絡服務器, 僅此而已.
I. Hardwar/software requirements and ISP

Your ISP (Comcast, Verizon, etc, not clear.com) usually allows port forwarding. Typically, your setup is Cable – Modem - Router (or Wireless router) - PC. If you have a modem with built-in router, such as Motorola SBG900, the setup is basically same but instead of login to router setup page, you will login to modem setup page.

If your PC directly connects to the modem (not with router) and gets the external IP address assigned by your ISP, you already have capability to host web sites.

You can use a server or a regular PC, running any versions of Windows that supports IIS (Internet Information Services), such as Win XP Pro, Win 7 Pro, etc. (Read Section IV below). You need to keep your server/PC running so that other can visit your web sites.

II. Reserve LAN IP and Setup Port Forwarding in your Router

1. Find your router’s default IP, User ID and Password in the User Manuals or by google. For Motorola router, it could be 192.168.1.1 or 192.168.100.1. The User ID and password for Motorola router usually are: admin, motorola (case sensitive).
2. In IE or other Internet browser, type http://192.168.1.1 (or the correct IP) and press Enter to display the login window of the setup page. Enter correct User ID and password.
3. Write down the WAN IP address or external IP address that the ISP assigns to your router. It is something like 71.192.230.203. If you are not sure, there are many IP check web sites that you can use to find out your WAN IP. You can also browse to this bandwidth test site http://www.bandwidth.com/tools/speedTest/ , click on Start Test and your IP address will be displayed correctly.
4. You need to reserve a static LAN IP for your PC that will be used to run IIS. Your LAN IP starts with 192.168.0.1. Enter a LAN IP for static IP staring address, such as 192.168.0.10 in the LAN | DHCP Server configure tab to reserve for static LAN IP. This setting is very different in routers. You should be able to google ‘your router + port forwarding’ to resolve your particular issues.
5. You now need to forward web requests to 192.168.0.10 via the Port Forwarding tab so that when people visit your external IP, they will actually visit 192.168.0.10. You will setup your Port Forwarding like this: Name=MyWeb; Port Start=80; Port End=80; LAN IP=192.168.0.10; Enable=Yes
6. Check the firewall of your router and make sure http request/response (port 80) is allowed to pass through.

III. Setup static LAN IP Address in your PC
(To be continued)
IV. Configure/Install IIS in your PC
(To be continued)
V. Setup a sample photo web site
(To be continued)
VI. Security Consideration
(To be continued)
VII. Setup your own SMTP Mail Server
(To be continued)



總結設置要點如下(English to speed up):

1. Login your modem setup page. Reserve a static IP address, such as 192.168.0.100. Also write down your WAN IP Address, for example 71.192.232.211

2. Configure Port Forwarding: Port Start=80, Port End=80; LAN IP Address=192.168.0.100; Enable=Yes (or simply configure a bypass for the LAN IP)

3. Enable firewall but open TCP 80:80 (http)

4. Setup static IP address (192.168.0.100) in one of your PC/Server that has IIS installed/enabled. Restart the PC/Server as prompted.

5. Copy/paste a .jpg file or a html file to C:Inetpubwwwroot, such as c:Inetpubwwwrootmyphoto.jpg

6. If you have the WAN IP, browse to http://71.192.232.211/myphoto.jpg and you should see your photo. If you do not know your WAN IP, use a bandwidth test site to find out, such as http://www.bandwidth.com/tools/speedTest/

7. Go to http://www.dyndns.com/ to apply for a free domain name (2nd level) and associate it to 71.192.232.211

8. Now the URL of your photo page will be something like: http://MyFoto.dyndns.net/myphoto.jpg

Remember to have your PC/Server on (not sleep) so that others can visit your site.

所有跟帖: 

III. Setup static IP Address in your PC -st.paul- 給 st.paul 發送悄悄話 (1127 bytes) () 02/06/2010 postreply 16:10:09

補充一點。 -小分隊員- 給 小分隊員 發送悄悄話 小分隊員 的博客首頁 (148 bytes) () 02/07/2010 postreply 20:02:18

回複:利用家裏的高速寬帶, 建立個人網絡服務器(IIS)-- Version II -649_777- 給 649_777 發送悄悄話 (42 bytes) () 02/07/2010 postreply 21:30:27

不會吧.BELL CANADA應該可以的, 可能有的ROUTER比較麻煩. -st.paul- 給 st.paul 發送悄悄話 (24 bytes) () 02/07/2010 postreply 23:13:02

IV. Configure/Install IIS in your PC -st.paul- 給 st.paul 發送悄悄話 (1446 bytes) () 02/08/2010 postreply 16:37:28

謝謝分享,我設置成功了 -出入自在- 給 出入自在 發送悄悄話 出入自在 的博客首頁 (246 bytes) () 02/21/2010 postreply 04:46:28

回複:利用家裏的高速寬帶, 建立個人網絡服務器(IIS)-- Version II -nothingtosay- 給 nothingtosay 發送悄悄話 (17 bytes) () 02/21/2010 postreply 22:22:52

回複:利用家裏的高速寬帶, 建立個人網絡服務器(IIS)-- Version II -NothingToSay- 給 NothingToSay 發送悄悄話 (12 bytes) () 02/21/2010 postreply 22:23:26

回複:利用家裏的高速寬帶, 建立個人網絡服務器(IIS)-- Version II -bluemoonblog- 給 bluemoonblog 發送悄悄話 (185 bytes) () 02/21/2010 postreply 22:52:36

請進http://bluemoon.blogdns.com -bluemoonblog- 給 bluemoonblog 發送悄悄話 (185 bytes) () 02/21/2010 postreply 22:54:37

最大的問題是上行速度跟不上 -sxtra- 給 sxtra 發送悄悄話 (114 bytes) () 02/22/2010 postreply 14:18:30

最大的問題是耗電,還不如一月十塊錢讓人家做了。 -yuhaian- 給 yuhaian 發送悄悄話 (0 bytes) () 03/10/2010 postreply 23:09:34

回複:利用家裏的高速寬帶, 建立個人網絡服務器(IIS)-- Version II -normalman- 給 normalman 發送悄悄話 (108 bytes) () 03/15/2010 postreply 17:13:51

Use dynamic DNS:dyndns.com -出入自在- 給 出入自在 發送悄悄話 出入自在 的博客首頁 (0 bytes) () 03/20/2010 postreply 13:16:50

回複:http://www.job-interview-questions-answers.com/top-10-web-hos -jack1972- 給 jack1972 發送悄悄話 (92 bytes) () 03/28/2010 postreply 11:51:43

回複:利用家裏的高速寬帶, 建立個人網絡服務器(IIS)-- Version II -zs-11- 給 zs-11 發送悄悄話 (117 bytes) () 04/01/2010 postreply 07:55:25

請您先登陸,再發跟帖!