我正在尝试在其他设备(主要是移动设备)上查看我的网站。我使用apache 2.4.17使用Wampserver 3.0。我也使用wampserver中的虚拟主机功能查看我的网站,我的代码不在wamp64 \ www \文件夹中,而是位于我的文档文件夹中。我已经能够允许其他设备查看wampserver默认页面,但每当我去我的网站,我收到“恰好的DNS服务器地址无法找到”在另一台设备上运行wamp server 3.0虚拟主机
这是在httpd-vhosts.conf文件
<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp64/www
<Directory "C:/wamp64/www/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName fitly
DocumentRoot c:/users/juan/documents/fitly
<Directory "c:/users/juan/documents/fitly/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
工作就像一个魅力和感谢的解释和一步一步的过程。 –