Ok... so I'm starting to set down an approach
based on all the feedback to this point.
How about this, as far as domain/directory setup goes:
Main Parent Site
----------------
Directory Structure for main parent site:
e:\inetpub\webroot\mobile
Domain for parent site:
mobile.xyz.com
Client Sites
------------
Domains for client sites:
mobile01.xyz.com
mobile02.xyz.com
(This are just subdomains of a domain I own for dev purposes.
The actual sites will be full domains, not subdomains...)
Directory Structure for client sites:
For mobile01.xyz.com...
e:\inetpub\webroot\mobile01
For mobile02.xyz.com...
e:\inetpub\webroot\mobile02
Virtual Directories for client sites in Main Parent Site:
For mobile01.xyz.com, the virtual directory structure will be...
e:\inetpub\webroot\mobile\mobileSites\mobile01 (mobile01 is virtual)
For mobile02.xyz.com, the virtual directory structure will be...
e:\inetpub\webroot\mobile\mobileSites\mobile02 (mobile02 is virtual)
I set up the subdomains above in my DNS and created the sites in IIS.
As a test, I set up an index.cfm in each directory, mobile01 and mobile02
that reads:
<cfif cgi.server_name contains 'mobile01'>
Welcome to mobile01.xyz.com!
<cfelseif cgi.server_name contains 'mobile02'>
Welcome to mobile02.xyz.com!
<cfelse>
Welcome to our mobile website!
</cfif>
If I go to the appropriate domain, I'm getting the appropriate message.
Any improvements I can make to this? Considerations?
(There have been so many alternatives, I need to ask again at this point!)
Thanks for any feedback!
Rick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342532
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm