# Move from A2

> Export your site from A2 Hosting (now hosting.com) and move it to WP Waterfall with the free migration, then switch the domain.

Source: https://docs.wpwaterfall.com/migrate/from-a2-hosting

This guide is for a WordPress site on A2 Hosting: a cPanel plan, a Hosting Panel plan, or Managed WordPress. A2 Hosting now operates as hosting.com. You sign in at `my.hosting.com`, and help lives at `kb.hosting.com`. Check hosting.com's current docs if a menu name differs.

## What you need

- An admin login at A2 Hosting and a WordPress admin login.
- A free site license, and a backup file in a format that [Migrate a site to WP Waterfall](https://docs.wpwaterfall.com/migrate-a-site#what-do-i-need) lists.

## Export your site from A2 Hosting

**Best route: SSH and WP-CLI.**

1. Find your SSH details. Hosting Panel plan: **Websites**, **Manage websites**, your site, **Advanced**, **Developer tools**. cPanel plan: **SSH Access**. Check hosting.com's current docs for the port.
2. Go to the folder that holds `wp-config.php`, often `public_html` or a subfolder.
3. Run:

```
wp db export --add-drop-table site.sql
tar -czf ~/site.tar.gz wp-content site.sql
rm site.sql
```

4. Download `~/site.tar.gz` with SFTP, then delete it from the server.

**No `wp` command.** Use phpMyAdmin. Hosting Panel: **Databases**, the database, **PhpMyAdmin**, **Download**. cPanel: phpMyAdmin, **Export**, **Quick**. Get `wp-content` with SFTP or a cPanel **Home Directory** backup.

**Managed WordPress.** At `my.hosting.com` choose **Managed WordPress**, **My Websites**, **Manage**, then the **Backups** icon. In **Cloud Backups** choose **Create Cloud Backup**, turn on **Files** and **Database**, and choose **Confirm**. Download it from the list. hosting.com removes each backup after 24 hours, and its docs do not name the file format, so open it.

On a cPanel plan, a Full Backup also works, and the request has a **cPanel backup** type for it. It holds the whole account, so a smaller export is safer to share.

## Prepare the archive

From a Home Directory backup, extract it, take `wp-content`, add the database file, and zip both. Deactivate A2 Optimized WP (`wp-content/plugins/a2-optimized-wp`) and remove it. Some of its features, such as Redis object caching, work only on A2 servers.

## Request the migration and switch the domain

Share the file as a public link, then follow [Migrate a site to WP Waterfall](https://docs.wpwaterfall.com/migrate-a-site) to request the migration. That article also covers what moves, what you set up again, how to switch the domain, and how to roll back. DNS may live at your registrar, at Cloudflare, or on hosting.com nameservers. Check hosting.com's current docs for where to edit the zone.

## Related

- [Migrate a site to WP Waterfall](https://docs.wpwaterfall.com/migrate-a-site)
- [Move it by hand](https://docs.wpwaterfall.com/migrate/from-generic-wordpress)
- [hosting.com: Managed WordPress cloud backups](https://kb.hosting.com/docs/how-to-manually-generate-and-download-a-full-cloud-backup-on-hostingcom-managed-wordpress)
- [cPanel: Backup Wizard](https://docs.cpanel.net/cpanel/files/backup-wizard/)
