Can you ping xyz.local from other computers on your network?
If the ping command doesn't resolve that name to the correct IP, you'll either need to add it to your router, or each of your computer's hosts files.
WAMP server with the custom URL
-
13-10-2022 - |
質問
I want to keep my WAMP server URL as xyz.local, which can be allow from all my Network. my server IP address is 192.168.1.50 and it work on port 8080.
I made the setting as - on the host file
127.0.0.1 localhost
127.0.0.1 xyz.local
on the httpd.conf file
Listen 0.0.0.0:8080
ServerName localhost:8080
ServerName xyz.local:8080
on the httpd-vhosts.conf file
<VirtualHost *:8080>
DocumentRoot "C:\wamp\www"
ServerName xyz.local
</VirtualHost>
Now from all the computer in my network I can access the page as http://192.168.1.50:8080
and from the WAMP server computer I can access as http://192.168.1.50:8080
and http://xyz.local:8080
If I try to access the page as http://xyz.local:8080
from another computer I got a message as "This page can't be displayed"
Please help me out with my error.
Thanks in Advance.
解決
所属していません StackOverflow