I don't know of a cgi variable that will always return an IP address. cgi.http_host 
and cgi.server_name will return what the browser sends as an address - returning an IP 
address if the user uses the IP, and returning a host name if the user uses the name.

Two domain names for one IP address is a function of the DNS server. 

Chris Norloff

---------- Original Message ----------------------------------
from: John McCosker <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
date: Wed, 3 Jul 2002 10:22:23 +0100 

>Hey Guys,
>
>What is the CGI var,
>that will give me the servers IP on which CF is sitting,
>
>also how do I get ip address resolved to different domain names,
>
>i.e. http//wwww.address1.com
>       http//wwww.address2.co.uk,
>
>repectfully,
>
>j
>
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to