Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Migrate Wordpress

    WordPress (Developer)
    3
    3
    194
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Rahim
      Rahim last edited by

      Hello friends,
      Hope you are fine.

      I need know that what is the best practice to migrate a Wordpress website, hosting by Cpanel, to Cloudron.

      The plan is free.

      Kind regards

      robi P 2 Replies Last reply Reply Quote 0
      • robi
        robi @Rahim last edited by

        @rahim if you use the search for "wordpress migration" you might find this: https://forum.cloudron.io/post/4061

        Life of Advanced Technology

        1 Reply Last reply Reply Quote 1
        • P
          p44 translator @Rahim last edited by p44

          @rahim I think best solution is to do this process via command line. Is clean, safe and you can upload any DB size.

          Of course, each installation have specific way to follow, depends on specific case.

          Eg. if origin domain is the same or different to destination domain.

          Also, If both, source and destination, are live. In this case, you've to approach the DNS A field to validate domain on Cloudron.

          This below is my procedure, assuming that source and destination have the same domain name and that domain is live.

          From the source server you need to export:

          • mysql.dump
          • wp-content folder

          Then you've to create a new instance on Cloudron called "swap". Eg. swap.mydomain.com.

          You upload mysql dump to /tmp/ via terminal, and then you import sql DB using command line (you can find info here).

          Then you have to upload "wp-content" folder. You can do via FTP or also via Cloudron File Manager. You can upload zip archive and then unzip inside main wp folder.

          When you have swap.mydomain.com working, you can use the function app "Backups", using "Clone" on the main domain.

          Just before cloning, you have to change A fields in DNS panel, so Cloudron can validate new domain. (You can skip this step if your domain is configured with DNS provider (Eg. Cloudflare or others listed).

          Let me know if is all clear and if I can help you.

          1 Reply Last reply Reply Quote 3
          • First post
            Last post
          Powered by NodeBB