---
title: "Migrate an Existing Website"
description: "Move an existing WordPress, Laravel, PHP, or static website to Hosted EZ with zero downtime using self-serve migration or our $49 Assisted Site Migration add-on."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.hostedez.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrate an Existing Website

You can move any existing website to Hosted EZ without taking your current site offline. Both self-serve and assisted migrations copy your site onto a Hosted EZ preview address (`https://<slug>.hostedez.site`) first so you can test everything before updating DNS.

## Choose your migration path

| Option | Best for | Cost | What you do |
| --- | --- | --- | --- |
| **Self-Serve Migration** | Developers moving Static, WordPress, Laravel, Drupal, or PHP sites | Included with any plan | Upload files via Deployments/SFTP, import SQL via Database Studio, test on preview HTTPS, switch DNS |
| **Assisted Site Migration** | Hands-off moves from cPanel, Plesk, GoDaddy, Bluehost, SiteGround, or custom hosts (optionally including email) | `$49` one-time add-on per site | Start a migration in **Dashboard → Migrations** and purchase the Assisted Migration add-on; Hosted EZ engineers handle files, DB, email, and DNS |

## Option A: Self-serve migration (zero downtime)

1. **Provision the destination site on Hosted EZ**

   Create a new site in [app.hostedez.com](https://app.hostedez.com/dashboard?tab=sites&new=1) matching your application runtime (**Static Site**, **WordPress**, **Laravel**, **Drupal**, **Nextcloud**, or **Custom PHP**) and PHP version (`8.3`, `8.4`, or `8.5`). Your existing site stays live at your current host.
2. **Export files and database from your current host**

- **Static site**: Zip your built output (`dist/`, `public/`, or `public_html/`) into a `.zip` or `.tar.gz` archive (up to `100 MiB`).
- **WordPress / Drupal / Laravel / Custom PHP**: Export your web root files (`wp-content/`, app code, etc.) and export your MySQL/MariaDB database as a `.sql` or `.sql.gz` dump:

  ```bash
  mysqldump --single-transaction --quick -u db_user -p db_name | gzip > backup.sql.gz
  ```
3. **Upload files to Hosted EZ**

   - For **Static Sites**: upload the archive in **Site → Deployments** (or sync via SFTP).
   - For **PHP/CMS sites**: connect via [SFTP](/deploy/sftp-and-github-actions) (`sftp.hostedez.com:22`) and upload your files into `public_html/`.
4. **Import your database in Database Studio**

   Open **Dashboard → Databases**, select your site's Managed MariaDB database (or create one for Laravel/Custom PHP), and open the **Import** tab in **Database Studio** to upload your `.sql` or `.sql.gz` file (up to **`64 MiB`**).

   Update your database credentials in `wp-config.php`, `.env`, or `settings.php` using the host, database name, username, and password shown in **Databases → Credentials**.

   > **Databases larger than 64 MiB**
   >
   > If your SQL dump exceeds `64 MiB`, upload the `.sql.gz` file into `private/` via SFTP and import it directly from the [Browser Terminal](/deploy/file-manager-and-terminal) using WP-CLI (`wp db import`) or PHP/CLI tools.
5. **Test on your preview URL**

   Visit `https://<slug>.hostedez.site` to verify pages, assets, forms, and logins. For WordPress, run a dry-run URL check if your old host hardcoded URLs:

   ```bash
   wp search-replace "https://old-domain.com" "https://<slug>.hostedez.site" --all-tables --dry-run
   ```
6. **Lower DNS TTL, connect your domain, and cut over**

   1. 24 hours before cutover (if possible), lower your current DNS `A`/`CNAME` record TTL to `300` seconds (5 minutes) so propagation is fast.
   2. Connect your custom domain under **Site → Domains**. See [Connect a Custom Domain](/domains/connect-custom-domain).
   3. Verify DNS and confirm Hosted EZ issues your automatic HTTPS certificate.
   4. For WordPress, make sure `siteurl` and `home` match `https://your-domain.com` and purge cache in **Site → Performance**.
   5. Keep your old host active for 24–48 hours while global DNS caches expire, then cancel your old plan.

## Option B: Assisted site migration (`$49` one-time)

If you prefer Hosted EZ engineers to handle the transfer:

1. **Start a migration request**

   Open **Dashboard → Migrations** ([app.hostedez.com/dashboard?tab=migrations](https://app.hostedez.com/dashboard?tab=migrations)) and click **Start migration**.
2. **Enter your current site details**

   Provide:
- **Site address**: the domain you are moving (for example, `example.com`)
- **Current hosting provider**: for example, GoDaddy, Bluehost, SiteGround, or WP Engine
- **Also migrate mailboxes on this domain**: check this box if you want email mailboxes moved to [Hosted EZ Email](/email/mailboxes-and-webmail) as well
3. **Attach the Assisted Migration add-on**

   In **Dashboard → Billing → Add-ons**, add **Assisted site migration** (`$49` one-time per site). Hosted EZ creates a preview migration site so you can review the transferred copy before pointing DNS live.

> **Refund policy on Assisted Migrations**
>
> Under Hosted EZ's 30-day money-back guarantee, an Assisted Site Migration charge is refundable if migration work has not yet started.

Source: https://docs.hostedez.com/deploy/migrate-a-site/index.mdx
