• Resolved omnempathy

    (@omnempathy)


    Hi,
    Today I took my long standing single instance of WP and upgraded it to multisite. The install went fine. I updated .htaccess and wp-config.php and the admin interfaces look fine. When i set up a new site the interface tells me it has been set up ok, emails are sent out and it appears in the sites list etc – but the actual new sub domain site doesn’t appear.

    So, maindomain.com is fine – but newsite.maindomain.com results in a server not found error.

    The tables appear to be ok in the db and the hosting company assures me that wildcard subdomains are enabled and mod write is set up ok at their end.

    I guess I am missing something. But what?

    Thanks for reading.

Viewing 4 replies - 1 through 4 (of 4 total)
  • To me it sounds like the wildcard dns is not working. To test, load an html file onto your main site or if WP files are still there, e.g. – http://www.domain.com/readme.html
    Then try that with the subdomain – http://sub.domain.com/readme.html

    If the subdomain url does not load the readme.html, then either the wildcard dns is not configured right or possibly the web server is configured wrong (e.g. subdomain mapped to another folder)

    Thread Starter omnempathy

    (@omnempathy)

    Thanks for that useful advice.

    The wildcard was set up in c-panel – however, having read your suggestion I uploaded the html file and the subdomain didn’t load.

    So…

    I updated the DNS within c-panel to also include the wildcard: * A xxx.xxx.xxx.xxx (an A record to the same IP as the main site)

    And for a short while it worked AND I managed to create a sub-domain WP site. So far, so whoopee.

    BUT

    I was suddenly locked out – and cannot access the wp-admin log-on page without being served a 401 authorisation required.

    Could be a lock out on account of my trying to use two different user accounts in the same browser session? or a fault in htaccess leading to a redirect loop?

    Thanks again for your feedback, jkhongusc

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Could be a lock out on account of my trying to use two different user accounts in the same browser session? or a fault in htaccess leading to a redirect loop?

    A 401 isn’t a redirect loop.

    Did you set up htpasswd or anything weird like that?

    Thread Starter omnempathy

    (@omnempathy)

    A little bit of time is all it took. An overly sensitive host had misread the surge in activity and triggered a lock down. It automatically cleared an hour later and all is now good with the world.

    Take home message for me is that it *might* be an idea in c-panel to manually set the DNS rather than solely add the *.domain.com wildcard in the sub domains form.

    Thanks, folks.

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

The topic ‘sub domain sites not resolving’ is closed to new replies.