How to change web hosting provider without losing your website, email or search visibility? Build the new account first, copy every part of your service, test it, and only then change DNS and close the old account. This checklist is for a normal move where your domain name and website address stay the same.
Why this matters: most migration problems come from cancelling too early, forgetting a mailbox, or copying only the visible website files.
Write down these details before buying the new plan:
For WordPress, the backup must include wp-content, the WordPress core files, wp-config.php, .htaccess if present, and a database export. WordPress’s migration guidance also separates the files from the database, so do not assume that downloading public_html alone is a complete backup. Read HostKarle’s WordPress migration guide if your site runs on WordPress.
Keep a simple migration sheet:
| Item | Old host | New host | Tested |
|---|---|---|---|
| Website files | ☐ | ||
| Database and credentials | ☐ | ||
| Mailboxes and old messages | ☐ | ||
| DNS records | ☐ | ||
| SSL and redirects | ☐ | ||
| Forms, cron jobs and integrations | ☐ |
Why this matters: you need a working destination while the old website and mail service are still live.
HostKarle plans use DirectAdmin, with Softaculous, PHP version selection, self-service backup and restore tools, free auto-renewing SSL and free migration. See the shared hosting plans for the current plan details before ordering.
Success looks like: the new account exists, the destination domain is ready, and the old website still opens normally for visitors.
Why this matters: the files contain your themes, plugins, uploads and configuration, while the database contains posts, pages, settings, users and orders.
Use the method that matches your old and new panels:
wp-config.php with the new database name, username, password and host if those values changed.For a manual copy, the actions are:
.sql file in two safe places..htaccess, uploads, plugin folders or custom configuration files.wp-config.php.Do not run a broad find-and-replace just because the hosting company changed. If the domain and URLs remain identical, the database URLs normally remain identical too. If you are changing the domain as well, use a migration tool that understands serialised WordPress data and take another backup first.
Success looks like: the new copy loads through its temporary test method, WordPress admin accepts your login, media opens, forms submit, and no recent content is missing.
Why this matters: website migration tools often do not include email, and DNS can send new messages to either system while records are changing.
Make a list of every address before you create anything: hello@, sales@, personal addresses, aliases, forwarders, catch-all rules and autoresponders.
If you use a third-party email service, do not replace its MX records with the web host’s records. Changing the website host does not automatically require changing the email host.
Success looks like: all planned addresses exist, old messages are visible, new mail arrives, replies leave successfully, and SPF/DKIM/DMARC records are present in the DNS zone that will become authoritative.
Why this matters: DNS resolvers cache answers for the record’s TTL, so a lower TTL makes a planned record change easier to complete. It cannot instantly remove answers that were already cached under a longer TTL.
At least one day before the cutover, if your DNS provider allows it, lower the TTL for the website records to 300 seconds (5 minutes). Cloudflare’s TTL documentation explains that TTL controls how long DNS answers are cached and that longer TTLs make later updates take longer to take effect.
First decide which change you actually need:
ns1.fastnsdns.com and ns2.fastnsdns.com; confirm the current values in your account before submitting the change.Before saving the change, compare the old and new zones line by line. Do not remove an unfamiliar TXT record until you know which service uses it.
After the change, check the public answers from your computer:
nslookup example.com
nslookup -type=MX example.com
nslookup -type=TXT example.com Replace example.com with your domain. Run the checks again from a mobile connection or a different network, because your home or office resolver may still have cached the old answer.
For a step-by-step nameserver walkthrough, see how to find and update HostKarle nameservers.
Success looks like: different networks begin resolving the website to the new host, mail records still point to the intended mail service, and the old host remains available for visitors whose DNS is not updated yet.
Why this matters: a site can appear to have moved while HTTPS, redirects, scheduled tasks or forms still use the old account.
When the new domain resolves to the new host:
www version and every HTTPS subdomain you use. The certificate authority must validate control of each name before issuing a certificate.http://example.com and http://www.example.com. Confirm that each redirects to the intended HTTPS URL.If you see mixed-content warnings, update hard-coded http:// asset URLs only after taking a backup. If WordPress reports a database connection error, recheck the database name, user, password and host in wp-config.php.
Success looks like: HTTPS works without a certificate warning, the complete user journey works, new data is saved, and the new copy matches the old site.
Why this matters: DNS changes roll out at different speeds, and the old server may still receive visitors or mail during the overlap.
Keep the old hosting account active until all of these checks pass:
During the overlap, avoid making separate content or order changes on both copies. If the old site must receive a last-minute order or form submission, record it and reproduce it on the new copy before cancellation.
When the checks pass, cancel auto-renewal or submit the old provider’s cancellation request. Download final invoices and backups, confirm the cancellation date in writing, and retain the domain registrar account. Changing hosting does not transfer ownership of your domain.
For future moves, track hosting renewal prices and dates separately from domain renewals; they are different services and can renew on different days. HostKarle’s hosting renewal price guide explains why checking the renewal amount before the next billing date matters.
Use this short version on the day of the move:
Your device or DNS resolver may have a cached answer. Check the A/AAAA record with nslookup, try mobile data, and confirm that you changed the correct record or nameservers. Do not delete the old account while some networks still reach it.
Check the database name, database user, password and database host in wp-config.php. Confirm that the database user has access to the imported database, then check the new host’s PHP and database compatibility.
Inspect MX first, then SPF, DKIM and DMARC. If you kept an external email provider, restore its MX records; if you moved mailboxes, confirm that the same addresses were created on the new host and that mail apps use the new server settings.
Make sure the domain resolves to the new host before issuing SSL. Include both the root and www names if you use both, then test in a private browser window after the certificate is issued.
Check the form recipient, SMTP settings, cron schedule, PHP version and file permissions. Compare the old and new environment settings instead of reinstalling plugins immediately.
Yes. Keep the domain at its current registrar and move only the website hosting. Copy the site first, test the new account, and then update the website record or nameservers so the same domain points to the new provider.
Changing the host does not delete the original site by itself. The risk comes from an incomplete backup, a failed import or cancelling the old account before the new copy and DNS are verified, so keep independent backups and an overlap period.
Not always. Website hosting and email hosting can be separate: preserve the existing MX records if mail stays where it is. If mail is moving too, recreate mailboxes, copy old messages and test delivery before changing DNS.
Keep it active until the longest recorded DNS TTL has passed and you have tested the site and mail from multiple networks. If you do not know the old TTL, allow a conservative overlap of at least 48 hours and wait longer when your provider or DNS records indicate a longer cache period.
Usually, yes, especially when the new provider includes migration. Give the migration team a complete inventory and backup, and still test files, database, mailboxes, DNS, SSL and forms yourself before cancelling the old plan.
DONE how-to-change-web-hosting-provider words=2562
{“@context”: “https://schema.org”, “@type”: “FAQPage”, “mainEntity”: [{“@type”: “Question”, “name”: “Can I change web hosting provider without changing my domain?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Yes. Keep the domain at its current registrar and move only the website hosting. Copy the site first, test the new account, and then update the website record or nameservers so the same domain points to the new provider.”}}, {“@type”: “Question”, “name”: “Will changing hosting delete my website?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Changing the host does not delete the original site by itself. The risk comes from an incomplete backup, a failed import or cancelling the old account before the new copy and DNS are verified, so keep independent backups and an overlap period.”}}, {“@type”: “Question”, “name”: “Do I need to move email when I move my website?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Not always. Website hosting and email hosting can be separate: preserve the existing MX records if mail stays where it is. If mail is moving too, recreate mailboxes, copy old messages and test delivery before changing DNS.”}}, {“@type”: “Question”, “name”: “How long should I keep the old hosting account?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Keep it active until the longest recorded DNS TTL has passed and you have tested the site and mail from multiple networks. If you do not know the old TTL, allow a conservative overlap of at least 48 hours and wait longer when your provider or DNS records indicate a longer cache period.”}}, {“@type”: “Question”, “name”: “Is it easier to ask the new host to migrate my website?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Usually, yes, especially when the new provider includes migration. Give the migration team a complete inventory and backup, and still test files, database, mailboxes, DNS, SSL and forms yourself before cancelling the old plan. DONE how-to-change-web-hosting-provider words=2562”}}]}Learn what happens when a domain expires, how grace and redemption periods work, what recovery…
Compare HostLelo alternatives for Indian websites on renewal price, panels, email, SSL, backups, UPI payments…
Compare wix vs wordpress for Indian small businesses: 3-year rupee cost, beginner ease, UPI/Razorpay payments,…
Learn how to transfer domain to another registrar: check the 60-day rule, unlock it, use…
Learn how to create a directadmin backup, download it off-server, and restore website files, databases,…
Compare shared hosting vs wordpress hosting by features, management, price and use case, then choose…
This website uses cookies.