Simplest solution would be to add each VM's hostname and ip address to each
server's /etc/hosts file.

On Tue, Jan 20, 2009 at 12:58 PM, Johann Vincent Paul Tagle <
[email protected]> wrote:

> Yes after I made my original post I was thinking LVS directors or Apache
> proxying might do it.  Not sure what Jan and D3amon mean by DNS.  From
> outside all will hostnames will resolve to the same IP, then what?
>
> Thanks
>
> Johann
>
>
> On Tue, Jan 20, 2009 at 12:37 PM, jumbz tayamen <[email protected]>wrote:
>
>>  LVS directors?
>>
>> Johann Vincent Paul Tagle wrote:
>>
>> I know about port forwarding, but is it possible to also forward based on
>> actual hostname being accessed?  I have a machine with 1 public address, and
>> I have virtual machines in that box.  Currently each VM has a specific
>> service running (e.g. DB, webserver, etc) so NAT+port forwarding sufficed.
>> But now I need more than one webserver so I'm hoping I can also forward to a
>> specific VM depending on the actual hostname/URL being accessed.  Is this
>> possible?  What do I have to use?
>>
>> Thanks
>>
>> Johann
>>
>> ------------------------------
>> _________________________________________________
>> Philippine Linux Users' Group (PLUG) Mailing 
>> Listhttp://lists.linux.org.ph/mailman/listinfo/plug
>> Searchable Archives: http://archives.free.net.ph
>>
>>
>>
>> _________________________________________________
>> Philippine Linux Users' Group (PLUG) Mailing List
>> http://lists.linux.org.ph/mailman/listinfo/plug
>> Searchable Archives: http://archives.free.net.ph
>>
>
>
>
> --
> Web application and database consulting: www.sagadasolutions.com
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>



-- 
http://jangestre.wordpress.com
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to