• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Access local website from another PC

#1
[eluser]Beginers[/eluser]
Hi All,

Is it possible to access your created website local in other computer even the computer accessing the site don't have a wamp or xampp installed? if yes please teach me how to do it. Please anyone here know this?
I know if it is just a static website but the website i am creating is dynamic(involved database).

Regards,
Beginers

#2
[eluser]PhilTem[/eluser]
You're host servers firewall must allow access to port 80. Then you can just access that page using the LAN-IP with the respective IP and *bamm* there's your page.

#3
[eluser]CroNiX[/eluser]
Or you could name it in your hosts file and access it via a name instead of IP

Like if the local machine running the site was 192.168.1.100, in the machines that AREN'T running the site you'd enter into the hosts file:
192.168.1.100 bamboo

Then from that machine if you go to http://bamboo the site will come up. Basically just bypasses DNS.

#4
[eluser]Beginers[/eluser]
Hi PhilTem and CroNiX Thank you works perfectly. But IP address looks silly in the url. How do i name my host file to make it only the site name in the url?

#5
[eluser]CroNiX[/eluser]
My post shows how to turn it into a name. But doing that really depends on your OS on the machines.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.