Error message: Warning! Wildcard DNS for DOMAIN_CURRENT_SITE may not be configured correctly!

I am hosted on Dreamhost and have installed a WPMU installation at splendidwebsites.com.

I currently have the Multi-Domains plugin installed but it is not working correctly. The two domains configured are:

spendidwebsites.com (current domain site) and

splendidwebsite.com (a secondary multi-domain)

SYMPTOMS:

1) I have built a test site: http://23drft.splendidwebsite.com and the front end shows fine, but when I try to access the dashboard it won’t authenticate with my Admin username and password.

2) Looking at the Settings for Multi-Domains: The base domain splendidwebsites.com is appearing as DOMAIN_CURRENT_SITE

3) I get an error message in the Settings for Multi-Domains that says:

Warning! Wildcard DNS for DOMAIN_CURRENT_SITE may not be configured correctly!

Unable to contact the random hostname (e4417a.DOMAIN_CURRENT_SITE).

4) The primary domain splendidwebsites.com, works perfectly both dashboard and front end.

CHECKS I HAVE ALREADY COMPLETED:

1. I have contacted Dreamhost and they tell me that the wildcard domain is definitely configured correctly on their side.

2. I have the following entries in my wp-config file:

define( ‘SUNRISE’, ‘on’ );

define(‘WP_DEBUG’, false);

define(‘MULTISITE’, true);

define(‘SUBDOMAIN_INSTALL’, true);

define(‘DOMAIN_CURRENT_SITE’, ‘splendidwebsites.com’:wink:;

define(‘PATH_CURRENT_SITE’, ‘/’:wink:;

define(‘SITE_ID_CURRENT_SITE’, 1);

define(‘BLOG_ID_CURRENT_SITE’, 1);

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

What I’m hoping is that someone can give me an indication of what I’m missing and/or what I’ve done incorrectly in configuring this installation.

Many thanks in advance for your assistance.

Kind regards,

JAMES WILLIAMS

  • Vaughan
    • Ex Staff

    hiya

    thanks for posting.

    i’m not sure you should be using www in the url when using multisite with subdomains.

    also could you update multi-domains to the latest version?

    do sub sites work if you disable multi-domains?

    is this an old site you have upgraded? such as from say 3.2 to 3.5.x onwards or is it a fresh install?

    could you post your htaccess file?

    thanks.

  • jameswilliams90
    • Design Lord, Child of Thor

    Ignore .htaccess reference, here it is:

    # BEGIN WordPress

    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]

    # END WordPress

    Also; information from wp-config is wrong. Site is configured for http://www.splendidwebsites not splendidwebsites.com as reported. www is required to accesss the Network Admin. I had changed this in my troubleshooting.

    If it is the case that www cannot be used on the primary domain, then I need assistance to modify this. Pls. note in a scan of the doco I can’t see any reference to this being a requirement.

  • jameswilliams90
    • Design Lord, Child of Thor

    Here’s what has happened since we last spoke

    I have removed MULTI DOMAINS and reinstalled DOMAIN MAPPING from scratch following the instructions provided on the site.

    Domains do not resolve using DOMAIN MAPPING to a site setup on the primary domain:

    justintabari2.splendidwebsites.com is mapped to justintabari.com

    A records have been setup for both justintabari.com and http://www.justintabari.com

    ALLOWMULTI has been setup in the WPCONFIG

    PRO SITES REVERTS USERS trying to access a MAPPED DOMAIN back to the registration page.

    This is clearly not working as intended.

    What are my next steps?

  • jameswilliams90
    • Design Lord, Child of Thor

    Thanks for the escalation, I must admit this is frustraing the crap out of me!

    Here’s some more info so you’ve got the latest picture:

    I’ve also disabled PRO SITES for now, by dragging it out of plugins to wp-content. So now it should just be DOMAIN MAPPING. No Multisites.

    I also see that when Dreamhost created the Wildcard entry they used a CNAME record instead of an A record. (Would this cause an issue).

    I have since removed it and added my own A record against splendidwebsites.com with *.splendidwebsites.com

    This is a bit of a moving feast as I try to strip the site back and work out what’s happening, but I’ll leave it for the next 8 hours or so, and hopefully you can jump in and take a look.

    Cheers,

    James