PDA

View Full Version : [ubuntu] How to see localhost site in the other networked computers



hannah187
August 8th, 2011, 11:54 PM
Hi,
I have developed a site in localhost in my laptop.
Here are the specs:
Ubuntu 11.04, Joomla! 1.7, Db Ver: 5.1.54-1ubuntu4, PHP Ver: 5.3.5, Web Server Apache/2.2.17

This laptop is connected to a wi-fi network.
Task: I like to see this local site from my laptop to other desktop computers in the same network.
I understand that I need to do some changes in /etc/hosts

Please advice what changes I need to do to be able to see my localhost site in the network.

Regards

wojox
August 9th, 2011, 12:14 AM
Can't you connect with the local adress? Use


ifconfig

It will show you. Mine is


inet addr 192.168.0.36

hannah187
August 9th, 2011, 12:19 AM
Can't you connect with the local adress? Use


ifconfig

It will show you. Mine is


inet addr 192.168.0.36

Legend.. that did it..

Much love