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

    Join Date
    Jul 2000
    Rep Power
    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
    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 -

    The other box should then called box2 with -

    The nameserver and gateway of your box2 should be pointed to Also set the domain of both boxes to foobar.com. At this point, your box2 should be able to access the webpage using IP ->

    Next, edit C:WINDOWSHOSTS at box1 and box2 and put this line: box1.foobar.com 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