#1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2000
    Posts
    669
    Rep Power
    14
    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. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    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.

IMN logo majestic logo threadwatch logo seochat tools logo