
September 14th, 2000, 11:14 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
So I assume your apache installed box had DIRECT internet connection, let's call this machine box1 with local IP - 192.168.0.1.
The other box should then called box2 with - 192.168.0.2.
The nameserver and gateway of your box2 should be pointed to 192.168.0.1. Also set the domain of both boxes to foobar.com. At this point, your box2 should be able to access the webpage using IP -> http://192.168.0.1/somepage.html
Next, edit C:WINDOWSHOSTS at box1 and box2 and put this line:
192.168.0.1 box1.foobar.com
192.168.0.2 box2.foobar.com
If this file is not found, create it manually.
This method is untested, so don't blame me if it doesn't work out.
|