If it's all one application, the the best bet is probably to hav eone web root and translate the domains to specific URLs in the application. First thing in the request would be to check cgi.server_name and cgi.script_name. If the script is "/" (meaning the bare domain), then lookup the URL associated with the server name and CFLOCATION to it straight away, as long as it's not "/" as well.
Depending on how much logic and control you need over the URLs, you can do in one several places: - with the web server - in index.cfm, before calling Mach-II - in a Mach-II listener specific to this purpose. Chances are good that one of the first two will suit you better. Cheers, barneyb > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Sana Ullah > Sent: Friday, March 12, 2004 4:09 PM > To: [EMAIL PROTECTED] > Subject: [CFCDev] Multiple Domain Names > > Hi Guys > > I have ten domains names for this project each domain name > point to one > of the their own directory . So I needs advice about this > > I am using Mach-II framework > > I should have each small application with their own xml > OR > I should have only one xml file and every thing in one place. > > > Is any other way as well. > > www.abc.com point to webroot/index.cfm > www.abc1.com point to /webroot/txtSMS/index.cfm > www.abc2.com point to /webroot/Classified/index.cfm > www.abc3.com point to/webroot /shopping/index.cfm > > Thanks > Sana > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > > An archive of the CFCDev list is available at > www.mail-archive.com/[EMAIL PROTECTED] > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]