However if you setup your hosts file, then that value will change...

Its not the actual name of the server...



-----Original Message-----
From: Thomas Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 27, 2003 15:33
To: CF-Talk
Subject: Re: Get Server Name


On Wednesday 26 Feb 2003 11:44 am, Shahzad.Butt wrote:
> How can I get server name in Coldfusion (MX)???
>
> #CGI.Server_Name# doesn't give name of server but DNS which I am using 
> to access my website. By name of server I mean physical name (OR IP) 
> of machine where my CF server is sitting.

That *is* cgi.server_name :-)

-- 
Tom C
"Land of the free, home of the brave... you have to be brave to live there
and 
enjoy the freedoms"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to