How to move a domain to another host without downtime

How to move a domain to another host without downtime

The site works, but the hosting is slowing down, support replies after a few days, and the company mailbox has started rejecting messages. That is when the question “how do I move the domain to another host?” comes up on its own. The trouble is that one sentence can hide three quite different jobs — and doing the wrong one can switch off the site, the email, or both, for a while.

The good news is simple: a migration can be done without downtime. You first have to settle what is actually being moved, who controls the domain, and where the services the company uses every day are running.

The domain, the hosting, and DNS are not the same thing

A domain is the address a client types, for example nazwafirmy.pl. It is registered with a registrar and usually renewed once a year. Hosting is the place where the site’s files, the database, the mailboxes, or the application live. DNS is the internet’s address book. It tells browsers and mail servers where to send traffic for that domain.

In practice the domain can be bought from one company, the site can run on another company’s server, and the email can be handled by Microsoft 365 or Google Workspace. That is a normal setup, and it is often more sensible than putting everything in one basket.

So “moving the domain to the hosting” is often a shorthand. Most of the time it means changing the DNS records so the domain points at the new server. Less often it means transferring the domain to another registrar. Those operations follow different paths, carry different risks, and should not be mixed together just because the current provider’s panel is irritating. An irritating panel is not a reason to disconnect the company email by accident.

How to move a domain to another host: pick the right variant first

If the domain stays with the current registrar and you are only changing the server the site runs on, you are not transferring the domain. You set up the new hosting, move the site, and update the DNS. That is the safest path, and usually the fastest.

If you also want to change the company that handles the domain’s registration, you need a domain transfer. Depending on the extension, that can require an AuthInfo code, unlocking the domain, and confirming the operation by email. A transfer does not automatically move the site’s files, the database, or the mail accounts. Those are separate jobs.

The third option is a change of name servers. Instead of editing individual DNS records at the current registrar, you hand the whole DNS zone to the new provider. That makes sense when the new host is going to take over management of the configuration. It needs particular care: the new zone has to contain every record that is needed, including the ones for email and for outside services.

For most small companies the first variant is the sensible one. The domain stays where it is, and an A or CNAME record starts pointing the site at the new host. Fewer moving parts means less room for an expensive mistake.

Before you change the DNS, build the new site on the other side

Do not start by changing the records. Prepare the new environment first. The new host should already have the current site files, the database, the application’s configuration, and the SSL certificate. If the site runs on WordPress, also check the PHP version, memory limits, cron jobs, forms, and the sending of email. A custom application adds environment variables, API keys, webhooks, and the process that builds the project.

A copy of the files is almost never enough on its own. A dynamic company site uses a database, and a shop also stores orders, client accounts, and payment data. During the migration you have to plan the moment of the final database copy. Otherwise an order placed between the first export and the switch may simply never arrive on the new server.

The new version is tested before it goes live — on a temporary address, a technical subdomain, or locally through the hosts file. Do not check only the homepage. Walk through the contact form, login, search, the basket, payment, the admin panel, and the mobile version. If you use analytics, advertising tools, or a booking system, make sure those integrations still work after the move.

Only when the new installation is working properly should the domain’s traffic be switched.

Take an inventory of the DNS, especially the email

The most common mistake looks harmless. Someone changes the name servers to the ones from the new host, because the panel shows that as “recommended.” A few hours later the site works, and the company has stopped receiving email. The reason? The new DNS zone has no MX, SPF, DKIM, or DMARC records.

Before any change, write down the current DNS configuration. Do not assume that the only record you need is the one for www. It is worth collecting at least:

  • A and AAAA records for the domain and the subdomains,
  • the CNAME record for www, for service verification, and for marketing tools,
  • the MX records that receive the email,
  • TXT records, including SPF, DKIM, DMARC, and verification codes,
  • records tied to booking systems, a CRM, a newsletter, or an outside application.

If the email runs on the same old host, the migration is wider. Mailboxes have to be created on the new server, messages have to be moved, and people’s devices have to be set up. This is a good moment to judge whether company email should still depend on cheap shared hosting. For a team of a few people, a separate email service often gives better delivery, better security, and easier administration.

Set the TTL, and switch the traffic in a controlled way

TTL says how long DNS servers may keep the previous answer in cache. If a record’s TTL is set to 24 hours, some users can still land on the old address for that long after the configuration changes.

A day before the migration it is worth lowering the TTL of the key records, for example to 300 seconds. That is not a magic guarantee that the whole internet will refresh the data after exactly five minutes. It does shorten the transition clearly. After a successful switch, the value can go back up.

