ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Location, Location, Location: Tips for Storing Web Site Files
Subject:   Visiting your virtual sites from another computer
Date:   2003-05-18 19:17:44
From:   wkolean
Good article! Sometimes, however, you need to check your site on another computer, like a PC, and it doesn't seem to work if you only use 127.0.0.1. If you have a fixed IP address, you can add your IP address to NameVirtualHost:


NameVirtualHost 127.0.0.1 192.168.1.100


and then add your IP address to each VirtualHost:


<VirtualHost test.icalshare.com 192.168.1.100>
...
</VirtualHost>


Finally, if you want to test your site on a PC, edit your HOSTS file, which for Win2000 is in C:\WINNT\SYSTEM32\DRIVERS\ETC


and add:


192.168.1.100 test.icalshare.com


1 to 3 of 3
  1. Visiting your virtual sites from another computer
    2004-02-17 21:49:47  rmcgonegal [View]

    • I can't get this to work!!!
      2004-04-10 22:34:14  bcamp [View]

      • I can't get this to work!!!
        2009-08-30 14:01:15  TEITCU [View]

  2. Visiting your virtual sites from another computer
    2004-01-02 20:51:31  anonymous2 [View]

  3. Dynamic DNS also works
    2003-05-19 14:25:10  icalshare [View]

1 to 3 of 3