How to Move a Website to a New Host, Step by Step
November 30, 2026 · 6 min read

Moving a website to a new host sounds risky, but it is mostly a matter of doing things in the right order. The idea is simple: build a complete copy of your site on the new server, test it there, and only then point your domain to it. Your visitors keep seeing the old site until the switch.
Before you start
Write down what your site actually uses. Most small sites need some mix of these:
- Website files (HTML, PHP, images, themes, plugins).
- A database, if you run WordPress or any other CMS.
- Email accounts on your domain.
- Cron jobs, redirects and special settings such as PHP version or upload limits.
- Your domain name and where its DNS is managed.
If you use email on your domain, read the email section below before changing any DNS records. Email is the part people most often forget.

Step 1: Make a full backup
Download all your site files from the old host through its file manager, FTP or SFTP. If you have a database, export it as a .sql file with phpMyAdmin or the panel's backup tool. Keep these copies on your own computer. Do not cancel or delete anything on the old host yet.
Step 2: Set up the new hosting account
Create your account on the new host and add your domain to it. If you want to test the host first, the free 1 GB plan is a no-card way to try the control panel, though it does not include email accounts or databases, so it suits static or file-only sites. For a site with a database, look at the paid plans instead. If you are deciding between options, see our guide on how to choose a shared hosting plan.
Step 3: Upload your files and import the database
- Upload your files to the new account's web root, usually the public_html folder.
- Create a new, empty database and a database user in the control panel.
- Import your .sql backup into the new database.
- Update your site's configuration file with the new database name, user and password. In WordPress this is wp-config.php.
Use a strong, unique database password and never reuse the one from the old host.
Step 4: Test before you switch
You can check the new copy without touching your live domain. The common way is to add a temporary line to the hosts file on your computer that maps your domain to the new server's IP address. Then open your site in the browser and check the home page, internal pages, forms, logins and image loading. Remove the hosts line when you are done. If your new host offers a temporary URL, you can use that instead, but some sites break on a different address.
Step 5: Lower your DNS TTL
TTL is how long DNS servers remember your records. A day or so before the move, lower the TTL on your domain's records (for example to 300 seconds, or the lowest value your DNS provider allows). This helps the switch spread faster. DNS changes are never instant, so allow time for them.
Step 6: Switch your domain to the new host
You have two common options:
- Change nameservers at your domain registrar to the ones your new host gives you. DNS is then managed at the new host.
- Edit the A record at your current DNS provider to point to the new server's IP address. Everything else stays where it is.
Either way, the change takes time to reach everyone. During that time some visitors may still see the old site, which is why you should keep it running.
Step 7: Check SSL
An SSL certificate can usually be issued only after your domain points to the new server. On HestiaHost a free SSL certificate is issued automatically once your domain points to us. After the switch, open your site over https and check there are no mixed-content warnings. If you use WordPress, make sure the site address is set to https.
Email needs extra care
If your email runs on the old host, moving the website does not move the mailboxes. Changing nameservers can break email if the MX records are not recreated at the new place. Either keep email where it is and only change the A record, or set up the mailboxes and MX records on the new side first. Note that the HestiaHost free plan does not include email accounts.
Step 8: Keep the old host for a while
Do not cancel the old plan the same day. Keep it for at least a week or until you have confirmed that the site, forms, email and orders all work on the new server. Then take one last backup and cancel.
Quick checklist
- Files and database backed up on your own computer.
- New account created and domain added.
- Files uploaded, database imported, config file updated.
- Site tested using a hosts file entry.
- TTL lowered, then nameservers or A record changed.
- SSL working over https.
- Email confirmed working.
- Old host kept until everything is verified.
Ready to try it? You can create a HestiaHost account or read the FAQ. If something is unclear, write to support at the address on our contact page.