AI websites

Step-by-step tutorial

Move Your AI Website to a Cheaper Host with Minimal Downtime

Switching hosts does not mean rebuilding your site. Lower the DNS TTL, copy the site to the new host, test it on a temporary address, then switch the DNS — and keep the old host live until the new one, certificate included, checks out.

Product links on this page are ordinary official links. No affiliate commission is currently attached. Read our disclosure.

Quick answer

A host switch is a copy, not a rebuild — and the copy happens while your old site stays live. The order that keeps you online is: lower the DNS TTL, copy the site to the new host, test the copy on its temporary address, move the email separately, then switch the DNS and check everything on the real domain. Cancel the old hosting only when the checks pass and traffic has moved to the new host — check the old host’s visitor logs or analytics; if visits are still landing on the old server, keep it live.

The move itself is free on the usual routes: Hostinger and SiteGround both move a WordPress site for nothing, and free plugins do the same job if you would rather drive it yourself. What you pay for is the new hosting, and that is where the saving lives — compare the renewal price, not the intro price. Hostinger Premium lists $1.99 a month on a 48-month prepay ($95.52 up front) and renews at $10.99 a month; SiteGround StartUp lists $1.99 a month prepaid for 12 months ($23.88) and renews at $17.99 a month. Both are Black Friday offers — check the live plan page before you pay — see our second-year bill guide for the longer view.

This guide uses a fictional example site, “Maple & Main”, a small bakery with eight pages on WordPress, moving off a host that renews at $17.99 a month. The steps are the same for any WordPress or static site; only the copy tool changes.

Before you start

Four checks before you touch anything:

  1. Your site can move. This guide covers WordPress and static sites built with an open-source setup. A site built in Wix, Squarespace, or another closed builder cannot be copied to a host — those sites only run on their builder’s servers, as Hostinger’s migration page states. That move is a rebuild — see Move Your AI Website from Wix to WordPress Without Losing Your Pages.
  2. Your page inventory. List every page and post with its address — it becomes your test checklist on the new host. Maple & Main’s had eight pages: home, menu, about, contact, and four seasonal pages.
  3. Your domain and email details. Note where the domain is registered, where the DNS lives, and whether email runs through the domain — the part people forget, and the part that breaks most often.
  4. Copies outside the old host. Take a full backup now — files plus database — and download it to your own computer, as the fallback if the host’s copy goes wrong.

Do not cancel the old hosting yet — the old site stays live until the new one is checked.

Step 1: Lower the DNS TTL a day or two before the move

TTL (time to live) is the number of seconds attached to each DNS record, telling resolvers how long they may keep the old answer before asking again. A record with a TTL of 86,400 seconds (one day) can keep sending some visitors to the old server for a full day after you change it. Lowering the TTL first is what makes the switch fast — but only if you do it early, since resolvers that already hold the old value keep it until the old TTL runs out.

  1. Open the DNS settings where your domain’s records live — your registrar, your current host, or Cloudflare.
  2. Find the A record for your domain (and the www record, if it is separate) and set its TTL to 300 seconds (5 minutes).
  3. Do the same for the MX records if you move email too.
  4. Wait at least the old TTL — a day if it was 86,400 — before switching anything. Cloudflare’s guidance is to lower TTLs 24 to 48 hours before a planned move, and its proxied records already use an automatic TTL of 300 seconds, so a site behind Cloudflare’s proxy may need no change at all.

Skip this step and the move still works, but some visitors keep landing on the old server for a day or more, and you cannot tell from your own screen whether they have switched yet.

Step 2: Copy the site to the new host — without pointing the domain at it yet

Sign up for the new hosting first, then copy the site while the domain still points at the old host. The new host gives the copy a temporary address for testing. Pick one of these routes:

Let the new host move it (easiest). Hostinger’s free migration takes a WordPress or cPanel login, or an uploaded backup, and its team moves the files and database — point the domain only after it finishes. SiteGround’s free Migrator plugin works the other way round: generate a transfer token in your SiteGround account, install the plugin on the old site, paste the token in, and start the transfer — the live site stays up throughout. Neither route moves email, cron jobs, DNS records, or FTP accounts — those are separate jobs, covered in Step 4.

Move it yourself with a plugin. Install the same plugin on both sites, export from the old one, restore on the new one. The three widely used free options are All-in-One WP Migration and Backup, Migrate Guru, and Duplicator. All-in-One WP Migration’s free version imports up to your plan’s file-upload limit; Migrate Guru runs the transfer on its own servers, and supports sites up to 200 GB. Use this route if your new host offers no free migration of its own.

A static site is simpler. A site that is only HTML, CSS and files has no database to move. Download the files from the old host (or from your own backup) and upload them to the new host’s public folder, keeping file names and folder structure exactly as they were.

Whichever route you take, do not change the DNS yet. The copy must be tested first.

Step 3: Test the copy on its temporary address

The new host gives the copy a temporary address. Open it and work down your inventory from Before you start:

  • Every page opens, with the right text and images. Tick each address off the list.
  • Images load from the new host, not the old one. Right-click an image and check its address.
  • The contact form works. Submit it yourself and confirm the message arrives — forms are the quietest failure in a move, because the page looks fine while the messages go nowhere.
  • HTTPS works — on the temporary address only. The temporary address should show the padlock. That proves nothing about your real domain: on Hostinger, the free lifetime SSL is issued automatically only once the domain points at the new host, so it cannot be confirmed before the switch. After the switch, expect the certificate to take minutes to appear — visitors who reach the new server in that window see a security warning, which is why this move cannot promise zero downtime. For most readers the practical answer is to keep the old host live and wait out the short window. The real domain’s padlock is checked again in Step 6, after the switch.
  • The site works on a phone. Open the home page and one inner page on a mobile screen and check nothing is cut off.

For Maple & Main, two images still pointed at the old host; re-uploading them into the WordPress media library fixed it before the switch — a problem found on a temporary address is a five-minute fix, and the same problem found after the DNS switch is a live-site outage.

Step 4: Move the email separately

Host migration tools move files and databases. They do not move email. First work out which of these two cases you are in — the steps are different:

Your email stays where it is. If your mail runs through a separate provider (Google Workspace, Microsoft 365, or any mail service that is not your old host), only the website moves. Do not touch the MX, SPF or DKIM records at all — they already point at the right place, and changing them is how mail breaks (unless Step 5 moves it).

Your email moves to the new host. If your domain email lives on the old host, handle it before you switch the DNS:

  1. Create the same mailboxes on the new host, with the same addresses.
  2. Use the mail records (MX, SPF, DKIM) your new host gives you — from its email setup page — and write them down exactly, including the priority numbers on the MX records. Do not copy the old host’s values: they point mail at the old provider. Once the new records are in place, delete the old provider’s records, so only one set is active.
  3. If old messages matter, move them now with the host’s email migration tool, or by dragging messages between accounts in a mail app. The migration guides say email must be moved manually — do not assume the site copy carried it.
  4. Lower the MX record TTL to 300 seconds along with the A record in Step 1, so mail servers pick up the new records quickly.

A message sent while the records are still changing is not automatically lost — but whether it arrives depends on why delivery failed. If the receiving server answers with a temporary failure (its mailbox is busy, or it cannot reach the new mail server yet), the sending server queues the message and retries for days, so it usually arrives once the new records are live. If the answer is a permanent rejection — the mailbox does not exist on the new host — the message bounces back to the sender and is never delivered. That is why the mailboxes must exist before the records switch: create them first, switch second.

Step 5: Switch the DNS, then wait

With the copy tested and the mailboxes ready, point the domain at the new host:

  • If the domain’s DNS lives at your registrar or at Cloudflare, change the A record (and the www record) to the new host’s IP address, which the host lists in its dashboard.
  • If you are switching nameservers to the new host, copy your mail records (MX, SPF, DKIM, DMARC) into its DNS zone, then replace the nameserver entries: the switch hands the whole zone to the new host, whose records replace yours. A nameserver change can take up to 48 hours; a single record change usually lands within minutes once the TTL is low.

Then wait, and keep the old host live. Some visitors reach the new server within minutes; a few stragglers may take a day. For 24 to 48 hours both servers should keep answering. Do not edit the site during this window: a change made on one server after the copy will not appear on the other.

Step 6: Verify on the real domain, then cancel the old host

Once the DNS has switched, run the checks on the real domain address — not the temporary one:

  • Every page opens on the real domain. Work down the inventory again and tick each address off.
  • HTTPS shows the padlock on the home page and one inner page. If the padlock is not there yet, wait — the certificate is usually issued within minutes to an hour of the switch. Do not treat the warning as a broken site, and do not cancel the old host until the padlock is green.
  • The form works. Submit the contact form again from the live domain and confirm the message arrives in the new mailbox.
  • Email works both ways. Send a message to your domain address from an outside account, and reply to it.
  • Search engines are allowed in. In WordPress, Settings, then Reading, the box that discourages search engines from indexing the site is unticked — it is often switched on while a site is built, and forgotten at migration time.

When every check passes on the real domain, cancel the old hosting only once traffic has moved to the new host — check the old host’s visitor logs or analytics; if visits are still landing on the old server, keep it live. The 24–48 hour window in Step 5 is the minimum time both servers stay up, not the trigger to cancel. If something is badly wrong at this stage, point the DNS back at the old host: the old site is still there, and the rollback is one DNS change. That rollback works for a mostly static site — but if the site takes orders or bookings, any orders placed on the new server after the switch will not move back with the DNS, so plan a data sync (export the new orders from the new host and import them on the old one) before you roll back.

Worked example: what Maple & Main saved

Fictional example, not a real move. Maple & Main’s old host renewed at $17.99 a month — $215.88 a year. The new plan is Hostinger Premium at the $1.99 intro rate: $95.52 paid up front for 48 months, then $10.99 a month.

Old host New host
First term $17.99 a month $1.99 a month, 48 months prepaid ($95.52)
First-year cost $215.88 $95.52 covers four years, not one
Renewal $17.99 a month $10.99 a month

The saving is real but smaller than the headline suggests: after the intro term the renewal is $10.99 a month, $131.88 a year — still cheaper than $215.88, but the gap narrows. Compare renewals, not intro prices.

If something goes wrong

Some visitors still see the old site. That is the TTL doing its job, not a failure. Wait out the old TTL, then check again.

Images are broken after the switch. The copy still points at the old host. Re-upload them into the new site’s media library; images left pointing at the old host break when that hosting is cancelled.

Email stopped after the move. The mail records were not recreated at the new DNS host. Add the new host’s MX records again, confirm the mailboxes exist on the new host, then send a test message.

The new site shows a security warning. The SSL certificate may still be issuing — wait an hour and check again. If it persists, check that the certificate names the real domain, not the temporary address.

The site works but the form does not. The form’s receiving service may still point at the old host, or the new host may block the mail function the form relies on. Check the form’s destination settings first, then ask the new host whether form mail needs an SMTP plugin — our contact-form repair guide covers the checks.

You edited the wrong copy. A change made after the copy but before the DNS switch lives on only one server — re-apply it on the server that is now live, and freeze edits during any future move.

Sources and testing notes

  • Hostinger Support, How to migrate a website to Hostinger — free migration for WordPress and open-source CMS sites; custom builders cannot be migrated this way; point the domain only after the migration is complete; email must be migrated manually. Checked November 25, 2026.
  • Hostinger tutorials, How to migrate a WordPress site — migration service vs plugin vs manual; All-in-One WP Migration free import up to the plan’s upload limit; Multisite is not supported by most migration services. Checked November 25, 2026.
  • Migrate Guru, WordPress.org plugin page — supports sites up to 200 GB. Checked November 25, 2026.
  • Hostinger Support, How to migrate email services to Hostinger Email — add the new provider’s MX, SPF and DKIM records and delete the old provider’s records, so only one set is active. Checked November 25, 2026.
  • SiteGround, Move your existing site — first migration free, team-handled or via the free SiteGround Migrator plugin. Checked November 25, 2026.
  • Cloudflare documentation, Time to Live (TTL) — DNS-only records take a TTL from 60 seconds to one day; proxied records use Auto, 300 seconds. Checked November 25, 2026.
  • Cloudflare One docs, MX/Inline deployment — Decrease the TTL to five minutes 3 to 5 days before a planned MX change. Checked November 25, 2026.
  • Google Search Central, Changing Your Web Hosting and SEO — the guide for hosting changes that do not affect the user-visible URL: prepare and test the copy, switch the DNS, monitor traffic on both servers, and shut down the old hosting only once traffic to it reaches zero. Checked November 25, 2026.
  • Hostinger tutorials, How to get an SSL certificate — the provider validates, issues and installs the certificate once the domain is connected and pointed to it. Checked November 25, 2026.
  • Hosting prices: Hostinger Premium and SiteGround StartUp prices in USD, before tax, as listed on the Hostinger plan page and the SiteGround plan page on November 25, 2026 (Black Friday offers — check the live price before paying).
  • Hostinger Support, How to point a domain to Hostinger — nameserver pointing resets records to Hostinger Email; update another provider’s MX, SPF, DKIM and DMARC after propagation. Checked November 25, 2026.
  • RFC 5321 (Simple Mail Transfer Protocol), §4.2.1 and §4.2.5 — 4yz replies are transient (the client should try again); 5yz replies are permanent (the client should not repeat the request); a server that accepts a message retries transient failures and returns a notification to the sender on permanent failure. Checked November 25, 2026.

This is a documentation-based guide, not a hands-on migration: no site was actually moved for this article, and “Maple & Main” is a fictional example.

Questions & answers

Will my website go offline while I switch hosts?

Not if you move in the right order. The copy is built and tested on the new host while the old site keeps answering visitors. The only change visitors can notice is the DNS switch, and with the TTL lowered beforehand that takes minutes for most people. But do not cancel the old hosting the moment the new site looks right: a few visitors still reach the old server for a day or two. Cancel only after the checks pass on the real domain and traffic has moved to the new host — check the old host's visitor logs or analytics; if visits are still landing on the old server, keep it live. The one exception is the certificate window right after the switch: visitors who reach the new server before its certificate is issued see a security warning — Step 3 explains why, and Step 6 tells you to wait for the green padlock before cancelling the old host.

Can I move a Wix or Squarespace site to a cheaper host the same way?

No. Sites built in Wix, Squarespace or another closed builder only run on that builder's servers, and the hosts' free migration tools do not cover them. Moving off one of those platforms is a rebuild, not a copy — our guide to moving from Wix to WordPress walks through that job.

Will my email move with the website?

No. The host migration tools move files and the database only. If your email stays with its current provider, nothing changes — leave the mail records alone. If your email lives on the old host, the accounts and mail records have to be recreated on the new host and the MX records pointed at it, as a separate step before you cancel the old hosting.