我正在尝试使用Apache在我的系统上安装WAMP x64来托管我自己的网站(Wampserver 3.1.0 x64)
我有一个域名,我已经指出了我自己的IP地址。 我有一个UPC连接盒,DMZ打开,端口80转发 我在端口80上运行apache,并为我的域设置虚拟主机
<VirtualHost 192.168.0.157:80>
ServerName wolfpaw.hu
ServerAlias www.wolfpaw.hu
ServerAdmin a@b.c
DocumentRoot "F:/wamp64/www"
ErrorLog "logs/errlog.log"
CustomLog "logs/custlog.log" common
<Directory "/">
Deny from all
Allow from 127.0.0.1
Allow from 192.168.0.157
</Directory>
</VirtualHost>
一直不起作用。
对我来说最奇怪的部分是我不能从我试图托管它的PC上ping wolfpaw.hu
但是从外部PC(在办公室)我可以ping并跟踪它没有任何问题。
C:\Users\...>nslookup wolfpaw.hu
...
Non-authoritative answer:
Name: wolfpaw.hu
Address: 80.99.124.211
C:\Users\...>ping wolfpaw.hu
Pinging wolfpaw.hu [80.99.124.211] with 32 bytes of data:
Reply from 80.99.124.211: bytes=32 time=12ms TTL=55
Reply from 80.99.124.211: bytes=32 time=9ms TTL=55
Ping statistics for 80.99.124.211:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 9ms, Maximum = 12ms, Average = 10ms
C:\Users\...>tracert wolfpaw.hu
Tracing route to wolfpaw.hu [80.99.124.211]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms mllnc3e4bcb1.fixip.t-online.hu [195.228.188.177]
2 1 ms 1 ms 1 ms 188.36.252.102
3 2 ms 2 ms 1 ms 81.183.3.142
4 1 ms 1 ms 1 ms 81.183.3.143
5 9 ms 1 ms 1 ms 81.183.2.141
6 2 ms 2 ms 2 ms hu-bud03a-rc1-ae4-0.aorta.net [84.116.137.13]
7 2 ms 2 ms 2 ms hu-bud-bp04-ra1-bundle-ether1-2035.aorta.net [84.116.242.65]
8 2 ms 1 ms 1 ms catv-89-135-214-54.catv.broadband.hu [89.135.214.54]
9 10 ms 11 ms 9 ms catv-80-99-124-211.catv.broadband.hu [80.99.124.211]
Trace complete.
我不会非常惊讶地发现我的路由器或可能的提供商应该受到责备,但我真正想知道的是为什么我可以从另一台PC成功ping我的域名而不是我是从哪个主持的?