Intermediate 20 min

Migrate a site to Anthony IT Solutions

Full migration from another hosting provider: backup, SFTP transfer, MySQL import and DNS switch without prolonged shutdown.

#Migration#Transfer#DNS#Sauvegarde

Ready to start your service? Check offers and order online.

View offers and order

Migrate a site to Anthony IT Solutions

Transfer an existing site to a web hosting Anthony IT Solutions requests a precise sequence: export to the old host, import files and MySQL database, IP tests or temporary subdomain, then switch DNS.

This guide covers WordPress migration, Joomla, PrestaShop or static site: full backup, SFTP transfer, import phpMyAdmin, wp-config.php adjustment and switch A/MX records without data loss.

In summary Export files + base to the old host, upload to SFTP, import MySQL via phpMyAdmin, test before editing the DNS, then monitor SSL and e-mails after propagation.

What you need

Inventory old hosting

ElementSourceDestination
FilesFTP former hostpublic_html via SFTP
MySQL BaseExport .sqlphpMyAdmin import
DNSRegistrarRecord A
E-mailsCurrent MXRecreate boxes
  1. List Components

    CMS (WordPress, Joomla...), PHP version, MySQL extensions, email accounts, cron jobs, SSL certificates and subdomains.

  2. Export base

    phpMyAdmin or mysqldump: full SQL export. Note prefix tables (wp_), float (utf8mb4) and file size.

  3. Archive Files

    Compress public_html in .zip/.tar.gz. Include .htaccess, wp-config.php, file uploads.

  4. Document current DNS

    Capture records A, MX, TXT (SPF/DKIM), CNAME before modification.

Preparing the destination Anthony IT

  1. Create MySQL database

    Panel → MySQL Bases → new base. Note host localhostuser, password, MySQL guide.

  2. Create SFTP account

    Panel → SFTP → user related to the domain. Test with FileZilla, connection SFTP.

  3. Lower TTL DNS

    48 h before migration: TTL at 300 s in the registrar to accelerate the rocking.

  4. Test sub-domain

    Optional: staging.test.yourdomain.fr to validate before tipping.

Transfer files and database

  1. Upload SFTP

    Connect FileZilla: host sftp.votredomaine.fr, port 22. Upload the content in public_html (not the parent file).

  2. Permissions

    Records 755, files 644. wp-content/uploads must remain inscriptible.

  3. MySQL import

    phpMyAdmin → Import → choose .sql. If too large a file, cut or use BigDump.

  4. Adapt wp-config.php

    Update DB_NAME, DB_USER, DB_PASSWORD, DB_HOST (localhost). Check WP_HOME and WP_SITORL if set.

absolute URLs WordPress stores basic URLs. After import, use WP-CLI or a search-replace plugin if the domain changes.

Test before DNS rocking

  1. Local host file

    On your PC: add VOTRE_IP votredomaine.fr in /etc/hosts (Linux/Mac) or C:\Windows\System32\drivers\etc\hosts.

  2. Check the site

    Open https://votredomaine.fr : pages, forms, admin, images.

  3. Test e-mails

    Send a test email from the new server if the mail is migrated.

  4. Enable SSL

    Certificate Let's Encrypt on the destination before tipping.

DNS switch and post-migration

  1. Edit Records A

    Point @ and www to IP Anthony IT, DNS guide.

  2. Propagation

    Wait 5 min at 48 h according to TTL. Check with dig votredomaine.fr or whatsmydns.net.

  3. HTTPS redirections

    Force HTTPS with redirects 301.

  4. Recurrent backups

    Plan exports, guards, and disable the old hosting after 7 days of stability.

Troubleshooting

  • White screen after import, check wp-config.php, prefix tables and PHP version.
  • Created images, Search-place URLs or re-upload folder uploads.
  • Error base connection, MySQL identifiers and host localhost.
  • Old site still visible, high DNS TTL or browser cache; empty local DNS cache.

Frequently Asked Questions

How long does a migration last?
2 to 6 hours of work + DNS propagation (a few minutes at 48 h).

Can I migrate without a cut?
Yes with a test subdomain and then switch DNS to low traffic.

And the emails?
Recreate the boxes and update MX/SPF/DKIM, E-mail guide.

Can support migrate for me?
Open a ticket with old host access and backup.

Related guides

See also our web hosting offer and all the procedures on wiki web hosting.