Yes you can do this. You need to have multiple domains pointing at the same domain, so that
http://www.site1.com and http://www.site2.com point to the same IP address. This is done by having your domain regitered with that IP. When a person browses to either site, a CF script in your index.cfm page will do the redirecting. <cfswitch expression="#cgi.HTTP_HOST#"> <cfcase value="www.site1.com"><cflocation addtoken="no" url="http://www.site1.com/site1/"></cfcase> <cfcase value="site1.com"><cflocation addtoken="no" url="http://site1.com/site1/"></cfcase> <cfcase value="www.site2.com><cflocation addtoken="no" url="http://www.site2.com/site2/"></cfcase> <cfcase value="site2.com"><cflocation addtoken="no" url="http://site2.com/site2/"></cfcase> <cfdefaultcase> <h1>Error: 404</h1><br> URL not found<br> <i>Please check your URL and try again.</i> </cfdefaultcase> </cfswitch> - Matt Small -----Original Message----- From: Martin Wright [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 10:06 AM To: CF-Talk Subject: Muliple Domain Pointers and Redirection I posted the msg below a little while back, but having looked at the answer realised it was only a partial solution. In other words it's the masking rather than the redirection I'm looking for help with :) Can it be done? -- Martin Wright -----Original Message----- From: Martin Wright [mailto:[EMAIL PROTECTED]] Sent: 20 June 2002 16:06 To: '[EMAIL PROTECTED]' Subject: Muliple Domain Pointers and Redirection Forgive the elementary questuion - just getting to grips........... Where you have multiple domain pointers on a web site can CF arrange redirection such that: www.site1.com physically redirects to www.site2/site1 BUT masks this by showing just www.site1.com or even www.site1.com/site1 in the address bar of the browser? And site2 etc............. I know web forwarding can do this by using frames. However, when I tried the 4Guys tute doing it in ASP (Vbs) I could get the redirection but not the masking. ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

