|
Posted by juglesh on 11/23/05 21:37
Chung Leong wrote:
> Edit your HOSTS file. You will find it in
> C:\Windows\System32\Drivers\Etc\.
your HOSTS probly says
127.0.0.1 localhost
below it, add
127.0.0.2 site2
goto your httpd.conf (in apache's dir, or somewhere nearby)
look for this (around line 150) : Listen 127.0.0.1:80 or something like
it. under it, add
Listen 127.0.0.2:80
near the bottom of httpd.conf, look for the virtualHost stuff. add this
under whatever is there:
<VirtualHost 127.0.0.2:80>
ServerName site2
DocumentRoot "C:/My Documents/_websites/folderforSite2/www/"
</VirtualHost>
Thats what I do, I have a test host for 23 sites that way, just adding
1 to the IP each time. If there are less steps i could take, I'd like
to know!
--
j
[Back to original message]
|