您好一直試圖建立一個wamp服務器,以便人們可以訪問它進行測試 一切工作正常在我的電腦上,我相信我有一切設置正確,但沒有人可以連接到網站,因爲它不能達到wamp服務器放到網上讓任何人訪問
我開我的路由器和我的防火牆端口80
我的主機文件如下
127.0.0.1 localhost
::1 localhost
127.0.0.1 bandicam.com
127.0.0.1 ssl.bandisoft.com
127.0.0.1 btcGame.local
::1 btcGame.local
我的httpd-vhosts.conf如下
#
# Virtual Hosts
#
<VirtualHost *:80>
DocumentRoot "g:/wamp/www"
ServerName localhost
ServerAlias localhost
ErrorLog "logs/localhost-error.log"
CustomLog "logs/localhost-access.log" common
<Directory "G:/wamp/www">
AllowOverride All
Options Indexes FollowSymLinks
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName btcGame.local
ServerAlias www.btcGame.local
DocumentRoot "c:/wamp64/www/btcgame"
ErrorLog "logs/btcGame-error.log"
CustomLog "logs/btcGame-access.log" common
<Directory "/">
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
有沒有其他的事情我需要改變才能讓我的網站在線?
是不是它涉及到需要的屬性? –
還有我需要補充嗎?或者是我的錯? – GregHBushnell
我是否應該給予人們http://btcgame.local/來連接?還是我在這裏很傻? – GregHBushnell