Welcome to WebmasterWorld Guest from 23.20.82.60

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Home web server

     
6:37 pm on Feb 1, 2013 (gmt 0)

New User

joined:Feb 1, 2013
posts: 1
votes: 0


Hello

i have an apache web server installed in my 1st computer and other computer connected to it by ethernet 2nd computer.
My 1st computer is sharing Web.
I want to access to my webpages in my 1st computer trought 2nd computer.
How can i do that.
6:59 pm on Feb 1, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member wheel is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 11, 2003
posts:5069
votes: 12


Probably the easiest is to use your 'hosts' file (google it). You tell computer #2 to look for the website on computer #1, something like this in your hosts file:
192.168.0.8 www.yourwebsite.com

Then when you visit www.yourwebsite.com, the computer will look for it at 192.168.0.8.
7:06 pm on Feb 1, 2013 (gmt 0)

Preferred Member

10+ Year Member

joined:July 14, 2004
posts: 387
votes: 3


or....

just request the site by IP

http://162.168.0.xxx
7:33 pm on Feb 1, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Apr 19, 2002
posts:3196
votes: 12


or if you've named your computers then [computername...]