利用家里的高速宽带, 建立个人网络服务器(IIS)-- Version II

来源: st.paul 2010-02-06 15:42:37 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (4407 bytes)
本文内容已被 [ 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

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”