Yesterday I discussed how to set up a lightweight PHP web server using Apache. Next we have to get everything running smoothly, and I came up against a frustrating realization: Apache doesn't have a satisfying way to redirect multiple domains to canonical hostnames! In other words, it's fairly easy to redirect one domain's content from "www.example.com" to just plain … [Read more...] about How To Force Apache To Redirect To Canonical Hostnames, or ServerAlias Is Not Your Friend
I've previously written about my Multi-Server Web Hosting Environment and the how I Tuned Lighttpd For Linux to run as well as possible. But I've been having weird issues with that setup lately and was forced to rebuild the server entirely. While I was at it, I decided to give Apache another try, since the lighttpd hackery I needed to perform to get things like WP-SuperCache … [Read more...] about A High-Performance, Low-Memory Apache/PHP Virtual Private Server
As I mentioned on Friday, I've recently built a multi-server web hosting environment around lighttpd, MySQL, and Ubuntu Linux. Ironically, my lighttpd web server slowed to a crawl that very evening! It turns out that I had not properly tuned lighttpd to function in a Linux environment. I was surprised to find that the Ubuntu package did not include basic Linux settings! I … [Read more...] about Tuning Lighttpd For Linux
The last few weeks have been tough on my web servers. The release of iPhone OS 3.0 tripled my site traffic overnight as folks investigate the new Exchange integration features, and traffic to IT commentary site, Gestalt IT, which I also host, has been growing rapidly. Plus, Google just refreshed PageRank again, sending even more visitors my way. I had switched from Dreamhost … [Read more...] about Setting Up a Multi-Server Web Hosting Environment
I've been using Dreamhost as my hosting provider since 2000, mostly happily. But last year I began receiving enough traffic that I could no longer rely on shared hosting. Last Fall, I switched all of my domains to a virtual private server at Dreamhost - an easy upgrade that doubled my hosting bill but promised all the performance I would need. Sadly, this was not the … [Read more...] about Apologies For The 404s!