unless you're using a server version of windows, IIS isn't going to serve more than 1 site at a time.
BTW, entries in the hosts file would take on this form: 127.0.0.1 localhost 127.0.0.1 redhotkitties.com Then, in IIS you'd set up multiple sites and have them use the host header to determine which site was being visited. All of this is moot though if you don't have a server version of windows On 8/21/07, Matthew Smith <[EMAIL PROTECTED]> wrote: > I have modified my host file as follows: > ---------------------------------------------- > > 127.0.0.1 localhost > www_redhotkitties_com localhost/www_redhotkitties_com > > ---------------------------------------------- > > When I browse to http://www_redhotkitties_com/, I get "Internet Explorer > cannot display the webpage". > > If I go to http://localhost/www_redhotkitties_com/, I get an error that > it cannot find an included template, which should not be the case. > > Do I have something configured wrong? > > -----Original Message----- > From: James Holmes [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 21, 2007 1:05 AM > To: CF-Talk > Subject: Re: multiple sites with cf 8 and iis > > Assuming you are on windows (a safe bet if you're using IIS) it's > typically in c:\windows\system32\drivers\etc\hosts. > > On 8/21/07, Matthew Smith <[EMAIL PROTECTED]> wrote: > > Where is "etc/hosts"? Thanks for the help. > > > > -----Original Message----- > > From: James Holmes [mailto:[EMAIL PROTECTED] > > 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! > > > > > > -- > > mxAjax / CFAjax docs and other useful articles: > > http://www.bifrost.com.au/blog/ > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286717 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4