WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to setup a staging instance of my multisite network and I'm not sure how best to do it. I'm will be using version control to deploy to staging and production environments and I'd like the staging to be a full mirror of the production multisite network.

How feasible is it to set this up on a subdomain ?


Has anyone done this before ?

Any advice is appreciated.


share|improve this question

Right now the way we are currently using we have 3 enviroments. Development, Test, and Production. On the same server we have the 3 instances as separate sites/domains. So we have something like this. This would work best for multisite

  1. domaindev.com
  2. domaintest.com
  3. domain.com

You need to have individual domains to be able to use the subdomain functionality of wpms

Once everything is tested on domaindev.com, we just push it to the test and so on. But if you have a current version of your site, and you want to add new features in a dev environment I would suggest replicating your live site on another domain, and maybe this script here can help you.


Once you are done and test those changes, can just update your live site again.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.