Since IIS uses the DNS alias in the URL and that can easily be spoof by modifying your HOSTS file, I use a Java class if I need to identify a machine (like for environmental changes).
InetAddress = createObject("java", "java.net.InetAddress"); hostName = InetAddress.getLocalHost().getHostName(); At least in IIS, this returns the fully qualified domain name of the ColdFusion machine. It looks like Mike is using Apache, so this might not be of specific use to him. However, it's here for others to find later. :) Jason ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320480 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4