WordPress.org

Forums

[closed] How can I install subdomains within wordpress multi site? (20 posts)

  1. Sjors01
    Member
    Posted 4 years ago #

    Okay so I've created a subdomain, and also activated the wildcard DNS for the subdomain. And I've mapped the domain mapping to subdomain.domain.tld, yet I can't get it too work. I've looked everywhere, but I can't find a solution. Any suggestions?

  2. @mercime
    Volunteer Moderator
    Posted 4 years ago #

    Based on your previous posts, we need to clarify the concept of going multisite and domain mapping. Assuming your set up is still the same as in your other posts, you do not need to create a physical subdomain. The subdomain created in WP Multisite is virtual.

    Let's go over the set up step by step:
    1. Install WordPress 3.0.1 in root e.g. http://example.com
    2. Create A Network - a subdomain structure per your preference.
    3. In dashboard - Super Admin > Sites - Add New Site e.g. newsite.example.com
    4. Install Domain Mapping Plugin and follow this instruction
    http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/
    - In backend of main site, remember to point new domain DNS to root http://example.com
    - In backend of new virtual subdomain site where you you want the new domain to point to, go to Tools > Domain Mapping put in the new domain and set it as the primary

  3. Sjors01
    Member
    Posted 4 years ago #

    Thank you for taking the time too write such a comprehensive reply. I did set the physical subdomain, but now I changed that and only added a wildcard subdomain.

    However, in step 3 I can't add a subdomain. I can only add maindomain.com/subdirectory.

    Any more suggestions?

  4. Sjors01
    Member
    Posted 4 years ago #

    I've also added the bulk create blogs plugin for WPMU. But it seems that I can only install sub domains on my main domain.

  5. However, in step 3 I can't add a subdomain. I can only add maindomain.com/subdirectory.

    Most likely you did not tell your wp-config that you wanted to use subdomains.

    In that file, look for this:
    define( 'SUBDOMAIN_INSTALL', false );

    Change it to
    define( 'SUBDOMAIN_INSTALL', true );

  6. Sjors01
    Member
    Posted 4 years ago #

    Thank you for your reply.
    I changed the file, but now I can only add subdomains, not both. And it messed up my other installs. How does this solve my problem, I can now add subdomains to my main domain. But not on my other domains.

  7. So change it back. You don't need to use subdomains for MultiSite domain Mapping anymore. I was just answering your 'I can't add subdomains' query. :)

    And for the record, you can't have 'both'. You get either/or on this one. Either subdomains OR subfolders. But both should work with the multisite plugin (said Andrea fairly recently).

  8. Sjors01
    Member
    Posted 4 years ago #

    Mercime, the turtorial you provided is for adding new domains. I already knew how to do that. But I want too add a subdomain on another domain, which is not the main domain. How can this be accomplished?

  9. Sjors01
    Member
    Posted 4 years ago #

    Ipstenu, I've now changed my sites to be redirected through subdomains. Only I want too add a subdomain, on a domain which isn't the main domain. How can I do this?

  10. But I want too add a subdomain on another domain, which is not the main domain. How can this be accomplished?

    Ah. Okay, that was unclear.

    See http://wordpress.org/support/topic/30-multisite-domain-mapping-and-subdomains

  11. @mercime
    Volunteer Moderator
    Posted 4 years ago #

    But I want too add a subdomain on another domain, which is not the main domain. How can this be accomplished?

    As for "add a subdomain on another domain, which is not the main domain" - huh? So did that mean you wanted to point a domain name e.g. http://doggy.com/ to a physical subdomain in e.g. http://subdomain.catty.com/? I'm confused, I need to sleep :-)

  12. So did that mean you wanted to point a domain name e.g. http://doggy.com/ to a physical subdomain in e.g. http://subdomain.catty.com/

    I think he means more like this:

    mainsite123.com
    blog2.mainsite123.com -> site2.com
    blog3.mainsite123.com -> site3.com
    blog4.mainsite123.com -> blog.site4.com

    Which is weird, but apparently can be done :)

  13. @mercime
    Volunteer Moderator
    Posted 4 years ago #

    Thank you Ipstenu. Different strokes for different folks :-)

  14. Sjors01
    Member
    Posted 4 years ago #

    I mean this:

    mainsite.com

    othersite.com
    I want a subdomain on the othersite like: blog.othersite.com

    I can't seem to figure out how I get it done. When I map: othersite.com too blog.othersite.com my webpage is blank.

    The topic you sent me is something more advanced I guess. I hope you can still help me since I don't really understand the topic you send me. Sorry for the trouble i'm causing. Thanks

  15. So you want this:

    Blog3 -> domain3.com
    Blog4 -> blog.domain3.com

    Yes?

    Basically that other topic has the best directions. You want to redirect blog.domain3.com to the main install, via CNAME or ANAME records. If that's too advanced, you may not be able to do it on your own and you'll need to hit up jobs.wordpress.com and hire someone.

  16. You need to domain map it with a CNAME.

    And hire someone to do it for you. ;)

  17. Sjors01
    Member
    Posted 4 years ago #

    Okay, since it's advanced i'm asking the question here. Hiring someone might solve the problem but I haven't got the funds. So this still leaves my problem unsolved. Could you explain me how I need too set up my C or Aname records so I can create a subdomain?

  18. Sjors01
    Member
    Posted 4 years ago #

    If it's that easy why don't you bother to explain it to me, telling me too hire somebody isn't going to solve my problem...

  19. You made a new topic for this: http://wordpress.org/support/topic/how-can-i-add-a-subdomain-to-another-domain-not-the-main-domain-in-multi-site

    So pick one and stay in it please, asking people to support you twice in twi threads actually makes it HARDER for people to help you.

  20. Keep it in one thread.

Topic Closed

This topic has been closed to new replies.

About this Topic