Skip to content
Atlas Hoster
Website › WordPress et PHP

Move your website from another host to Atlas Hoster

Updated on 20 November 2026Checked on documentation cPanel & WHM ; libellés cPanel lus sur un cPanel de démonstration 138 on 20 November 2026

You have a site with another host and you want to move it to Atlas Hoster without losing it or taking it offline. The principle has three stages: copy the site to the new hosting, check that it works, then switch the DNS. This article describes the do-it-yourself method, for a site with files and a database (WordPress, for example).

Before you start

  • You have a hosting plan with Atlas Hoster and can log in to cPanel (see Log in to cPanel).
  • You keep access to the old hosting until the very end: cancel nothing before you have checked the new site.
  • You have the list of what to move: the site files, the database(s), the email addresses and their content, the redirects and the scheduled tasks. For mailboxes, see also Migrating Email Boxes to a Host: The Lossless Method.
  • You know where your domain's DNS is managed (at the registrar, at the old host, elsewhere). That is where the switch will happen.
  • If you would rather not do it yourself, our team can take the migration on: see the web hosting page or open a support request (see Open a support request).

Steps

1. Back up the old site

From the old hosting, get a copy of:

If the old hosting is also a cPanel, you can download a backup from its Backup screen (see Back up your site, emails and databases in cPanel). Note that cPanel does not restore a full backup by itself: that function exists only on the hosting provider's side (WHM). To move a site yourself, start from the files and the database.

2. Prepare the new hosting

  1. In cPanel, add the domain if it is not already the account's domain (see Add an extra domain or an alias to your cPanel hosting).
  2. Create an empty database and its user (see Create a MySQL database and its user in cPanel).
  3. Choose the PHP version that suits your site (see Change the PHP version and its limits in cPanel).

3. Copy the files and the database

  1. Upload the files to the domain's folder (see Publish your site by FTP with FileZilla or Use the cPanel File Manager).
  2. Import the .sql file into the empty database with phpMyAdmin (see the article mentioned in step 1).
  3. Adapt the site's configuration file to the new database: for WordPress, this is wp-config.php, with the new database name, the new user and its password. See Connect your PHP site to MySQL.

4. Test before switching

Your domain still points to the old hosting, so your browser shows the old site. To see the new one without touching the public DNS, you can edit your computer's hosts file so that the domain points to the new server's IP address (ask support if you cannot find it in cPanel). Do not leave that line in place after the test: it only affects your computer.

Check the main pages, the admin login, the forms, image uploads and, for a shop, the cart.

5. Switch the DNS

  1. Lower the TTL of the domain's records several hours ahead if your DNS provider allows it: the switch will then propagate faster.
  2. Change the domain's DNS so that it points to the Atlas Hoster hosting: either by replacing the DNS servers (see Change the DNS servers (nameservers) of your domain), or, if you keep your DNS elsewhere, by changing the A record of the domain and of www.
  3. Remember email. If you change the DNS servers as a whole, the MX, SPF and DKIM records of the old DNS do not follow on their own: recreate them in the new hosting's zone (see Change a domain's MX records (advanced) and Set up SPF, DKIM and DMARC).
  4. Wait for propagation (see DNS propagation). Keep the old site online for a few days.

6. Check and clean up

  • The site opens on the new server, and the https:// padlock is there: see Enable a free SSL certificate on your site (the certificate can only be issued once the domain points to our server).
  • Email arrives and goes out.
  • When all is well, remove the line you added to the hosts file, then cancel the old hosting.

Expected result

Your domain opens on the site hosted with Atlas Hoster, with its pages, images, database and email, and nobody saw an interruption.

If something goes wrong

  • "Error establishing a database connection" after the copy. The database credentials in the configuration file are not those of the new hosting. Go over them again (cPanel often prefixes the database and user names with the account name).
  • The site shows without styling, or redirects to the old address. The application stored absolute addresses. For WordPress, check Settings › General and the site addresses.
  • I still see the old site after the switch. DNS propagation is not finished, or your computer's cache is old: see DNS propagation.
  • Email no longer arrives. The MX records were not recreated in the new DNS zone. Go back to step 5.
  • The database import fails because the file is too large. See phpMyAdmin: manage, import and export a database, in the section about files that are too large.

Frequently asked questions

Will there be downtime?

Not if you copy and test before changing the DNS, and keep the old site online during propagation: visitors see one or the other, never an empty page. Choose a low-traffic period.

Do I also have to transfer my domain name?

No: a site can be hosted with Atlas Hoster without transferring the domain name, by changing only the DNS. If you also want to transfer the domain, see Transfer a domain name to Atlas Hoster.

What about my email?

It moves separately from the site: see Migrating Email Boxes to a Host: The Lossless Method.

How long does a migration take?

It depends on the size of the site and on DNS propagation. Allow a few hours to copy and test, plus the propagation delay for the switch. Our general guide describes the method: Switching Hosts Without Downtime: The Migration Guide.

A site to bring to us? See our web hosting plans.

WebsiteAll guides