Hi, all.

We had some discussion awhile back on how best to set up a site
that would function as a completely dynamic site for many companies.

I found what turned out to be a temporary solution for the initial trial
site,
but ran into problems trying to define the site with a second company in the
mix.

To start:

- Using CF 4.5 / Win 2000 Server / MySQL 4.0.7

- Using registration company to handle my DNS, then forward (masked)
  my domains to my server, where I set up the sites with virtual directories
  (This is mostly what complicates this setup.)

I thought when I began this that I'd be able to define the company called
by a user from the domain name they used, such as www.BodafordHomes.com.
However, since it's a masked forwarded address representing
http://66.79.46.138/cfdocs/rea/index.cfm, all the CGI info I might could use
remains the same.  Can't figure a way to get to the www.BodafordHomes.com
as a variable of some type for identifying the company whose info should be
displayed.
I do have the masked domains setup with the AgentID initially in the URL:
http://66.79.46.138/cfdocs/rea/index.cfm?AgentID=1 , but if I use the
variable
URL.AgentID to define the company (an agent's website), then that variable
has to be present in every link in the site...that's a pain...

Is there some way to reference the domain name, even though it's
a forwarded masked domain name?

Thanks for any input...

Rick


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to