Forum Moderators: phranque

Message Too Old, No Replies

virtual hosts over LAN

         

daktau

10:44 am on Feb 5, 2010 (gmt 0)

10+ Year Member



Hi,
I apologise if this has come up in the past but I cannot find out how to achieve what I want.

I need to serve out websites accross my lan using virtual hosting.

On the machine where I have apache installed everything is running fine eg. [website.local...] serves up the correct website.

How do I access this site from another machine on my network?

Can anyone tell me how to do this or point me in the direction of some good links?

cheers,
George

g1smd

12:34 pm on Feb 5, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



In the HOSTS file of each machone that needs access, add

192.nnn.nnn.nnn website.local


where the IP address is that of the machine serving the pages.

daktau

1:03 pm on Feb 5, 2010 (gmt 0)

10+ Year Member



Thank you thats works a treat.