subdomains and initial setup

Hi, i am new to the wpmu thing and i am possibly not the brightest spark around. I have a dedicated server set up and i want to use a subdomain type setup. I have gone through multisite a few times now, mainly just to integrate plugins( eg simple ads) from this site but never for a user experience, hope that makes sense.

I now have everything set up including wildcard etc.

so if i enter a subdomain on my site test.example.com it goes to the sign up page perfectly

once the site is set up and i attempt to visit it is when we get the issue,

Safari can’t open the page “http://test.example.com /” because Safari can’t find the server “test.example.com ”.

I know of one possible issue at this stage and an almost totally un related question, blog.dir file creation in coda. I am not sure i have done this correctly. Does anyone know how to create a .dir file in coda

thanks in advance

Jeremy

  • Marty Thornley

    So when you say...

    so if i enter a subdomain on my site test.example.com it goes to the sign up page perfectly

    You're saying that test.example.com does not exist yet, right and so redirects to the signup page? That sounds like example.com is viewable but no subdomains?

    Is you .htaccess setup correctly? If you could paste your .htaccess here, might be able to see something.

    Another thing could be the setup of the wildcard dns. There is a server alias that needs to be set as well. I can't pretend to be a pro at this, my server support helped with it. i just know when it was off, the subdomains stopped working.

    This is the only link I could find:
    http://wpmututorials.com/how-to/enabling-wildcard-subdomains/

    Hope that helps!

  • Jeremy

    Marty and David thanks so much for your replys

    Marty .htaccess file contents

    # Use PHP5 Single php.ini as default
    AddHandler application/x-httpd-php5s .php

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

  • Jeremy

    updated to this and still same problem

    # Use PHP5 Single php.ini as default
    AddHandler application/x-httpd-php5s .php

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?blog1/files/(.+) wp-content/blogs.dir/1/files/$1 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?blog2/files/(.+) wp-content/blogs.dir/2/files/$1 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?blog3/files/(.+) wp-content/blogs.dir/3/files/$1 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?blog4/files/(.+) wp-content/blogs.dir/4/files/$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.