Posted by gcook on 06/09/05 15:33
paul wrote:
> 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.
Slightly off topic, but I tend to like to do all my testing on my live
server. I set up a user account on the live server, then point apache
to that directory using something like www.fakedomain.com.
Then on my local pc hosts file, I add the line
my.server.ip.address www.fakedomain.com
That lets me surf to www.fakedomain.com on my live server for testing.
[Back to original message]
|