Re: how to make multiple website on one host
| From: | Feris Thia C. | Date: | Sun, 03 Feb 2008 19:33:08 +0000 |
| Subject: | Re: how to make multiple website on one host | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268604@lists.php.net to get a copy of this message | ||
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@gmail.com> 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
>