For a simple site it is usually enough to change the A record for the root domain and set www to match. With a more complex setup — a static site, an application on a separate API subdomain, and email elsewhere — the changes should be made one point at a time. Do not move the whole DNS zone if all you need is a new address for the site.

After the update, check the site on a phone and on a computer, in a private window, and from another network. See whether the redirect between the www and non-www versions works, whether the SSL certificate is valid, and whether the forms actually send messages. Keep the old hosting for a few days, and for a shop or an important application for at least a week. That is a cheap safety buffer, not a spare cost.

Transfer the domain to another registrar as a separate step

If the goal also includes full control of the domain, transfer it to a new registrar after the site has settled. Finish the hosting migration first, and make sure the DNS works. Only then move the registration of the domain.

You will usually need an AuthInfo code. The domain has to be active, it cannot be locked against transfer, and the registrant’s details should be up to date. Some domains have a lock period after a fresh registration or a recent transfer. Check the renewal date too. Starting a transfer at the last moment before the domain expires is asking for stress.

The good practice is simple. The domain should be registered to the company, or to the owner of the company, with access to the account and to the admin mailbox on their side. An agency or a contractor can manage it technically. They should not be the only person who can get in. The site, the domain, and the data are the company’s assets, not a hostage held inside one panel.

When it is better not to do this yourself

Moving a simple brochure site by hand is realistic if you have access to the domain, the hosting, and a copy of the site. The risk grows when the site has a shop, a developed email setup, a custom application, many subdomains, or integrations with payments and outside systems. Then the problem is not clicking a DNS record. It is responsibility for the company keeping running.

At Creative Sight we treat migrations like this as a technical job, not as a move of files by the method of “copy, paste, and we’ll see.” First we map what depends on what. Then we test the new environment. The DNS change happens only once there is a plan for rolling back, and it is clear what happens to the email, the data, and the certificates.

The best migration is the one clients do not even notice. After it is finished, you should know where the domain is, who can reach it, where the site runs, and what to do when, a year from now, you want to change provider again.

Free Project Consultation

Planning a new website or feeling like your current one isn’t bringing clients?

Let’s discuss your project. We will analyze your requirements, identify conversion bottlenecks, and provide a no-obligation quote within 24 hours.

  • Response within 24h
  • 10+ years experience & 250+ projects
  • 100% custom code, no slow page builders
KL
Article Author 10+ years in web development

Konrad Leśniak

Head of Creative Sight · Senior Full-stack Web Developer

For over 10 years, I have been designing and building ultra-fast websites and custom web applications for businesses (Astro, React, TypeScript). I focus on conversion-oriented UX, rock-solid technical SEO, and digital products that reliably generate sales leads.

Latest projects

I-rays.com
I-rays.com

Last project implemented by Creative Sight in cooperation with our partner Stelsoft

wukong.cskl.pl
wukong.cskl.pl

A fan-made introductory project for the world of the game Black Myth: Wukong

Kldev.pl
Kldev.pl

Hell froze over and it’s only autumn. I created a new portfolio website using a no-code website builder. Time about 1 hour; I spent longer connecting the domain to this project.

Taterki.eu
Taterki.eu

You're heading to the Tatras. You want to check whether you can take a stroller on a given trail, how long the climb will take, and whether there are chains at the end. You Google it. You wait 10 seconds for a video, dismiss three GDPR consent popups, dodge half-screen shoe…

Zakupy.cskl.pl
Zakupy.cskl.pl

A project made for fun and a real need. Your wife sends you shopping—eight different text messages, it’s easy to miss something or forget, wasting time and nerves. A paper list? Please. Create your shopping list, check off what’s been bought, start over—simple, fast, and free.

Renowator.eu
Renowator.eu

A minimalist project created for a services-industry client. The graphics and texts for the site were delivered by the client. Under the hood, as always: Astro, TailwindCSS, and Netlify.

Creative Sight Konrad Leśniak

Chłodna 66/1

71-493 Szczecin, Poland

© 2015 All rights reserved

Our websites are powered by Hostido.pl

Our team is fuelled by Diety od brokuła

Our finances managed by Ifirma.pl

We use cookies on our website. Continuing to use the site without changing your cookie settings means that they will be stored on your end device. If during contact with us (email, phone, contact form) you provide us with your personal data, it will be processed in accordance with the rules set out in the Privacy Policy