内网使用花生壳
我用的是网通adsl+路由器,办公室共有5台电脑,在我的电脑查询ipconfig信息如下:
请问一下,可不可以通过花生壳在我的机器上建个网站,
路由器要怎么设置?IIS要怎么设置路由器?
我已经有了一个网站,现在在办公室局域网的环境下可以使用,我想让本市乃至其它省市都可以访问到我的网站。
Microsoft Windows [版本 5.2.3790]
(C) 版权所有 1985-2003 Microsoft Corp.
E:\Documents and Settings\Administrator> ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : sytx
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : attn
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . : appn
Description . . . . . . . . . . . : National Semiconductor Corp. DP83815/816
10/100 MacPhyter PCI Adapter
Physical Address. . . . . . . . . : xx-xx-xx-xx-xx-xx
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.104
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 202.96.64.68
202.96.75.68
202.96.128.68
202.96.134.188
Lease Obtained. . . . . . . . . . : 2007年3月22日 10:12:38
Lease Expires . . . . . . . . . . : 2007年3月22日 12:12:38
E:\Documents and Settings\Administrator>
[解决办法]
1。在路由器上加一个端口指向你机器的IP
2。设置本机的iis添加这个端口
3。本机打开花生壳程序
4。外网访问你的网站http://xxx.vicp.net:端口号/
[解决办法]
这种方法我以前用过了,可以的哦~~~
[解决办法]
使用路由的dmz功能
[解决办法]
我也想请教一下:你的域名是否需要申请的?另外你的ip是固定的么?
[解决办法]
mark study
[解决办法]
TO sytxzg
默认就是80啊,可以的,除非别人也要用这个端口,不然不会影响别人的。
To xiaoku
去花生壳的网站上申请,google上搜下就是了