October 11th, 2000, 01:53 AM
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?
October 11th, 2000, 07:01 PM
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.
October 14th, 2000, 02:00 AM
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.