Re: how to make multiple website on one host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes you can.

Just mirror the additional domains and in your PHP app check the
$_SERVER["HTTP_HOST"] variable.

Hope this helps !

Regards,

Feris
http://top-10.bigspacehosting.com


On Feb 3, 2008 2:20 PM, jeffry s <paragasu@xxxxxxxxx> wrote:

> i am wondering whether this can be done. i know it can.
> is it possible to make one website with the ability to host multiple
> website.
> it is something like website generator. eg: www.shopify.org
>
> let say for example i have a website www.example.org.
> i can point a domain name (www.example1.org) to the server where
> www.example.org hosted,
> and when user visit www.example1.org, it execute the same scripts as
> www.example.org with
> with different themes and website configuration.
>
> anyone have the idea?
>
> thanks
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux