[EMAIL PROTECTED] wrote:
I think you can do it by having two domains on the name server. I think that, being hooked to the same IP, they could call up the same index.html upon loading. You would need multiple IPs for them to actually link up to different "domains" in the sense of having them call up different pages.

It depends on the webserver you are using. If it supports 'virtual hosts' (e.g. Apache), then you can have many different domains on the same I with different 'homepages'.

This is possible because of the addition of the "Host" header to the HTTP
1.1 spec (sections 5.2, 14.23 and 19.5.1, if anyone cares).  This host
indicates the host/domain that is desired for the HTTP request.  The server
then can decide which website the request is destined for.

Incidentally, if this were not possible...we probably would have run out
of IP addresses a long time ago!

Chris



--
*********************************
Chris Merrill
[EMAIL PROTECTED]
*********************************


_______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to