How can I install subdomains within wordpress multi site?
-
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?
-
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 primaryThank 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?
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.
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 );
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.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).
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?
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?
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
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 π
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 π
Thank you Ipstenu. Different strokes for different folks π
I mean this:
mainsite.com
othersite.com
I want a subdomain on the othersite like: blog.othersite.comI 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
So you want this:
Blog3 -> domain3.com
Blog4 -> blog.domain3.comYes?
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.
You need to domain map it with a CNAME.
And hire someone to do it for you. π
- The topic ‘How can I install subdomains within wordpress multi site?’ is closed to new replies.