---
title: "Moving Hosts and Using Staging Sites"
url: "https://dudlewebs.com/guideline/media-cloud-sync/migration-and-uninstall/moving-hosts-and-using-staging-sites/"
markdown_url: "https://dudlewebs.com/guideline/media-cloud-sync/migration-and-uninstall/moving-hosts-and-using-staging-sites.md"
type: "Docs"
language: "en-US"
date_published: "2026-11-08T11:11:19+00:00"
date_modified: "2026-11-09T17:18:42+00:00"
---

# Moving Hosts and Using Staging Sites

## Moving to a new host

Media Cloud Sync keeps its settings and records in your WordPress database, so a normal site move brings them along.

1. Copy your files and **your whole database**, including the `wpmcs_items` table.
2. If your keys are in `wp-config.php`, copy the `WPMCS_CONFIG` constant too. See [Storing Credentials in wp-config.php](https://dudlewebs.com/guideline/media-cloud-sync/storage-providers/storing-credentials-in-wp-config-php/).
3. On the new host, open **Settings** and click **Recheck** on the **Storage** and **Delivery** cards.
4. Make sure WP-Cron works there, or add a server cron job. **Tools → Site Health** reports this: see [Site Health](https://dudlewebs.com/guideline/media-cloud-sync/sync-and-maintenance/site-health/).

With **Remove files from server** on, there’s less to copy, since media stays in the bucket. If you’d rather have local copies on the new host, use [Restore Media to Server](https://dudlewebs.com/guideline/media-cloud-sync/pro-features/bulk-tools-restore-move-and-remove/#restore-media-to-server) `PRO` first.

## Changing your domain

Cloud URLs don’t contain your site’s domain, and your posts store local URLs that are rewritten on display. After a normal domain change, run your usual search-and-replace on the database. Then, if you use it:

- [Bucket CORS](https://dudlewebs.com/guideline/media-cloud-sync/pro-tools/bucket-cors/) `PRO`: click **Update** to add the new address.
- A Pro license is tied to the site’s address. Deactivate it on the old domain first, and activate it on the new one.

## Staging copies

> **Warning:** A staging copy of your database still points to your **live bucket**. Deleting media on staging deletes its cloud files, which breaks them on your live site. New uploads on staging also land in the live bucket.

Safer options:

- **Give staging its own bucket.** Migrate a copy there with [Migrate Bucket to Bucket](https://dudlewebs.com/guideline/media-cloud-sync/pro-features/migrate-bucket-to-bucket/) `PRO` on the staging site, leaving **Delete source files after they are copied** off.
- **If staging must share the bucket,** don’t delete media there, and give it its own prefix in [Storage settings](https://dudlewebs.com/guideline/media-cloud-sync/settings/storage-settings-reference/) so new uploads stay apart.

Don’t run [Clean Up Unused Files](https://dudlewebs.com/guideline/media-cloud-sync/pro-tools/clean-up-unused-files/) `PRO` to delete on a site that shares a bucket and base path with another site: the other site’s files look unused.

## Copying only the settings

To set up another site the same way, use [Import / Export](https://dudlewebs.com/guideline/media-cloud-sync/sync-and-maintenance/copying-settings-with-import-export/). Secrets aren’t included, and it doesn’t copy any media or records.

## Related

- [Switching Provider or Bucket](https://dudlewebs.com/guideline/media-cloud-sync/migration-and-uninstall/switching-provider-or-bucket/)
- [Multisite](https://dudlewebs.com/guideline/media-cloud-sync/plans-and-multisite/multisite/)

[← Previous Switching Provider or Bucket](https://dudlewebs.com/guideline/media-cloud-sync/migration-and-uninstall/switching-provider-or-bucket/) [Next → Stopping Using Media Cloud Sync](https://dudlewebs.com/guideline/media-cloud-sync/migration-and-uninstall/stopping-using-media-cloud-sync/)

Still need help?

[Chat with us Quick questions, answered live](https://dudlewebs.com/contact/) [Contact us Sales, partnerships or anything else](https://dudlewebs.com/contact/) [Create a ticket Technical issues with your site](https://dudlewebs.com/submit-ticket/)
