WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Move sub-site of multisite to its own install- same server (48 posts)

  1. robnalexpress
    Member
    Posted 2 years ago #

    Current Setup: 2 site multisite with domain mapping on a VPS with 1GB RAM, 75GB disk.

    Objective: Move the sub-site to its own WordPress installation on the server.

    My VPS is managed, so I could have them do it for me, but I’d like to learn how to do it myself. I realize that I can use the WordPress export/import plugin (I’ve done this before) but really don’t want to have to rebuild everything from scratch, so I’m looking for a way to move everything intact. The headway tutorial by A. J. Morris shows how to do it manually and using backup buddy, but indicates that backup buddy is sometimes unreliable.

    I’ve found a lot of guides for this, including the one at Headway, but none of them specifically address moving a sub-site of a multisite and leaving the main site intact. Any how-to links or suggestions will be greatly appreciated.

    Specific questions:

    Once I figure out how to do this, I also need suggestions as to where to put the new install on my server. My current install is at /home/sitename. Would I put the new install in a new directory at /home/newsitename?

    Should I give the new install its own database or use a shared database for both sites?

  2. Don't bump your old posts to get attention, man, that's not cool.

    There's no easy way to move a MultiSite subsite off to it's own. You could make a fresh install, and then try copying over the wp_x_* tables for the site, but that may be hit or miss, depending on the user ID you used for the posts.

    I'd just make a new site, install the plugins etc and configure it manually, then export/import the post content.

    As for where to install it on your server, that depends on your server, and if you're giving the install it's own subdomain, domain, or whatever.

  3. robnalexpress
    Member
    Posted 2 years ago #

    Don't bump your old posts to get attention, man, that's not cool.

    Sorry- I wasn't thinking about the bump factor! Wish there was a delete/undo. [Oh! I guess there is! Thanks!]

    the sub-site is already mapped to its own domain, and will retain that domain with the new install.

    A fresh install may not be too bad. Headway does have it's own export/import feature now, so that, in addition to the WordPress export/import, should help, but it will be a project, which is why I've been putting it off for so long.

  4. williegl
    Member
    Posted 2 years ago #

    I have mu installed in the root can I create a new database and install wordpress in a subdomain without interfering with the MU or will I have to take the MU off all together.

    Also if you don't mind, should I change from MU to MS?

    Thanks,
    Williegl

  5. robnalexpress
    Member
    Posted 2 years ago #

    Great! First I P.O. one of my favorite Mods and now I'm hijacked!

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    @williegl: It is considered impolite to interrupt another poster's thread. Please post a new topic.

  7. the sub-site is already mapped to its own domain, and will retain that domain with the new install.

    Ugh. Well first step is to look into how you can map domains to your VPS. If you want to run them all off one account that's one thing. If you want them to have separate accounts, it's another. Check your hosts's help docs to see if they have directions.

  8. robnalexpress
    Member
    Posted 2 years ago #

    Well first step is to look into how you can map domains to your VPS.

    The domain in question is currently parked on the current account and WordPress MU Domain Mapping maps to it.

    I'm not clear on the concept of "accounts" but probably a separate account with its own cpanel, resources would be preferable.

    All I've been able to find in the liquidweb knowledge base is this, which states: "If you have a VPS, Dedicated, or Storm server you can set up multiple domain name accounts via your server’s software. If you need assistance creating a new account on your server and you are using cPanel or Plesk you can contact our support team via the information at the bottom of this page or by opening a ticket with your PIMS login information."

    I'll probably just open a support ticket and see what they suggest- they are always super helpful and smart over there.

  9. I would make a separate account for it, personally, since if you're moving off multisite and to it's own, it's because you need it totally separate.

    On that separate account, you should have some temp URL (ip/~accountname) and you can install WP there, configure it, then change it to domain.com instead of 12.34.567.89 and unpark the domain and map it to the account.

    Annoying, but doable.

  10. robnalexpress
    Member
    Posted 2 years ago #

    Thanks, Ipstenu- What's the annoying part, other than rebuilding everything? If the Headway export/import works-

    Export the configuration; SEO settings; Header, Footer, Navigation, and Site Dimensions panels; and current styles (and saved styles) applied in the visual editor, and leaf templates. This will not include the leafs, layouts for any pages, and widgets. However, if you save your pages into leaf templates prior to exporting, you can load the leaf templates to the new pages after importing.
    it shouldn't be too bad.

    Where would you put the new account? The current account is at /home/accountname. Would I put the new install in a new directory at /home/newaccountname?

  11. No no, in VPS make a new account. You're on LiquidWeb so you have WHM?

  12. robnalexpress
    Member
    Posted 2 years ago #

    OK- I'm sure it will make sense when I do it. Yes, I have WHM. I'll take a look- OK I see it. Just curious about where that account will live on the VPS? Thanks!

  13. Usually /home/username but the interface makes that for you, outside of WordPress.

  14. robnalexpress
    Member
    Posted 2 years ago #

    Could I move the entire multisite to the new account (with temp URL) and configure it to a single site install before pointing to the domain? there is only one user and password for both sites.

  15. Yes, if you use the temp location.

    Like http://67.xxx.xxx.52/~ipstenu/

    I forget how to make that work, but ping LiquidWeb. They'll have it for you in an hour ;) (They're my host too, I love them!)

  16. robnalexpress
    Member
    Posted 2 years ago #

    Unless I'm missing something, that plan sure would eliminate a lot of rebuilding. I'd just have to switch any network activated plugins to site activated, make the current subsite the main site and delete the other site. It always seems easy in my head!

  17. Yeaaah I'm sure the reality won't be as easy ;) It never is.

  18. robnalexpress
    Member
    Posted 2 years ago #

    OK, I've taken the first step and have a new account set up on my VPS at liquidweb:

    | Domain: dev.domain.com
    | Ip: 67.227.244.179 (n)
    | HasCgi: y
    | UserName: xxxxxx
    | PassWord: ***HIDDEN***
    | CpanelMod: x3
    | HomeRoot: /home
    | Quota: 0 Meg
    | NameServer1: ns1.primarydomain-otheraccount.com
    | NameServer2: ns2.primarydomain-otheraccount.com
    | NameServer3:
    | NameServer4:
    | Contact Email: xxxxxxxxxxx
    | Package: default
    | Feature List: default
    | Language: en
    +===================================+
    Account was setup by: root (root)

    Still not sure which would be safer:

    1. Having them copy the entire multisite to new account and then convert it to single site.

    2. Use WP export/import.

    In either case, wondering what I'll need to tweak when I'm ready to point to the "real" domain.

  19. Make sure http://67.xxx.xxx.52/~account/ works - I had to turn off mod_userdir Tweak.

    Apache's mod_userdir allows users to view their sites by entering a tilde(~) and their username as the uri on a specific host. For example http://test.cpanel.net/~fred/ will bring up the user fred's domain. The disadvantage of this feature is that any bandwidth usage used by this site will be put on the domain it is accessed under (in this case test.cpanel.net). mod_userdir protection prevents this from happening. You may however want to disable it on specific virtual hosts (generally shared ssl hosts.)

  20. robnalexpress
    Member
    Posted 2 years ago #

    Make sure http://67.xxx.xxx.52/~account/ works

    Sorry- I don't understand...http://www.dev.domain.com/ works. Have not installed WP yet- still trying to figure out how to proceed.

  21. Oh! You did that :D

    I suppose you can log in to the dev.domain.com account via SSH and install WP there, and go forward.

    Safer is ... eh, it's hard to say.

  22. robnalexpress
    Member
    Posted 2 years ago #

    I'm inclined to use export/import, but wondering what happens in WordPress when I'm ready to change dev.domain.com to domain.com. IOW, the sub-site domain.com will be imported into dev.domain.com, which will need to be changed to domain.com when it's ready.

  23. but wondering what happens in WordPress when I'm ready to change dev.domain.com to domain.com.

    Treat it as moving the site.

    Though that's why I said to use your IP/~username - That way you'd be installing it all in the final resting place and just have to change the site/home URLs to 'move' and point the nameservers to the new place.

  24. robnalexpress
    Member
    Posted 2 years ago #

    use your IP/~username

    This is the part I don't understand. How is this different than dev.domain.com?

    What do I need to do besides installing WP at dev.domain.com before importing?

  25. Other than the fact that it's an IP and not your domain name?

    You're not MAPPING a domain to that account yet.

    Unless you ONLY mapped dev.domain.com to the new location, which can work, using the IP lets you not map anything and just build out.

  26. robnalexpress
    Member
    Posted 2 years ago #

    You're not MAPPING a domain to that account yet.

    This part I get.

    But I don't know how dev.domain.com is mapped and I don't know how to use an IP/~username. I'm trying to figure out how to do this.

  27. IP = the IP of your VPS

    username = The username for the account you added.

  28. robnalexpress
    Member
    Posted 2 years ago #

    @Ipstenu- I really appreciate your trying to help, but fear we're talking past each other. You may be presuming I know something I don't.

    I certainly know what my VPS IP address and username are. What I don't know is what I'm supposed to DO to change/prepare this new account before I can proceed. When you say "use your IP/~username" I don't know what you mean. Use it for what?

    When I type http://67.xxx.xxx.xxx/~myusername/ into my browser, I get:
    Index of /~username

    Icon Name Last modified Size Description[DIR] Parent Directory -
    [DIR] cgi-bin/ 10-Oct-2011 18:53 -
    [DIR] images/ 10-Oct-2011 18:53 -
    [TXT] postinfo.html 10-Oct-2011 18:53 2.4K

    Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at 67.xxx.xxx.xxx Port xx

    So, what do I DO now? Thanks for your patience....

  29. Upload WordPress :)

    http://67.xxx.xxx.xxx/~ipstenu == http://ipstenu.org

    Therefore http://67.xxx.xxx.xxx/~myusername/ == what WILL BE yourdomain.com

    It's an alias. I swear it's not complicated. It's just a different way to go to the same location. Just upload a file and see.

  30. robnalexpress
    Member
    Posted 2 years ago #

    I'll try it. What if I were to install WordPress using fantastico from cpanel of new account? So this is more about where WordPress thinks it lives than where it's installed (the new account)?

    Can't figure out how to upload to http://67.xxx.xxx.xxx/~myusername/ in filezilla. Shouldn't I install to /home/new account/public_html?

Topic Closed

This topic has been closed to new replies.

About this Topic