jeffry s 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
Jeffry,
Yes, I built a site 7 years ago that could do this.
The primary site was like and administration/management console.
Then, in the background, there were a number of scripts that would run
the secondary website. All the secondary websites used the same source
directory. They referred to the $_SERVER['HTTP_HOST'] setting to figure
out which host name they were coming from / going to.
The site is still running today. Mind you that it needs some major
overhauling, but it is still used by about 400 domains clients.
Jim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php