You are here: Re: Separate domain on localhost apache server « All PHP « IT news, forums, messages
Re: Separate domain on localhost apache server

Posted by Daedalus.OS on 06/09/05 02:45

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.

 

Navigation:

[Reply to this 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

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