If you mean a host file on the server making the HTTP call then typically
YES. Most OS are configured to check HOSTS first before making a DNS query.
You can alter this behavior, but most admins don't. It is sometimes useful
to be able to "short circuit" DNS on a server.

-Mark


Mark A. Kruger, MCSE, CFG
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-----Original Message-----
From: Matthew Smith [mailto:[email protected]] 
Sent: Friday, February 12, 2010 3:54 PM
To: cf-talk
Subject: cfhttp on dev box and the hosts file


If I have an entry in my hosts file, does it affect cf server when it does a
cfhttp call?  I was looking at the logs of the live site and saw some
traffic with the alias.  Could be a coding mistake on my part, just wanted
to know. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330674
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to