• Hey,

    I run multiple wp sites. I’d like to consolidate a few of my installations while adding 2 more domains, each with their own subdomains. Possible?

    Here’s an example of what I have in mind:

    First.com (main site)
    – second.com
    – third.com
    – forth.com
    – a.forth.com
    – b.forth.com
    – c.forth.com
    – fifth.com
    – a.fifth.com
    – b.fifth.com
    – c.fifth.com

    Is this possible?

    I’m assuming I’m going to need to setup a subdomain structure, where all the subsequent sites are subdomains of the main site, just mapped to their different domains?

    So, structurally, it should be:

    First.com (main site)
    – a.first.com = second.com
    – b.first.com = third.com
    – c.first.com = forth.com
    – d.first.com = a.forth.com
    – d.first.com = b.forth.com
    – f.first.com = c.forth.com
    – g.first.com = fifth.com
    – h.first.com = a.fifth.com
    – i.first.com = b.fifth.com
    – j.first.com = c.fifth.com

    Am I thinking this right?

    Also:

    Is the above possible with folder structure?

    Should I use folders instead and have them mapped to the various domains?

    Are there inherent advantages between folder/subdomain options?

    This will be my first MU so I appreciate your patience =)

Viewing 3 replies - 1 through 3 (of 3 total)
  • > Is the above possible with folder structure?

    Yes, that configuration is possible using the Domain Mapping plugin or the Multi Network plugin

    > Should I use folders instead and have them mapped to the various domains?

    Its up to you, both configurations will work

    > Are there inherent advantages between folder/subdomain options?
    Using folders gives more flexibility.

    Note that if you use SSL/https, that you will have a complex time configuring all the above domains.

    Thread Starter a9fc

    (@a9fc)

    I see,

    I believe we’re all gonna have to move to https going forward, so could you kindly elaborate a bit about those complexities?

    so just to confirm again, with folders, I can still map to specific domains/subdomains? could you also talk a little bit about the increased flexibility from using folders?

    if that’s that case, why would anyone use subdomains as the underlying structure? I’ve read the before you start guide and I can’t seem to pull out the pros and cons of using either from there

    thanks for your patience =)

    > so just to confirm again, with folders, I can still map to specific domains/subdomains? could you also talk a little bit about the increased flexibility from using folders?

    Yes, subdirectory can be mapped to subdomains using the Domain Mapping plugin. You can see the flexibility with the url examples below.

    WP subdomain:
    domain.com
    site1.domain.com
    site2.domain.com

    WP subdirectory + Domain mapping plugin:
    domain.com
    domain.com/site1
    domain.com/site2
    site3.domain.com
    site4.domain.com

    Note that WP multisite + Multi Network plugin should be able to do both subdomains and subfolders. You should check it out – https://wordpress.org/plugins/wp-multi-network/

    > I believe we’re all gonna have to move to https going forward, so could you kindly elaborate a bit about those complexities?

    When using https, you need to buy a certificate. The SSL certificate is specific for one hostname, e.g. site1.domain.com, and does not work with any other hostname. There is a special cert called a wildcard certificate, that will cover all subdomains, e.g. *.domain.com. You cannot use a wildcard cert for domain1.com, domain2.com, domain3.com, etc. Your hosting provider will need to be able to handle wildcard or multiple certificates. Some hosting providers will not support multiple certificates for a single WP instance.

    > if that’s that case, why would anyone use subdomains as the underlying structure?

    Thats the direction we took. We decide that we would never use sub-folders. Plus in the subdomain configuration, you wouldnt necessarily need to install another plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Advise for multiple domains, each with subdomains,’ is closed to new replies.