HNHacker News
TopNewBestAskShowJobs

dmmcintyre3

7 karma · joined June 11, 2011

submissionscomments
dmmcintyre3··on Yes, You Can Run 18 Static Sites on a 64MB VPS
I'm running nginx, PHP-FPM, MySQL, NSD, exim, UnrealIRCD, ZNC, and thttpd for CGIs on my 128mb VPS, and it uses around 50mb RAM. It only goes up to over 64mb used when my file/database backup script is running. The only thing I don't run on the VPS is incoming email. (I use Google Apps's free version)
dmmcintyre3··on Yes, You Can Run 18 Static Sites on a 64MB VPS
webmin uses more ram than nginx (my webserver) does on my VPS.
dmmcintyre3··on Yes, You Can Run 18 Static Sites on a 64MB VPS
I don't find it hard to manage vhosts, dns records and databases by hand. What I do:

each site gets it's own nginx config file, domain.name.conf (replace domain.name with real domain)

databases get prefixed with the domain name (replace . with _ )

Also, I'm working on a script to handle the DNS zones for me.

dmmcintyre3··on Yes, You Can Run 18 Static Sites on a 64MB VPS
My $3/month VPS has 500gb transfer, and it's not the cheapest around.
dmmcintyre3··on Yes, You Can Run 18 Static Sites on a 64MB VPS
Why would you use apache for static sites? Did you even read the article? It uses lighttpd.
dmmcintyre3··on Yes, You Can Run 18 Static Sites on a 64MB VPS
a $7/month 1gb VPS is going to be really oversold in ost cases. My 128MB VPS is $3 a month and runs my MyBB forum great.

Apachebench on the 128mb VPS to a static page: Document Path: /index.html Document Length: 1046 bytes

Concurrency Level: 100 Time taken for tests: 0.843 seconds Complete requests: 10000 Failed requests: 0 Write errors: 0 Total transferred: 12630336 bytes HTML transferred: 10510208 bytes Requests per second: 11867.44 [#/sec] (mean) Time per request: 8.426 [ms] (mean) Time per request: 0.084 [ms] (mean, across all concurrent requests) Transfer rate: 14637.67 [Kbytes/sec] received

dmmcintyre3··on Yes, You Can Run 18 Static Sites on a 64MB VPS
My main VPS has 128mb RAM and is running a MyBB forum which gets 80k pageviews a month. If I dropped the PHP, MySQL, IRC stuff and email server I could run it on 16-32mb except when updating the software on the VPS.
dmmcintyre3··on Yes, You Can Run 18 Static Sites on a 64MB VPS
Unless you own a web host (that includes just hosting frineds/family) there is NO reason for cPanel (or other panels) except you not knowing how to run a server