Posted by paul on 06/09/05 03:22
Daedalus.OS wrote:
> You can configure IP-based or name-based virtual host with apache. You can
> have several different web sites on the same or different IP address that
> will be associated with their own IP address and/or domain name. You could
> have IP-based virtual host with www.site1.com listening to your IP address
> and your localhost listeing to 127.0.0.1 ...
>
> http://httpd.apache.org/docs/vhosts/name-based.html#using
>
>
> Dae
>
>
> "paul" <paul@not.net> wrote in message
> news:LNydneztEf8l_TrfRVn-jA@speakeasy.net...
>
>>I want to protoype php & html for a second domain on my PC's localhost
>>winxp apache server for a second web site. Currently I browse to
>>http://localhost/ and it loads index.php, on the real site it's
>>http://www.site1.com/
>>
>>Is there a solution? I don't want to point to a subfolder or specific
>>index2.php then have everything written that way. Er, I guess I could do
>>index2.php for now but would still have all my files jumbled together.
This is mostly only for in-house testing. I don't have any domains
pointing to my IP. Would I set up another tcp/ip connection with a
different IP adress to accomplish this distinction?
I guess I can just edit the DocumentRoot temporarily while working on
this project.
Navigation:
[Reply to this message]
|