Pretty much that's you're only option unless your host is willing to set up
multiple virtual servers (most aren't).

You probably don't need anything in the root application.cfm - you can do
your redirect using nothing but the CGI variables.  The only (minor)
downside is that your URL's will be a little longer since every link will
include the site/directory name.

Jim Davis

  _____  

From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 11, 2004 11:28 PM
To: CF-Talk
Subject: Multiple Sites / 1 Hosting Account

I have a shared hosting account and have two domains pointed at the account.
I want to run both sites independantly... Is it best to use a quick "cfif"
in the root level index.cfm to push the user to the right site? As long as
the cfapplication tags have unique name attributes the applications should
be kept independent, yes? It would look like this:

ROOT
-Application.cfm
-index.cfm
SITE1
   -Application.cfm
   -index.cfm
SITE2
   -Application.cfm
   -index.cfm

How do you handle this, if you are in a similar situation? These are just
personal sites, nothing of importance really...

Thanks!

Mike

  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to