Last week when this thread was brought to me in an email summary of board activity, I had not yet gotten my home network computers to communicate with each other.
Summary of my network: Two computers, router and DSL modem.
Modem is 192.168.1.1 and router is 192.168.2.1, and the router has assigned 192.168.2.3 to my computer with a web server and 192.168.2.2 to my second computer.
Both computers have windows xp, but for nonessential reasons to this post I cannot run the home network wizard and transfer setup data from one to the other.
My Apache Web server on the 2.3 was set to listen on 127.0.0.1:8080, and I used this server to develop online content.
Of course, each computer looks inside itself for the resources found at
http://127.0.0.1/, and cannot see a web site hosted on another computer.
I edited my httpd.conf config file to have the Apache listen instead on 192.168.2.3:80, the home IP for the server's computer, and Port 80, so I don't have to add :8080 to my address.
Having done this, I can now see the web site on both computers at
http://192.168.2.3/. And I have not touched the Hosts file.
I edited both computers' Hosts files to point the fictional domain
http://s.s/ to the 2.3 IP with the second entry:
Code:
127.0.0.1 localhost
192.168.2.3 s.s
With that change to hosts, I can call up my site from either computer using the s.s domain name.
I can share files from the server to the other computer, and if I set a server up over there, I can also share back again..
Does any of this perhaps shed light on the question at hand?
Larry