tyring to set up wildcard subdomains for wordpress 3 on localhost in Ubuntu 11 and no idea how to go about debugging this. Wordpress and wildcards seem to be set up correctly. If I create /var/www/domain/test.domain then that subdomain works. The wordpress network settings are working on their end, with all the network options available and can create a new site. But when I create a new site in wordpress I get a 404 not found.
I set up dns according to this: http://ubuntuforums.org/archive/index.php/t-1719832.html the only difference is with the domain name. So my entry to
address=/domain/127.0.0.1 also I called the file 'domain' and not 'localhost'
# Generated by NetworkManager domain home search home nameserver 127.0.0.1 nameserver 192.168.1.1
[error] [client 127.0.0.1] File does not exist: /var/www/domain/test.domain
Has anybody got any idea where to go to next? I'm out of ideas on how to go from here.
update, my vhosts conf:
$ cat /etc/apache2/sites-available/domain.conf <VirtualHost 127.0.0.1:80> VirtualDocumentRoot /var/www/domain/%0 VirtualScriptAlias /var/www/domain/%0 <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/domain/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> </VirtualHost>