Robert Rawlins wrote:
> How would you guys go about creating these subdomains? presumably I don't 
> want to actually create records in my own domains DNS settings as these would 
> take 72 hours to propagate so can I perhaps do this with some type of URL 
> rewrite? or perhaps a wildcard subdomain and I then use server side code CGI 
> scope variables to to display the correct branding?

That's how I'd approach it.  Put a wildcard entry that points to a 
dedicated IP for your portal app, then look up the hostname 
(cgi.server_name) against the database to determine which client it is. 
  If someone wants to mask their own domain, give them a place to 
specify that in their account so it can find their account against the 
cgi variable (and they would have to CNAME that host to one of yours in 
case you have to change the IP at some point as you mentioned).

There's really no need to muck with the DNS entries for each new client 
that joins the system.


-- 
Justin Scott | GravityFree
Member of the Technical Staff

1960 Stickney Point Road, Suite 210
Sarasota | FL | 34231 | 800.207.4431
941.927.7674 x115 | f 941.923.5429
www.GravityFree.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320450
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to