[svlug] Multiple Web Servers on One IP
Luke S Crawford
lsc at prgmr.com
Thu May 29 17:52:33 PDT 2008
"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 :)
More information about the svlug
mailing list