Reply to Re: Separate domain on localhost apache server

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация