2

If there is a network (multisite installation) with 10 sites inside. Is there a clean way to separate that site to its own site in a different server?

How?

2 Answers 2

1

We might need more details, but I'm going to assume that you are using subdomains, and that you want to retain the site's subdomain name on the new server. If that's the case, then all you should need to do is export the site, then import it on the new server. Then set up a new DNS 'A' record to point that specific site name to the new server's IP number. This should override the wildcard DNS domain pointer that multisite normally uses.

So, in your DNS setup, you should wind up with something like:

; DNS for example.com
*        A    111.111.111.111 ; multisite wildcard entry
foo      A    222.222.222.222 ; foo.example.com is on the new server

Make sense?

Depending on what else you've got going on, it might be more complicated. For example, you might have to search-and-replace in the .wxr export file to fix file paths for image uploads and such.

2
  • Recently I started to use sub-folder with a domain mapper plugin, which basically redirects to the right sub-domain. And yes, the client wants to keep the sub-domain.
    – Geo
    Commented Mar 2, 2011 at 15:37
  • Okay, that doesn't change anything for my answer. Export. Maybe fix file paths in the .wxr file. Import. Update DNS. Commented Mar 2, 2011 at 16:49
0

The Tools -> Export button in the backend of the sub site.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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