I've found this .htaccess code very useful. Creates wild range subdomains. Hope you find some use for it!

Code:
RewriteEngine On
Options +FollowSymLinks +Execcgi +Indexes

RewriteCond %{HTTP_HOST} !^www.yourdomain\.com [NC]
RewriteCond %{HTTP_HOST} ^(www.)?([^.]+).yourdomain\.com [NC]
RewriteRule ^$ /content.php?title=%2 [L]
~Cheers