> 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?
Yes. First, you should read the examples at the top of your HOSTS file, if you have any. You might also look for HOSTS.SAM in the same directory for guidance on how to write entries. That said, you can only use HOSTS to do what a DNS server would do - map IP addresses to hostnames. If you want to have multiple names for a single IP address, however, you can't create aliases like you would in a DNS server; you simply map the address multiple times: 127.0.0.1 localhost 127.0.0.1 www.redhotkitties.com 127.0.0.1 www.somethingelse.com .... You can't create mappings to anything other than a hostname, either; there's nothing that would let you map an IP address to a URL as you're doing with "localhost/www_redhotkitties_com". Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286716 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

