Has anyone had any problems relying on the 'server_name' variable? I am
trying to find a way to host 2 (or more) sites on one hosting account. Just
wondering how reliable it is.
This would be the index.htm:
<cfif server_name is 'www.Domain1.com'>
<cflocation url="/domain1">
<cfelseif server_name is 'www.domain2.com'>
<cflocation url="/domain2">
</cfif>
Or, if anyone has a better idea, can ya share? I would prefer not to pay
for 2 or more accounts for sites that aren't bringing in any money right
now.
Thanks,
John
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.