tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Q: IP address aliasing
@ 1995-02-24 13:55 Craig Knudsen
  0 siblings, 0 replies; 2+ messages in thread
From: Craig Knudsen @ 1995-02-24 13:55 UTC (permalink / raw)
  To: tru64-unix-managers

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/
===============================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: Q: IP address aliasing
@ 1995-02-25  3:52 Craig I. Hagan
  0 siblings, 0 replies; 2+ messages in thread
From: Craig I. Hagan @ 1995-02-25  3:52 UTC (permalink / raw)
  To: tru64-unix-managers



On Fri, 24 Feb 1995, Craig Knudsen wrote:

> 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...

From what you are describing, i have a few questions on the implementation:

You mention that you will have several names for your machine,
however, you didn't mention how many IP addresses you have
nor how many ethernet interfaces you have. Each IP address
must have its own unique interface.  


I have an alternative solution which may not be
the most feasable, but, is likely easier than recoding a lot of
software. Find an old 386/33 with about 8-16mb of ram. Install
linux and use it as a WWW server. I used on at umass/amherst
for a while and found it to equal the speed of a decstation 5000/133
for WWW processing (which isn't very much). It handled
about 15,000-20,000 requests per day.

-- craig

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-02-25  3:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-24 13:55 Q: IP address aliasing Craig Knudsen
  -- strict thread matches above, loose matches on Subject: below --
1995-02-25  3:52 Craig I. Hagan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox