• i just setup new wpms, everything run well but other than subdomain.

    test site: condo.com.my -work

    test subdomain sonny.condo.com.my – fail

    sub -dir condo.com.my/sonny/ (work)

    wildcard DNS work (you can type any subdomain, but it just return “webserver is functioning normally”

    look like it doesn’t point to right path ….

    anyone can help ? (me not coder nor server guy)

    thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • test subdomain sonny.condo.com.my – fail

    sub -dir condo.com.my/sonny/ (work)

    Did you choose subdomain installation, or subdirectory/path installation?

    I’m asking because you seem to be testing both.

    Thread Starter sonnycool

    (@sonnycool)

    sub domain installation ….

    i just try to figure what is happen, when i click on visit mysite, it go to subdomain but fail to load(point)

    Then you didn’t configure your subdomain correctly.

    Note that WordPress Multisite subdomains are virtual. So there should be no separate physical directories for these subdomains: they should all resolve to the primary domain’s document root.

    There are generally two ways to do this:

    1) Purely DNS (CNAME record): Point *.example.com to example.com

    2) DNS (A record) + vhost: Point *.example.com to the server IP, but ALSO setup a vhost for *.example.com. Crucially, make sure that the document root for *.example.com is the same as that of example.com.

    However you do it, the request for a subsite needs to go to the primary WordPress installation before WordPress can take over and redirect it to the appropriate subsite (if there’s one for the subdomain).

    This means that even before creating any subsite, going to https://anything.example.com should redirect you to https://example.com for WordPress to respond that the requested subsite does not exist. If this is not happening, then your DNS and/or vhost setup is faulty.

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

The topic ‘New WPMS is not working’ is closed to new replies.