Moving a website to new hosting sounds like copying a folder. Then the contact form stops sending, the email addresses on the domain go silent, the payment gateway cannot reach its callback, and the site shows a blank page for four hours on a Friday. None of that is bad luck. Each one is a step somebody skipped.
The short answer
You can move a website to new hosting with little or no visible downtime if you build the new copy first, test it before anyone is sent there, lower your DNS cache time in advance, and switch the domain only when the new site is proven. Keep the old hosting running for a few days afterwards. The whole trick is that visitors should only ever land on a site that works.
Would rather not risk the move yourself? Tell us where it is hosted now and where you want it, and we will outline the steps. Message us on WhatsApp
Why do hosting moves go wrong?
Because the website is only part of what lives on the old server. Behind the pages there are usually a database, uploaded files, scheduled tasks, an SSL certificate, email accounts, redirects and a handful of settings nobody remembers writing. If you copy only the pages, the rest breaks one by one over the following days.
The second reason is order. People switch the domain first and discover the problems afterwards, with real visitors watching. The safe order is the reverse: build, test, then switch.
Before you touch anything: take inventory
Spend an hour writing down what the old hosting actually does. This list prevents most of the surprises.
- The website files and the database, and their sizes.
- The PHP version and any special extensions the site needs.
- Scheduled tasks (cron jobs) and background workers.
- Email accounts that use the domain, and where their mail is hosted.
- The SSL certificate and how it renews.
- Redirect rules, special server settings and password-protected areas.
- Outside services that call your site back, such as payment gateways, webhooks and APIs.
If you did not build the site yourself, ask your developer for this list. If nobody can produce it, that is itself a finding, and it connects to a bigger question we cover in who owns the code of your website: who actually holds the keys to your site?
Inventory of the old hosting
| Item | What to write down |
|---|---|
| Website files and database | Their sizes |
| PHP version | The version and any special extensions the site needs |
| Scheduled tasks | Cron jobs and background workers |
| Email accounts | Which accounts use the domain and where their mail is hosted |
| SSL certificate | How it renews |
| Redirects and server settings | Redirect rules, special settings and password-protected areas |
| Outside services | Payment gateways, webhooks and APIs that call your site back |
Step 1: Take a full backup and keep it somewhere else
Before any move, make a complete backup of files and database and store it off the server. This is your parachute. If you have never tested restoring from it, do that on the new host as part of the migration, which doubles as a rehearsal.
Step 2: Lower the DNS cache time
Every DNS record has a TTL, a number telling the world's resolvers how long they may remember it. If it is set to a day, then after you change the record some visitors will keep reaching the old server for up to a day. A day or two before the move, lower the TTL on the records you will change to something short, such as five minutes. After the move is stable you can raise it again. This one habit shrinks the switch from hours to minutes.
Step 3: Build the new copy and test it privately
Set up the new hosting, upload the files, import the database, and configure the same PHP version. Then look at the site without changing the real domain. You can use the temporary address your host gives you, or edit the hosts file on your own computer so your machine alone sees the new server under the real domain name. Click through everything.
What to test on the new copy
Do not just glance at the homepage. Check the things that fail quietly.
- Submit every form and confirm the email arrives.
- Log in to the admin area and save a change.
- Upload an image and check it displays.
- Run a test payment in the gateway's test mode, if you have a store.
- Open pages in both languages if the site has more than one.
- Look at the address bar for security warnings and mixed content.
For a Laravel site, a few extra items are worth checking: the environment settings for the new server, the storage link for uploaded files, scheduled tasks, and that no leftover cache files from another machine were uploaded. A stale cache file copied from a developer's computer can break a production site in confusing ways, so cached framework files should be generated on the server, not copied. Security settings matter as much as function, and our notes on Laravel security basics list what to confirm.
What to test on the new copy
| Test | What to confirm |
|---|---|
| Every form | The email arrives |
| Admin area | You can log in and save a change |
| Image upload | The image displays |
| Payment, for stores | A test payment works in the gateway's test mode |
| Both languages | Pages open in each language |
| Address bar | No security warnings or mixed content |
Step 4: Plan the switch around changes to data
If your site only shows content, you can switch at any moment. If it takes orders, bookings or form submissions, the data keeps changing, and a copy made on Monday is stale by Wednesday. The usual approach is a short content freeze: put the old site into maintenance mode for a few minutes, take a final copy of the database, import it on the new server, then change DNS. For most small businesses, a quiet hour is enough. Pick one and tell staff.
Nervous about the switch itself? Ask us how we plan it so visitors notice nothing. Ask on WhatsApp
Step 5: Switch DNS, then watch
Change the DNS records to point to the new server. With the short TTL you set earlier, most visitors move within minutes. Keep watching the old server's logs: when requests stop arriving there, nearly everyone has moved.
Do not forget email. If your mailboxes are hosted with the old provider, the MX records must keep pointing to wherever the mail actually lives. Moving the website must not silently move the mail. This is the most common cause of "our emails stopped working" after a migration.
Step 6: Keep the old hosting alive for a few days
Do not cancel the old plan the same afternoon. Some people will reach the old server for a while, and you want it available as a fallback if something unexpected turns up. When you are confident, cancel it. Just make sure you have saved a final backup first.
Step 7: Clean up and tell search engines nothing changed
A move to new hosting does not change your URLs, so rankings should not suffer if the site stays reachable and fast. Still, check that the sitemap and robots file respond correctly on the new server, and that no test settings that block search engines were copied across. Our guide on sitemaps and robots.txt explains what to look for. Finally, confirm that redirects work, that the SSL certificate renews automatically, and that backups are scheduled on the new host. A migration is a good moment to run through our website maintenance checklist.
The seven steps in order
| Step | What you do | Why |
|---|---|---|
| 1. Backup | A full backup of files and database, stored off the server | Your parachute, and a rehearsal if you test the restore |
| 2. Lower the TTL | Set a short TTL, such as five minutes, a day or two before the move | Shrinks the switch from hours to minutes |
| 3. Build and test | Set up the new host and test it privately | Visitors only ever land on a site that works |
| 4. Freeze and copy | A short maintenance mode, a final database copy, imported on the new server | No orders or submissions are lost |
| 5. Switch DNS | Point DNS to the new server and watch the old server logs | You see when nearly everyone has moved, and mail keeps working if the MX records stay put |
| 6. Keep the old host | Leave it running for a few days, then cancel after a final backup | A fallback if something unexpected turns up |
| 7. Clean up | Check the sitemap, robots file, redirects, SSL renewal and backups on the new host | No test settings left that block search engines |
Moving a system is not the same as moving a site
A website is mostly files. A business system also carries a database that changes all day, scheduled jobs, uploaded documents and settings. So we plan a freeze window, copy the data again at the last minute, test the main screens on the new host before the switch, and keep the old one untouched until the team confirms everything works. Nobody should lose a day of invoices or orders because of a hosting move.
Running a system that must not go down? Talk to us about moving it safely. Talk to us on WhatsApp
Frequently asked questions
How long does a hosting migration take?
For a small business website with a database, the technical work is often a few hours, plus the waiting time around DNS. Larger systems with many integrations take longer to test. The testing, not the copying, is where the time goes.
Will moving hosts hurt my Google rankings?
Not if the URLs stay the same and the site stays available and reasonably fast. Problems happen when the site is down for long, when it ends up blocked by an accidental setting, or when pages start returning errors. A careful move avoids all three.
Can I move the site myself?
For a simple static site, often yes. For a database-driven application with scheduled tasks and payment callbacks, it is safer to have your developer do it. If you do it yourself, follow the order above and do not skip the testing step.
Can you move a system whose original developer is gone?
Often yes. We start by reading what is there and telling you what is safe to move and what needs care. Send us the details on WhatsApp.
Next step
If you are planning a move and want it done without drama, tell us what the site runs on and what is connected to it. We will tell you what to prepare and what to watch. You can reach us on the contact page, or look at how we approach web projects on our web development service page.
Want us to handle the move end to end? Send us the current host and the site or system link. Start on WhatsApp