I see what you mean, I think... this was the first approach I took
a couple of years ago when I started working on a multi-user
website.  I determined how everything on the site would look
and work based on the CGI.Server_Name.

It was a little more complicated that what I plan to do.

I'm going to develop the sites independently, which will all
work the same and have similarly structured databases.
If the sites have no functional customization, I can use the
same CMS for all, as well as just dump the SQL for an existing
site, then import the SQL, including data, for a new database.

Then I use the imported data as test data for the site.  Then when
I let the client in to the CMS, they get to learn the CMS by using
the test data... at least that data that I don't clear out for them
after the import.



-----Original Message-----
From: Mark A Kruger [mailto:[EMAIL PROTECTED] 
Sent: Saturday, December 02, 2006 4:21 PM
To: CF-Talk
Subject: RE: Advice needed on how to proceed with app...

We do exaclty this for a customer with "affiliates". 

They actually share a single codebase. When a web request comes in we check
out the first part of the domain string which is like
"affiliateid".domain.com (ie. 888.domain.com).  From that information we can
"set up" the properties of that affilaite site - pages, layout, session,
application name.... Whatever we like. In this manner we can run 40 or 50
individual looking "sites" out of a single IIS site and single code base. It
works fairly well - but naturally there are some trade offs.

-mark 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262639
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to