Hi,
I'm Dinesh and Im new to Apache.
With apache tutorials I had made some virtual host and I have configured the host file in windows folder. I works great, but when I test in other computer which is connected to lan, I can view only the default website but not the other virtual hosts I made. When I refer the tutorials im getting confused with it. Can u please provide a soluton for it.
My Apache httpd.conf files goes here
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.2>
ServerName "site1"
DocumentRoot "SitePath"
</VirtualHost>
<VirtualHost 127.0.0.3>
ServerName "site2"
DocumentRoot "SitePath"
</VirtualHost>
<VirtualHost 127.0.0.4>
ServerName "Site3"
DocumentRoot "SitePath"
</VirtualHost>
<VirtualHost 127.0.0.5>
ServerName "Site4"
DocumentRoot "SitePath"
</VirtualHost>
My Hosts File is configured like this
127.0.0.1 localhost
127.0.0.2 site1
127.0.0.3 site2
127.0.0.4 site3
127.0.0.5 site4
All the sites are working great but when tested in lan or other computer which is connected through lan it doesn't show anything. can u please provide a solution for it.
If possible can u please provide solution for not only intranet as well as internet if possible.
Awaiting for your response.
Thanks.