Forum Moderators: phranque
NameVirtualHost 192.168.0.1:80
<VirtualHost 192.168.0.1:80>
ServerName host_1
DocumentRoot c:/www/host_1
</VirtualHost>
<VirtualHost 192.168.0.1:80>
ServerName host_2
DocumentRoot c:/www/host_2
</VirtualHost>
i can't open the host_2 in IE. when i'm pinging host_1 it's replying but host_2 NO!
where is the problem?
PS: using different IP for each host is working just perfect...
on EVERY windows client, you want to connect to your serwer
and modify /etc/hosts or named or djbdns config on *nix ones.
or just ask your ISP to add similiar entries for your LAN in his DNS serwer.
ask the administartors of these to add config for your LAN to the DNS zone file.
and of course every client in your LAN should have the same DNS setup.
and of course you can set up your own DNS server and make your LAN use it.