I'm also getting the same problem, thought the difference is I'm not getting error 404. All I got is failed to open page.
Here's my site: http://donalyza.com, I'm using WordPress 3.0-RC2-15161
Here's what I did. I created a wildcard http://*.donalyza.com/public_html then I configured wp-config to allow multisite. followed the steps given in Network, put the code in wp-config and htaccess. Then I created a site, in SuperAdmin, "demo".
That's where my problem begins, I pulled-up http://demo.donalyza.com and all I got i page cannot be displayed. :(
Here's what I have in my /public_html/.htaccess
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.donalyza\.com$ [NC]
RewriteRule ^(.*)$ http://donalyza.com/$1 [R=301,L]
I tried to follow hauruapai to put a code in httpd.conf
I included this code though I'm not sure if i place it on the right path..
path: /httpd.conf/public_html
AllowOverride FileInfo Options
<Directory "/">
Options All
AllowOverride All
</Directory>
<Directory "/usr/local/apache/htdocs">
Options Includes Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Inside my directory I have a "demo" folder,
path: /public_html/demo/
inside the folder is another .htaccess and an empty cgi-bin folder
inside .htaccess
RewriteEngine on
RewriteCond %{HTTP_HOST} ^demo.donalyza.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.demo.donalyza.com$
RewriteRule ^/?$ "http\:\/\/donalyza\.com\/demo" [R=301,L]
I don't know what else to do.
Thank you for reading my post, Any help will greatly be appreciated.