You need to do this in your web server (IIS or Apache) using re-write rules. Apache will do this for free, IIS requires something like ISAPI ReWrite.
DH On Jun 7, 2011, at 10:22 AM, michelle dupray wrote: > > I'm trying to get: intro.mysite.com to point towards > www.mysite.com/intro.cfm > > > MIchelle > > On Tue, Jun 7, 2011 at 2:20 PM, Eric Nicholas Sweeney < > [email protected]> wrote: > >> >> Cflocation.... ? >> >> <cflocation url="http://www.mysite.com"> >> >> >> What exactly are you trying to do? >> >> - Nick >> >> -----Original Message----- >> From: Michelle Dupray [mailto:[email protected]] >> Sent: Tuesday, June 07, 2011 1:00 PM >> To: cf-newbie >> Subject: Setting Up a Subdomain in a Coldfusion Site >> >> >> I'd like to set up a subdomain for my site. Let's say the subdomain is >> intro.mysite.com. Once the hosting company sets up the subdomain on there >> end, what code can I use to get intro.mysite.com to redirect to >> www.mysite.com/intro.cfm on my application.cfm file? >> >> Thanks! >> >> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5285 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
