Re: Virtual hosting [message #3456 is a reply to message #3450] |
Tue, 30 May 2006 02:43   |
dlzinc
Messages: 34 Registered: March 2006
|
Member |
|
|
Not too sure if I'm misunderstanding what you want to do...
Each apache in each individual VPS can do name based virtual hosting.
So let's say you set up in DNS...
mydomain1.com and mydomain2.com = 4.3.2.55
mydomain3.com and mydomain4.com = 4.3.2.56
Apache in VPS1 has the IP 4.3.2.55 and name based vhosting set up for mydomain1.com and mydomain2.com
Apache in VPS2 has the IP 4.3.2.56 and name based vhosting set up for mydomain3.com and mydomain4.com
That would work properly as is. The Apache config in each VPS would be the same as if it was running on a dedicated server instead of a VPS. If you wanted to use only 1 IP address for all the VPSes, I'd imagine you'd have to do some sort of proxying and assign private IPs to the VPSes.
|
|
|