« iTunes XML to M3U Converter | Main | MTEntryExcerpt »

pair Networks

Maitreya and I host several domains and Movable Type blogs with a single Advanced Account at pair Networks. pair is a little more expensive than their competitors, like DreamHost, but I like them because they're based in Pittsburgh, don't oversubscribe, never have downtime, and provide easy-to-use configuration tools. They've also never implemented stupid policies like counting your CPU minutes. They've been in business a long time and understand the business of shared hosting.

Here's a trick I use to host several different websites on huangfamily.com without having to pay for additional virtual domains each month. I had to pay one-time vanity domain charges for each site, but I use the magic of mod_rewrite in an .htaccess file to provide the illusion that each site is hosted separately.

RewriteEngine on

RewriteCond %{SERVER_NAME} .*craftlog\.org$
RewriteRule ^index.html$ craftlog/ [L]

RewriteCond %{SERVER_NAME} .*princetonjudo\.(org|net)$
RewriteRule ^index.html$ princetonjudo/ [L]

RewriteCond %{SERVER_NAME} .*oomny\.net$
RewriteCond %{REQUEST_URI} !^/oomny/.*$
RewriteRule ^(.*)$ oomny/$1 [L]

craftlog.org and princetonjudo.org are both Movable Type blogs stored in subdirectories of the huangfamily.com document root. Requests for the front pages of each site are rewritten to requests for their subdirectories. oomny.net is Ariel's website hand-coded in WordPad. Requests to Ariel's site are silently prepended with oomny/. I gave her full FTP access to the oomny/ subdirectory and just told her to code as if it were the document root of her server.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)