• Hi, I hope someone can help me with this. I will provide as much details as possible. First off I am hosted with hostgator. Also I have two wordpress multisites. I have the first wordpress multisite installed on my primary domain “domain.com”. The primary domain is located in the public_html folder from what I am told. I then added the site “site1.domain.com” to this multisite. I then installed the domain mapping plugin, https://www.ads-software.com/plugins/wordpress-mu-domain-mapping/, and when I mapped one of my parked subdomains “subdomain1.domain2.com” to “site1.domain.com”, it worked and “subdomain1.domain2.com” showed posts I published on “site1.domain.com”. So basically, this multisite is fine.

    Now, for my second multisite I installed it on my subdomain, “subdomain.domain.com” I then added a site, “subdomain.domain.com/site1” which is a mixed subdomain-subdirectory format. I also installed the domain mapping plugin on this multisite but when I try to map on of my parked subdomains, “subdomain2.domain3.com” to “subdomain.domain.com/site1” I get the error “registration has been disabled” or I might get the “Greetings site administrator error” and it seems like this message is coming up on the “domain.com” page because I see “domain.com” in the URL, instead of expecting to see “subdomain.domain.com” in the URL.

    I’ve looked everywhere for the solution to this problem and can’t find it. Does anyone know how to resolve this?

    • This topic was modified 8 years, 6 months ago by kubbish55. Reason: Make my question clearer
Viewing 7 replies - 1 through 7 (of 7 total)
  • Never heard of a mixed subdomain-subdirectory format. I also find domain mapper to be hell and unnecessary. If the network configuration doesn’t work on creation , i’ve deleted and asked the host to do it https://codex.www.ads-software.com/Create_A_Network. If you have hostgator’s wp plan, they should be specialized.

    Just to clarify, it’s not a mixed subdomain-subdirectory format. It’s just a subfolder installation. WordPress doesn’t care if the domain is FQDN.TLD or SUB.FQDN.TLD or SUBSUB.SUB.FQDN.TLD, it considers that just the domain.

    If you go into MySQL and run select * from wp_site, you’ll see

    id: 1
    domain: subdomain.domain.com
    path: /

    Thread Starter kubbish55

    (@kubbish55)

    Ok, when I say subdomain-subdirectory format, that’s not so far fetched. I just mean I set up a multisite based on a subdomain like “subdomain.domain.com”. When I it comes to making the sites in the multisite, I have the option to make them as subdomain or subdirectories. So I could have made them like “site1.subdomain.domain.com” or “subdomain.domain.com/site1”, and this second one is what I would call a subdirectory-subdomain format. That’s all I mean when I say subdirectory-subdomain format. Does that make more sense.

    Also it’s not like the second multisite from what I said above doesn’t work because when I would go to one of my sites from my second multisite like “subdomain.domain.com/site1” to look at posts I publish on that page I can see them. It is after I map a parked subdomain I have like “subdomain2.domain3.com” to it that I can’t see my post and it would say “Registration has been disabled” or the “Greetings site administrator” error.

    Also, I have the web hosting baby plan so I the hostgator wp plan baby plan better for what I’m trying to do because it can map parked subdomains? If so can you explain to me how?

    Thread Starter kubbish55

    (@kubbish55)

    Ok, thanks for clarifying danhgilmore, but do you have a solution to what I was asking above. I mean, has no one tried this before? This can’t be that hard to do because all I’m asking is how to map on multisites that you would make off of one of your secondary domains or subdomains. For mapping on multisites made off of your primary domain I know how to do that already.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Pardon my quick summary ??

    Primary Install: domain.com
    Site #1: site1.domain.com

    Secondary Install: subdomain.domain.com
    Site #1: subdomain.domain.com/site1

    Mapped Domain: subdomain2.domain3.com -> subdomain.domain.com/site1

    Error: subdomain2.domain3.com gives “registration has been disabled”

    it seems like this message is coming up on the “domain.com” page because I see “domain.com” in the URL, instead of expecting to see “subdomain.domain.com” in the URL.

    I believe this is due to how you created the subdomains.

    When you set up subdomain2.domain3.com, you have to make it a named subdomain and point it to wherever subdomain.domain.com is. But it also matters how you set up domain3.com

    Assumptions!

    * domain.com uses it’s the default html root (i.e. /public_html/ or /home/user/domain.com/)
    * subdomain.domain.com uses it’s own HTML root (i.e. /public_html/subdomain/ or /home/user/subdomain.domain.com/)
    * domain3.com is ‘parked’ or DNS pointing at the same IP as domain.com
    * domain3.com uses the default html root (i.e. /public_html/ or /home/user/domain.com/) and not it’s own.
    * subdomain2.domain3.com uses the same ‘root’ as domain3.com

    So … to fix that depends on what kind of panel (cPanel, Plesk) etc you have, or how good you are at vhosts.

    You have to make sure subdomain2.domain3.com thinks it’s home is where subdomain.domain.com lives! Because that’s a separate folder.

    If I was fixing this in cPanel, I would do this:

    1) Make sure domain3.com is an add-on or parked domain on my account
    2) Make a NAMED subdomain for subdomain2.domain3.com and point it at /public_html/subdomain

    That should be it.

    Thread Starter kubbish55

    (@kubbish55)

    Ipstenu, to address when you said:

    1) Make sure domain3.com is an add-on or parked domain on my account
    2) Make a NAMED subdomain for subdomain2.domain3.com and point it at /public_html/subdomain

    For 1), domain3.com is a parked domain and it seems to be in the public_html folder. I tried adding domain3.com as an add-on, and what I will say is that it worked in that it showed what was on my domain, which was some sort of redirect, but it didn’t map what was on the site in my multisite that I wanted to map, which is what I wanted to do in the first place.

    For 2), do you mean anything in particular when you say “NAMED subdomain”?

    There were alot of things I tried doing:
    1) Making domain3.com an add-on and pointing it to /public_html/subdomain
    2) Making subdomain2.domain3.com a subdomain and pointing it to /public_html/subdomain
    3) I even tried putting subdomain2.domain3.com into /public_html/subdomain/domain3

    These resulted in me seeing my domain as I described above or me getting errors like the “Index cgi-bin apache” error or an “internal server 500 error” if you know what I mean. So basically none of these things I tried worked.

    Also for hostgator when you make a parked domain, by default it puts it in public_html but when I try to look for it in public_html, I can’t find it. I talked to hostgator about it and they said that parked domains do not create files in public_html folder so that’s why I can’t see my parked domain. Does this make a difference?

    Thread Starter kubbish55

    (@kubbish55)

    Ipstenu, never mind, I followed what you said and the domains work now.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Multiple multisites support’ is closed to new replies.