WordPress Multisite on a VPS lets one WordPress install run many sites: a main site plus subsites that share plugins, themes, and users but keep their own content. It suits networks of related sites, such as a company with regional branches or a school with one site per department. It is a poor fit for unrelated client sites. This guide covers the setup, the resource math, and the limits to check before you commit.
What Multisite Is and Is Not
In a multisite network, one codebase and one database serve every subsite. The network admin installs plugins and themes once, and each site admin activates what they need. Users can belong to several subsites with different roles on each. Content, media libraries, and settings stay separate per site, so a post on one subsite never appears on another unless you deliberately share it.
Multisite is not a hosting panel and not a shortcut for managing unrelated clients. Every subsite shares the same server resources, the same plugin set, and the same fate during an outage or a security incident. If one subsite gets compromised, the whole network is at risk. For unrelated sites with different owners, separate installs are safer, as running multiple WordPress sites on one VPS with Docker explains.
Subdomain Versus Subdirectory
Multisite offers two address structures, and the choice is hard to reverse later:
| Structure | Example | Best for |
|---|---|---|
| Subdomain | jakarta.example.com | Regional or branch sites |
| Subdirectory | example.com/jakarta/ | Sections of one brand |
Subdomain installs need wildcard DNS, a DNS record such as *.example.com pointing at the VPS, plus a server block that accepts any subdomain. Subdirectory installs need no wildcard DNS but make later domain mapping more awkward. A subdomain multisite install is the more flexible choice for most networks, since each subsite can later map to its own domain.
WordPress Multisite on a VPS: Installation Steps
A WordPress network setup starts with a normal single-site install on the VPS, then converts it. The steps are:
- Back up the site fully, including the database.
- Add
define('WP_ALLOW_MULTISITE', true);to wp-config.php above the “stop editing” line. - Open Tools, Network Setup in wp-admin and choose subdomains or subdirectories.
- Add the constants WordPress gives you to wp-config.php, and the rewrite rules to .htaccess or the Nginx equivalent.
- Log back in and open My Sites, Network Admin to create the first subsite.
On Nginx there is no .htaccess file, so the rewrite rules go into the server block. WordPress prints Nginx rules on the Network Setup screen when it detects the server type. If those rules are missing or wrong, subsite admin pages return 404 errors while the main site works fine, which is the classic symptom of a missed rewrite step.
Multisite Resource Planning: How Much Server Do You Need
Resource planning starts with a simple fact: a network shares one PHP pool and one database, so traffic spikes on one subsite affect all of them. Size the VPS for the network total, not per site. As a planning guide:
| Network size | RAM planning point | Notes |
|---|---|---|
| 2 to 5 small sites | 2 GB | Fine with page caching |
| 5 to 20 active sites | 4 GB | Add object caching |
| 20 or more sites | 8 GB and up | Monitor and scale per traffic |
These are planning points, not guarantees: a single heavy subsite with an uncached shop can use more than ten quiet brochure sites combined. For the general sizing logic, choosing VPS specs for RAM, CPU, and storage covers the trade-offs, and how much RAM a WordPress VPS needs goes deeper on memory specifically. For a broader self-hosting sizing view, the VPS sizing guide for self-hosting stacks shows how to measure before you buy.
CPU matters as much as RAM once the network grows. Each uncached page build uses PHP worker time, and a network admin running updates across many subsites can saturate a single CPU core. Two CPU cores are a sensible floor for an active network, with PHP-FPM pm.max_children set so workers fit in available memory rather than swapping.
Plugins, Themes, and Updates Across the Network
Only the network admin can install plugins and themes. Site admins activate them per subsite. This keeps the network consistent, but it also means one bad plugin update affects every subsite at once. Test updates on a staging copy of the network before applying them, and update during low-traffic hours. A plugin that works on a single site can behave differently in a network, especially plugins that create their own tables or assume one site per install.
Media handling deserves attention too. Each subsite gets its own uploads folder, so storage grows with every site. Plan disk space for the total of all subsites plus backups, and set upload limits per site if the network is open to many authors.
Backups and Security for a Network
Back up the whole network together: one database contains every subsite, so a partial restore is not practical. Test restores on a staging copy, because a backup that has never been restored is an assumption, not a safety net. On security, limit network admin accounts to as few people as possible, require strong passwords and two-factor authentication, and keep user registration closed unless the network genuinely needs public signups. An open registration form on one subsite invites spam accounts across the network.
When Multisite Is the Wrong Choice
Skip multisite when sites have different owners, different security needs, or very different traffic patterns. A client who needs their own backup schedule, their own plugin set, or isolation from other sites will be frustrated by network limits. Separate installs cost a little more administration but give each site independence. The same applies when one site is far busier than the rest: it deserves its own resources rather than sharing a pool with quiet sites.
Done for the right reason, a WordPress network on a VPS is efficient: one update cycle, one backup job, one server to watch. Done for the wrong reason, it couples sites that should never have been coupled. Check the limits first, size for the total, and the network will stay manageable as it grows.