• Resolved Kinkladze09

    (@kinkladze09)


    Hi,

    I have installed wordpress multisite on my main domain https://www.thefalconwing.com. The main site is working fine.

    My issues have arose when trying to add additional sites via subdomains.

    I have added a new site using wordpress to create nba.falconwing.com. I configured the A record for the domain which now includes “nba” in its record and pointed it to my IP.

    When i try and go to the nba site i get message saying there is no website configured at this address? When according to wordpress there is.

    I can also not access the site dashboard for the nba site.

    Have i missed something? Bluehost indicated it was nothing on their end.

    Any help would be much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you setup your wilcard subdomain at Bluehost? Here is their helpdesk article on how to do that:

    https://my.bluehost.com/cgi/help/527

    Thread Starter Kinkladze09

    (@kinkladze09)

    I have done so a few hours ago and tried again from scratch on a different subdomain f1.thefalconwing.com.

    It has made some difference, Now i just get the bluehost standard landing page instead of the site?

    And now when i try and access the /wp-admin i get an internal server error?

    Just to make sure i have it right this is what my .htaccess looks like

    # 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 ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    
    # END WordPress

    and this is what i have put into the config.php

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);
    
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    $base = '/';
    define('DOMAIN_CURRENT_SITE', 'www.thefalconwing.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    
    define( 'SUNRISE', 'on' );
    
    /* That's all, stop editing! Happy blogging. */

    Appreciate the help.

    Unless it’s specific to BlueHost’s configuration, you may want to try removing the AddHandler line from your .htaccess file. In most cases, unless they force PHP 4 by default, it’s not needed.

    Try using:

    # BEGIN WordPress
    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]
    
    # END WordPress

    Your .htaccess looks fine otherwise, though I have seen that line be the cause of errors in the past with various configurations where it’s simply not needed.

    Thread Starter Kinkladze09

    (@kinkladze09)

    It seems to be working now. My issue was when installed the wildcard onto the DNS i did not delete the “wilcard” folder so it can installed on that instead of the root folder.

    Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sub Domain Issues’ is closed to new replies.