you could map all domains and subdomains to the website.
in the root page - check for domain and redirect to the appropriate folder.

www.domain.com
www.sub1.domain.com/sub1/
www.sub2.domain.com/sub2/

ie if you request
www.sub1.domain.com/pageA.cfm
the root application.cfm catches the subdomain and redirects to
www.sub1.domain.com/sub1/pageA.html

(I remember some systems like this a couple years back).

If the browser you are using does not include the http_host information.
www.sub1.domain.com/sub1/pageA.html still works.
but your 404 page might have a list of available subdomains.

Eric

From: Thane Sherrington <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: CF-Talk <[EMAIL PROTECTED]>
Subject: RE: Disguising the URL
Date: Fri, 07 Jun 2002 13:38:21 -0300

At 05:09 PM 6/7/02 +0100, Ian Tait wrote:
 >Well...
 >
 >Are the sites being accessed as www.domain.com, www.sub1.domain.com etc,
 >with each subdomain is in its own directory,  if that is the question - 
then
 >virtual hosts are the way, no?

They are being accessed this way:

www.domain.com (shows as www.domain.com/domainname)
subdomain1.domain.com (shows as www.domain.com/subdomain1)
etc.

Each domain is in a folder.  So the tree looks like this:

/domain
/subdomain1
/subdomain2

Some are off the main folder:
/domain/subdomain3

etc.

T


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to