After exploring WordPress-Nginx Configurations for standard/single-site setup, its time to explore WordPress-Nginx Configuration for Multisite setup.
In today’s article, we will take a general overview of WordPress-Multisite. Then in the subsequent chapters we will explore different Nginx configurations.
There are three ways in which WordPress Multisite can be configured. Each has its own use cases and different level of setup complexity.
Configuration | Sub-directory mode | Sub-domain mode | Sub-domain with Domain Mapping |
---|---|---|---|
Site Address Examples | example.com/site1 example.com/site2 | site1.example.com site2.example.com | site1.com site2.com |
DNS requirement | None | Wildcard domain name support | Wildcard domain name support |
Ongoing DNS Efforts | None | None | Creation of “A” or “CNAME” record for “mapped” domains |
Dedicated IP | Not Required | Not Required | Required – if we want to use A-records for “mapped” domains |
Common Usage | Development environment, Demo Sites | Blog Networks with generally common owner, Community Sites | Open Blog Networks, WordPress as CMS hosting |
* Note: In domain mapping mode, its not compulsory to map top level domain for every site in Multisite.
There are some differences and quirks you need to be familiar when running a WordPress-Multisite network. All of these will be addressed in separate chapters for three modes.
If you have never used WordPress Multisite before, its better to check right now if it is a good choice going ahead. We get this question many times from our clients.
WordPress multisite has many advantages but in some cases you may regret going for it. For this reason I am addressing this question earlier and quickly.
WordPress-Multisite may prove bad:
Good things about WordPress-Multisite:
Technically, Multisite comes with some performance issues out of the box, but these can be solved by small tweaks. In terms of scaliblity, you can again look at wordpress.com stats which is proof of WordPress Multisite scalability! So performance issue can be ignored if you are willing to put some efforts into tweaking.
Nginx itself is capable of handing many performance issues. I will shed more light on this in the next chapters.
Tomorrow, we will deal with WordPress-Multisite configuration with some optimization! Keep reading!
You can also find the complete list of WordPress-Nginx tutorials here.
Comments
Thank you! I have spent all day trying to make WPMU do something it wasn’t designed to do and I didn’t figure that out until reading this. We need more when-to-use posts like this. Well done! If you’re ever in Cleveland, Ohio, lunch is on me!
Hi Chris,
Glad to know that you find this article useful. 🙂
Thanks Rahul! I was really confused about subdir and subdomians!
Hello,
I am trying to run wordpress multisite on the subdomain.
Example:
subdomain.domain.com is a place which my wordpress multisite installed.
My newly created blogs are under subdomain setting and something look like these:
blog1.subdomain.domain.com
blog2.subdomain.domain.com
examplesite.subdomain.domain.com
But it doesn’t work.
Could anyone help me figure it out please…?!
Best regards,
Amir
how do i do this?
site1.example.com to point to both site1.com and site2.com
Sorry, couldn’t understand your question?
You can point any number of domains to one site but you cannot point a single domain to 2 different sites!
Can I do a site2.domain.com mapped from a WP platform installed on site1.domain.com? I couldn’t get it yet. Thanks.
Sorry but I couldn’t understand what you want to achieve. A subdomain is technically as independent as a domain.
Nearly all Links on the help pages regarding Multisite setup are broken. Could you please fix them?
i.E the Link on the bottom of the article : “WordPress-Multisite configuration”
Broken: https://easyengine.rtcampmu.rt.gw/tutorials/creating-wordpress-multisite-network-nginx/
Working: https://easyengine.rtcampmu.rt.gw/wordpress-nginx/tutorials/multisite/overview/
Thanks for reporting Daniel. We have fixed the links 🙂