The "host header" is a required part of ANY http request. A typical HTTP
request might start like this:


GET /ws/ProcessSoapReq.cfm HTTP/1.1
Content-Type: text/html
Referer: *some refer address
Content-Length: 779
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows.NT.5.0)
Host: www.mydomain.com
Connection: Keep-Alive
Pragma: no-cache

....

This is what is passed to the "listening port" on the server.  the "host:"
key is required. It can contain an IP or a fully qualified domain name.
When you set up a host header filter on an IIS machine, you can put multiple
web sites on a single IP because IIS sends the HTTP request to the correctly
defined virtual "site" based on what is in the "HOST" key.  Further, the web
server uses the request type key (the first one) to determine what script or
folder or mapping within that "site" should respond to the request.

-mk

-----Original Message-----
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 2:39 PM
To: CF-Talk
Subject: Pointing multiple sites to the same IP


I have heard that you can point several different sites to one IP using
http headers, what exactly does the header need in order to do this?



Douglas Brown
Email: [EMAIL PROTECTED]


______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.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