Reprint Relay Get started

Move WordPress from Docker, DDEV, Lando or wp-env to ordinary hosting

Short answer

Copy the files (mostly wp-content) and the database to your hosting, then replace the local address with your domain. Export both with your tool’s commands, or let wp2wp.link copy the running site straight over.

Start your move

By wp2wp.linkUpdated 4 min read

Result
Your site runs at your domain
Your time
About 15 minutes
Cost
Free, up to 50 GB per move
Your hosting
Needs no Docker

Which way fits you?

Before you start

Straight from your container

wp2wp.link guides you through it with Reprint A free, open-source plugin on WordPress.org that copies a WordPress site to another place. wp2wp.link guides you through a move with it., the free copy plugin from WordPress.org.

Your data: your site passes through our server while it is copied. We don’t store it, but we could read it. For sites with confidential data, export and upload by hand. What happens with your data

  1. On your local site, install Reprint and the Connector plugin A small WordPress plugin from wp2wp.link. You need it only when your site is on your computer. You install it there next to Reprint..

    Reprint is under Plugins → Add New Plugin. The connector is a .zip file from the guide on wp2wp.link.

  2. Under Tools → Reprint Relay, tick the box and click Connect.

    A code appears. Type it into the guide on wp2wp.link.

  3. At your hosting, create an empty Database (MySQL, MariaDB) Where WordPress keeps your posts, pages, settings and users. The files hold the theme, plugins and uploads. A move needs both. database.

    Note its name, user, password and host.

  4. Upload the Helper file The file reprint-web.php from wp2wp.link. You upload it into your domain’s folder at the new host and open it in your browser. reprint-web.php to your domain’s folder and open it.

    The guide gives you the file and its password. Your domain doesn’t lead there yet? Use a temporary address.

  5. In the helper, tick the box and click Get migration token.

    Check that both screens show the Characters to compare A short row of letters and digits. When you move a site from your computer with wp2wp.link, your old site and the helper on your new hosting both show it., then click Approve on your local site.

  6. In the helper, enter the database details and click Start migration.

    Keep the stack running until it is done. The helper writes the real database details into wp-config.php, and links to localhost:8080 then point to your domain.

  7. Clean up: delete reprint-web.php and the reprint-data folder, then click Disconnect.

Export with your tool’s commands

This works like any local site, with a few extra details for containers.

ToolDatabase exportFiles
Docker Composedocker compose exec db mysqldump -u root -p wordpress > db.sqlBind mount, or copy out of the volume with docker cp
DDEVddev export-db --file=db.sql.gzProject folder
Landolando db-export db.sqlProject folder
wp-envnpx wp-env run cli wp db exportMapped plugin and theme folders. Uploads are inside the container

Service names (db, cli) and the database name depend on your setup.

  1. Export the database with the command for your tool.

  2. Get wp-content out of the container.

    A bind mount is already a folder on your computer. From a volume, copy it with docker cp.

  3. Upload the files to your hosting with your own FTP user.

    Then the files belong to your hosting user, and WordPress can change them.

  4. At your hosting, create an empty database and import the SQL file.

  5. Put real values into wp-config.php.

    Docker images often fill it from variables like WORDPRESS_DB_HOST, which hosting doesn’t have. The database host is localhost or the name in your panel, not db.

  6. Replace the local address, including its port, with your domain.

    Use wp search-replace or Better Search Replace: how.

How you know it worked

If something goes wrong

The site can’t connect to the database

wp-config.php still expects Docker’s variables or the service name db. Enter the real database name, user, password and host from your hosting panel.

Links still contain localhost:8080

A site at http://localhost:8080 stores the port in its links. Replace the full old address, with the port: how.

Images are missing after a wp-env export

With wp-env, uploads are inside the container, not in your mapped folders. Copy them out as well, or copy the running site with wp2wp.link.

The host can’t write to the uploaded files

Files made in the container can belong to another user. Upload them again with your own FTP user.

Questions

Does it work with DDEV, Lando and wp-env?

Yes. They all run normal WordPress with PHP. That is all Reprint and the connector need.

Does the copy sync changes back to my container?

No. The copy goes one way, from your container to the hosting.

Can I move a Multisite network this way?

Not a whole network. Reprint copies single sites.

Sources, checked 18 November 2026

DDEV export-db, Lando db-export, wp-env, Reprint.

Was this page helpful?

Back to top