• HELP!
    Using bluehost. *trying* to set up wordpress multisite >subdomain.
    this my second *clean* install of wordpress. have researched and tried MANY different things for 1 week! I am not computer language savvy so instructions cannot assume I know the language please! I will ask for clarification!
    These are the steps I followed:
    2. installed wordpress
    2. created wildcard subdomain (bluehost)
    3. put multisite code in config file.
    4. followed directions in wordpress Tools >network setup
    4a. wp-config (relevant) code

    define(‘WP_DEBUG’, false);

    /* Multisite */
    define( ‘WP_ALLOW_MULTISITE’, true ) ;
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, true);
    define(‘DOMAIN_CURRENT_SITE’, ‘llenonline.com’);
    define(‘PATH_CURRENT_SITE’, ‘/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);

    /* That’s all, stop editing! Happy blogging. */

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-settings.php’);

    4b. htaccess code:

    # Use PHPBETA as default
    AddHandler application/x-httpd-phpbeta .php

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

    my Main site llenonline.com (and dashboard) works fine.
    My subdomain testsite.llenonline.com dashboard gives me the 404 error. when i try to visit the subdomain site it gives me a bluehost/llenonline domain page.
    Bluehost said it isn’t them.
    any advice/tips to try are appreciated!

    • This topic was modified 9 years, 6 months ago by llenonline.
Viewing 3 replies - 1 through 3 (of 3 total)
  • I would suspect the wildcard A entry you have added as it’s the step that causes the most issues when setting up a sub-domain multisite installation.

    This can be done using software provided to you by your host such as WHM, cPanel or Plesk. However, I personally have to add them via a separate DNS control panel from my host, this undocumented step caused me a lot of delays/issues.

    Have you tried all other ways of adding your Wildcard A Entry?

    Configuring Wildcard Subdomains

    Thread Starter llenonline

    (@llenonline)

    Thank you for the link.
    what do you mean a separate DNS control panel?
    Also- I’m on shared hosting (just found out) so I cannot add/change any code to apache/httpd/ and everything else that my research tells me to do.

    does shared this make a difference in whether or not i should choose subdomain vs subdirectory for multisite?

    Thanks Again!

    My host has a separate DNS control panel that I have to use to add my wildcard entries, they simply don’t work if I add them using WHM or cPanel (which is the documented way), I’ve been with the same host for many years though so I don’t know if other hosts use a similar system.

    Your shared hosting should still provide you with the software required to manage your web space, such as cPanel, and in some cases I believe WHM is also provided on shared hosting, it does depend on your host.

    You don’t need access to server files though to carry out the Multisite installation, your host should be mroe than willing to get you up & running, or at least inspect your installation to see if anything is incorrect.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Subdomain dashboard 404error’ is closed to new replies.