#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 1999
    Location
    Medellin, Colombia
    Posts
    4
    Rep Power
    0
    hello

    I'd like to replicate a site with it's URL so i can type in my browser www.myclientssite.com
    eventhough the site is still in my pc.

    I use win 98 and Apache

    I know this has something to do with host files under c:/windows
    and with <virtualhost> directive in apache.

    Can somebody help me?

  2. #2
  3. SwollenMember
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Location
    the master control
    Posts
    264
    Rep Power
    15
    the only thing i can think of is to get ie to cache all of the pages, then work offline...but otherwise you are making a request via http.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    5
    Rep Power
    0
    Well, first, in order to make your computer serve files for 'www.myclient.com' you could put the site name into your c:windowshosts file like this:

    <IP address> <site name>

    But that would require that your system has an IP. You could try the loopback address which is (IIRC) 127.0.0.1. Anyway, this will screw up normal name resolution for this site.

    Look at the virtual name server info at apache.org. It's pretty clear.

IMN logo majestic logo threadwatch logo seochat tools logo