|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have apache installed on my win98 machine, I also have my machine networked to another machine in my house. On the installed machine I can view wep pages at http://localhost/somepage.html but how do I set it up so I can also view those same pages from a browser on the other computer? I am using file and print sharing between the two computers? Thanks
|
|
#2
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Win 98 network blues |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|