Not sure about apache, but in IIS you have host headers where you can assign
an ip to a domain.

John

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Whil Hentzen (Pro*)
Sent: Monday, December 04, 2006 12:25 PM
To: [email protected]
Subject: Re: [NF] Two NICs in a single PC => two IPs, right?

> There's tons of great suggestions out there, but I also want to throw a 
> suggestion into the ring.  That suggestion is that you can bind multiple 
> IP addresses to a single NIC.  I don't have a server at my disposal at 
> the moment, but I've done stuff like this in the past.  There is the 
> "natural" IP address, but then I've bound up to three IP addresses to 
> the NIC.  I'm not sure what the limit is.
> 
> I don't know if this applies to your situation.  I wasn't sure if you 
> really needed multiple NICs or if you were just after multiple IP
addresses.

OK, right now I'm going the 'frugal Milwaukee way' and not shelling out 
for the extra card. What the heck, why would I want to get my hands 
dirty (or dusty) opening up a box if I don't have to?

So I've set up a second IP on the same card in the network card 
configuration.

eth0: 1.2.3.4
eth0copy: 1.2.3.5

Now what? <g>

Where do I point Apache's virtuals to the IPs, so testdomainOne.com is 
served up to 1.2.3.4 while 1.2.3.5 connects with testdomainTwo.com.

I have a feeling that there is something in hosts that I'm going to be 
learning more about. <s> Anyone done this?

Whil


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to