Support » Networking WordPress » Subdomain multi user setup not working

  • Resolved Bence Ur



    I want to install WordPress 3.0 from scratch, then create a network.

    I followed all the steps outlined here:

    1) I installed WordPress 3.0 from scratch in the root folder of

    2) I edited the wp-config.php to allow the multisite feature.

    3) I installed the network inside the Wp admin, I chose subdomain setup.

    4) I added the wildcard DNS in cpanel: I added this subdomain: *

    5) I created the blogs.dir directory under /wp-content/, thend added the required lines into wp-config.php and .htaccess.

    Now I go to Super Admin -> Sites -> Add new ->

    But after that if I go to, I see only the default cpanel welcome page. triggers 404 error.

    What am I doing wrong?

    Here is my file:

    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]

    I added this into

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', true );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', '' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );

    In cpanel, in the subdomains area, I can see the * subdomain in the list, the document root of * is /public_html.

    If I go to, I always see the cpanel default page created by Hostgator (a welcome page), and in the address bar of the browser, I see the domain.

    The wordpress blog on works fine.

    If I remove the * subdomain, then I get 404 error if I go to

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    Is this an add-on domain?
    Did you talk to Hostgator about wildcard support? Because there’s a step needed on their end. I *think* they do it automatically for the main domain of an account.

    Thanks a lot!

    Yes, it was an addon domain, too, that was the problem. It was added also as * and as addon domain, I deleted the addon domain, now it works, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Subdomain multi user setup not working’ is closed to new replies.