[svlug] Multiple Web Servers on One IP
Sargun Dhillon
xbmodder at gmail.com
Thu May 29 17:57:15 PDT 2008
Uhm. some VPS providers run modified kernels that you cannot add your
own swap under (even xen!). Also, swap is slow sucks, etc.. Swap
thrashes you.
Also from chris' prior email:
I do not want to use any non-80 ports, since I do not want to run into
a restrictive firewall. I also don't want to run into any possible
issues that may be caused by serving non-SSL pages and files through
the SSL port (which would solve the problem and circumvent the wrath
of the firewalls, but I may need SSL later, too!)
On Thu, May 29, 2008 at 5:52 PM, Luke S Crawford <lsc at prgmr.com> wrote:
> "Chris Miller" <lordsauronthegreat at gmail.com> writes:
>> Luckily the software I'm using allows me to define another subdomain
>> to serve the files, which means another Apache virtual host. The only
>> problem there is that even if I make it two vhosts, Apache still
>> interprets this as two vhosts for the memory-eating web application.
>> If I try and download a file while serving a page it works just fine,
>> but add a third request and it's straight back to standing in line.
> ...
>
>> So I tried LigHTTPD. It set up fine, and as far as I know it works
>> just fine for serving file requests. It's independent from Apache, so
>> it doesn't have a problem allowing as many page requests (file
>> downloads) as there are requests, while apache is still limiting
>> itself to one request at a time like a good little webserver.
>>
>> However, I ran into a problem when starting LigHTTPD. Apache is
>> monopolizing the only static IP I get. I'm was using a name-based
>> domain system to get Apache to serve both domains throught the same
>> IP. However, Apache and lighty cannot share the same IP. I don't
>> want to buy another static IP because it costs money.
>
> run LigHTTPD on another port (perhaps 8080?) and then specify the URL
> http://myhostname.com:8080/path/to/file
>
>
>
>
> Alternately, get a xen-based vps that lets you add swap :)
>
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug
>
More information about the svlug
mailing list