Description
Learn how to move WordPress from shared hosting to a VPS “Multisite Setup ( Forpsi shared to VPS )” and transform it into a powerful Multisite network. This step-by-step guide simplifies server setup, migration, and Multisite configuration for students and beginners.
Table of Contents
-
Why Move from Shared Hosting to a VPS?
-
What Is WordPress Multisite?
-
Pre-Migration Checklist
-
Step-by-Step VPS Setup
-
Migrating Your WordPress Sites
-
Configuring WordPress Multisite
-
Adding Subdomains to Your Network
-
Maintaining Your New Multisite VPS
-
Common Pitfalls and Solutions
-
Resources and Further Reading
Why Move from Shared Hosting to a VPS?
Shared hosting is like living in a dorm—you share resources with others. A VPS (Virtual Private Server) gives you your own “apartment”: dedicated resources, better performance, and full control. For growing sites or managing multiple sites, a VPS is cost-effective and scalable.
What Is WordPress Multisite?
WordPress Multisite lets you manage multiple websites from one central dashboard. Imagine running a main site, a subdomain site (like blog.yoursite.com), and future projects—all from a single WordPress install. It’s perfect for students, agencies, or anyone managing related sites.
Pre-Migration Checklist
Before starting, ensure you have:
-
Access to your current hosting (Forpsi shared) and new VPS credentials
-
Backups of both WordPress sites (files and databases)
-
Domain and DNS management access
-
Basic familiarity with terminal/SSH (or use a control panel like cPanel)
Step-by-Step VPS Setup
Choose Your Server Stack
For a standard VPS (like Forpsi Classic), you’ll need to install:
-
Web Server: Apache or Nginx
-
Database: MySQL or MariaDB
-
PHP: Version 7.4 or higher
Most users opt for a LAMP stack (Linux, Apache, MySQL, PHP) for simplicity.
Secure Your Server
Initial steps include:
-
Updating system packages
-
Configuring a firewall (UFW)
-
Setting up SSH keys (disable password login)
-
Creating a non-root user with sudo privileges
💡 Tip: Use a control panel like Webmin if you’re uncomfortable with the command line.
Migrating Your WordPress Sites
-
Backup Everything
Use a plugin like UpdraftPlus to backup files and databases from both sites. -
Transfer Files to VPS
Upload backups via SCP/FTP or directly transfer usingrsync. -
Import Databases
Create new databases on your VPS and import the SQL dumps. -
Update Configuration
Adjustwp-config.phpwith new database details and VPS IP/domain. -
Test Before DNS Switch
Temporarily modify your localhostsfile to preview the site on the VPS.
Configuring WordPress Multisite
Once both sites are on the VPS:
-
Enable Multisite in
wp-config.phpby adding:define('WP_ALLOW_MULTISITE', true);
-
In Tools > Network Setup, choose Subdomain installation.
-
Follow WordPress instructions to update
wp-config.phpand.htaccess. -
Your main site becomes the “primary” site; the subdomain site becomes the second site in the network.
Adding Subdomains to Your Network
WordPress Multisite can create new subdomains on the fly—but your server must handle wildcard subdomains.
For Apache:
Add to your virtual host config:
ServerAlias *.yourdomain.com
For Nginx:
Include a server block matching *.yourdomain.com.
Then, in WordPress Network Admin, you can add new sites with their own subdomains instantly.
Maintaining Your New Multisite VPS ( Forpsi shared to VPS )
-
Regular updates (WordPress, plugins, themes) apply network-wide.
-
Monitor server resources (CPU, RAM) via tools like htop.
-
Implement automated backups for the entire network.
-
Use a caching plugin (e.g., W3 Total Cache) or server-level caching (Redis).
Common Pitfalls and Solutions
| Issue | Solution |
|---|---|
| Subdomains not resolving | Set up wildcard DNS (*) in your domain panel |
| “Too many redirects” error | Check .htaccess rules match Multisite setup |
| Plugin/theme compatibility | Test new plugins on a staging subdomain first |
| Server overload | Optimize with caching and consider a CDN like Cloudflare |
Resources and Further
This Article will help you:


