there isn't a centralized way of doing so without using a dns server that I am aware of. I just use a local DNS server. Then you set up your dev machine to use the local dns as a primary dns and the real dns as a secondary dns.
Eric > -------- Original Message -------- > Subject: RE: multiple sites with cf 8 and iis > From: "Adrian Lynch" <[EMAIL PROTECTED]> > Date: Mon, August 20, 2007 11:12 pm > To: CF-Talk <[email protected]> > > On my machine it's in C:\WINDOWS\system32\drivers\etc. > > And talking of the hosts file. Does anyone have any ideas about setting up a > hosts file like system for a LAN without running a DNS server? > > I'd like a centralised way of defining IP/address mappings that's as simple > as the hosts file. > > This will be for a handful of windows machines. > > Cheers. > > Adrian > > -----Original Message----- > From: Matthew Smith > Sent: 21 August 2007 05:16 > To: CF-Talk > Subject: RE: multiple sites with cf 8 and iis > > > Where is "etc/hosts"? Thanks for the help. > > -----Original Message----- > From: James Holmes > Sent: Monday, August 20, 2007 10:37 PM > To: CF-Talk > Subject: Re: multiple sites with cf 8 and iis > > Set up entries in etc/hosts so you don't need to swap anything - make > the IIS sites respond to the relevant host names. > > On 8/21/07, Matthew Smith <[EMAIL PROTECTED]> wrote: > > I just did a clean install of my development machine. In the past, I > used coldfusion's built in web server, but had a problem configuring it > to use a different folder for it's root. > > > > This time around I think I'll give IIS a try. I have five sites I am > responsible for. I would like to be able to switch between them in as > few steps as possible. Do I need to create a virtual directory for each > one? How would I switch between sites for http://localhost/ shows the > proper site? Or can I just change the mapping for / to the current > site's folder? If so, where should I locate the folder for each site? > Do I set up a different site in IIS for each site? If so, would I have > to manually apply coldfusion to each site? > > > > I'm not really sure what I need to do so any help would be > appreciated. Thanks! > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286829 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

