Re: [vserver] Newbei's questions

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Sun 20 Apr 2008 - 17:08:26 BST
Message-ID: <55611.192.168.101.12.1208707706.squirrel@intranet>

Stephen Liu wrote:
>
> --- Martin <inkubus@interalpha.co.uk> wrote:
>
>> The
>> only other solution I can think of is that some of the commercial
>> vendors may be able to sell you (at great cost) switching gear that
>> can
>> route on the basis of packet content. This would likely be extreemly
>> expensive and I suspect it wouldn't work very well for your needs.
>
>
> Can vyatta help?
>
> http://www.vyatta.com/
>
>
> I learned this project for sometime. Unfortunately I don't have time
> testing it.
>
>
>>
>> If you want to run two or more, independant, web servers both on port
>> 80, you will need more than one IP.
>
>
> Actually what I want to achieve is;
>
> Running mail server on Host OS
> Running web server on Guest OS
>
>
> I have SquirrelMail, the webmail, running on the mail server. It needs
> port 80. However Apache also needs port 80. I can't figure out how to
> let them sharing port 80. This is my problem. If w/o a solution then
> I must run both web and mail servers on the Host.

As mentioned earlier in the thread, reverse proxying will let you do this.
Just designate the one with the highest load to be the reverse proxy, send
all traffic there, and have that proxy requests for the other server.
Configuration depends on the server, your setup, etc.

> Others noted with thanks.
>
>
> B.R.
> satimis

-- 
Daniel Hokka Zakrisson
Received on Sun Apr 20 17:08:39 2008
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 20 Apr 2008 - 17:08:48 BST by hypermail 2.1.8