From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075317506672.tru64-unix-managers.marc@archive.invalid> From: Craig Knudsen Date: Fri, 24 Feb 1995 13:55:08 +0000 To: tru64-unix-managers Subject: Q: IP address aliasing X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075317506672 Does anyone have any experience using IP address aliasing. Here is what we need to do: We have a customer who wants to register their own domain name. Their single machine name will be our www server (www.btg.com). We want to be able to use this one machine as the www server for ourselves and this customer. Additionally, we want the URL http://www.btg.com/ and http://other.company/ to be a different page. I know that we could run a second www server on a different port number (http://other.company:8123/), but that's kind of ugly. Right now we are stuck with http://other.company/dir. The problem with this is that if someone omits the "dir" than they will get our home page. And this would not be politacally correct for the contract. So... my real question is... Can a server process tell what IP address a client used to get to it? If the answer is yes, then I can write a toplevel wrapper that will direct http requests to the different pages... TIA. Craig =============================================================================== Craig Knudsen cknudsen@btg.com http://www.btg.com/~cknudsen/ BTG, Inc. http://www.btg.com/ ===============================================================================