How to Move Your Website to Another Web Host (and Knowing When to Switch)

Table of Contents
- Intro: How to Switch Your Website
- Two methods to migrate a web site
- Possibility #1: Outsource Your Website Move (for Free)
- 1. Signup with an internet host that provides free website migration
- 2. Request website migration and supply web site particulars
- Instance: InMotion Internet hosting
- Instance: GreenGeeks
- Instance: Cloudways
- 3. Website again and chill out
- Possibility #2: Switch Your Website Manually
- 1. Buy a brand new net host
- 2. Move web site information and electronic mail accounts
- Shifting database
- Shifting a WordPress website
- Shifting WordPress from cPanel to cPanel
- Shifting WordPress utilizing widespread plugins
- Shifting WordPress utilizing special-built plugins
- Shifting electronic mail accounts
- 3. Ultimate Verify & Hassle Capturing
- Repairing website navigation errors and lacking hyperlinks
- Troubleshooting database errors
- 4. Pointing area DNS to your new net host
- 5. Confirm DNS propagation
- Knowing When It is Time to Change Your Web Host
- A Good Web Host = Higher Sleep at Evening
- Switching Web Host FAQs
- Additionally learn –
Intro: How to Switch Your Website
In a perfect world, we’d by no means have to fear about switching net hosts – our website would stay fortunately housed on the present internet hosting supplier’s facility with nice load instances, inexpensive prices, and 100% uptime.
Sadly, the world just isn’t ultimate and this good situation not often, if ever, exists.
In case your present net host just isn’t giving what you want, it is likely to be time to shift to a greater one (we’ll speak about understanding when it is time to change within the later part of this article). Transferring your website to a brand new net host doesn’t have to be as tiring as transferring to a brand new home. It might really be pretty simple for those who take the precise steps.
Two methods to migrate a web site
When transferring a web site to a unique net host, you want to:
- Buy and activate a brand new internet hosting accounts,
- Move all web site information – together with databases and electronic mail accounts,
- Set up and configure your software (PHP model, WordPress, and so forth) on the new host,
- Verify new website on staging / momentary URL,
- Troubleshoot if any errors,
- Level your area DNS information to the brand new net host
You may both outsource these tasks to your new hosting company (many will do it without cost) or you’ll be able to transfer your sites manually or using a plugin.
We’ll dive into each choices on this article.
Possibility #1: Outsource Your Website Move (for Free)
Choosing an internet host that provides free migration service is the best choice for freshmen and busy enterprise homeowners.
Web internet hosting is a aggressive business – internet hosting corporations are doing all they’ll to win new clients. Many internet hosting corporations, together with some nice ones that I like to recommend, present free web site migration service to new clients. All you want to do is request a migration after signing up with the brand new supplier and their assist crew will handle the heavy-lifting.
Generally, that is the popular method so it can save you time and concentrate on different essential work along with your web site.
This is what you want to do if you’re going with this selection:
1. Signup with an internet host that provides free website migration

Listed here are come advisable internet hosting corporations that include free website migration:
- Hostinger – Nicely-known for its aggressive pricing and one-stop internet hosting resolution, single web site shared plan begins at $0.99/mo.
- InMotion Internet hosting – Nice net host with over 15 years monitor document.
- GreenGeeks – Eco-friendly net host, large enchancment in latest internet hosting efficiency.
- InterServer – Quick and dependable New Jersey-based net host – shared plan begins at $2.50/mo.
- TMD Internet hosting – Glorious efficiency and nice value – shared internet hosting begins at $2.95/mo.
- Cloudways – 100% hands-off migration help for first website – cloud-based internet hosting begins at $10/mo.
* Disclosure: If you happen to order through these hyperlinks I’ll earn a fee at no further value to you.
2. Request website migration and supply web site particulars
File a migration request along with your new net host. Normally all you want to do is to present login knowledge at your previous host – hostname, management panel login, and FTP login, and so forth; and your new net host will handle the remainder.
Instance: InMotion Internet hosting
Instance: GreenGeeks




Instance: Cloudways




3. Website again and chill out
Yep, that is all you want to do.
No database error troubleshooting. No electronic mail accounts migration. Simple as a pie.
Possibility #2: Switch Your Website Manually
1. Buy a brand new net host
You want a brand new net host in place earlier than you’ll be able to provoke a number migration.
There are a selection of internet hosting options on the market, every with its personal configuration and provide. You have to to consider and examine which is best for you primarily based on quite a lot of components, akin to value, required house, and server configuration, to title a couple of.
Additionally ideally you need to inform your guests and/or shoppers that you’re transferring to a brand new net host, together with details about the hours that you’re making the change. It’a very good PR apply to do periodically standing updates on social media networks to maintain your shoppers knowledgeable. Plus, think about asking your customers not to go to your web site throughout migration to decrease system load and stop further customer support complications.
2. Move web site information and electronic mail accounts
For many who are operating a static web site (website with no database), all you want to do is obtain all the pieces (.html, .jpg, .mov information) out of your current internet hosting server and add them to your new host in accordance to the previous folder construction. The transfer may be executed shortly utilizing a FTP / sFTP agent. I like to recommend utilizing FileZilla if you’re searching for one.
Shifting a dynamic website (with database) requires a little bit further work.
Shifting database
For a dynamic website that runs on database (ie. MySQL), you may want to export your database out of your previous net host and import it to your new net host. If you’re on cPanel, this step may be executed simply utilizing phpMyAdmin.




In case you’re utilizing a content material administration system (i.e. WordPress, Joomla), you’ll need to set up the purposes a the brand new net host earlier than importing the database. Some CMS gives simple switch performance (ie. WordPress’ import/ export capabilities) – you should use that perform to switch your knowledge information straight utilizing the CMS platform.
Shifting a WordPress website
Shifting WordPress from cPanel to cPanel
For WordPress websites on cPanel (the most typical setup) internet hosting, the quickest method to transfer your website is to zip all the pieces in your “public_html” or “www” folder, add the folder to your new net host, and add the next two traces into your WP-config:
outline('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']); outline('WP_HOME', WP_SITEURL);
Shifting WordPress utilizing widespread plugins




Alternatively, there are many good migrating plugins for individuals who are transferring WordPress website to a brand new net host. I like Duplicator – WordPress Migration Plugin and All-in-One WP Migration for his or her simplicity. These plugins will enable you to transfer, migrate, and even clone a WordPress website to a brand new net host with no technical data required.
Shifting WordPress utilizing special-built plugins








Some webhosting corporations present their very own WordPress migration plugin. For examples WP Engine Automated Migration and SiteGround Migrator – these are particular plugin developed for transferring WordPress websites to a chosen net host. You need to make use of the in-house plugins when switching to these explicit corporations.
Shifting electronic mail accounts
Maybe probably the most tough components of switching your net host is transferring your electronic mail. Principally you may stumble upon certainly one of these three situations:
Situation #1: E-mail is at the moment hosted on a website registrar (akin to GoDaddy)
This electronic mail setup is the best to transfer. Login to your area registrar (the place you host your electronic mail), change your electronic mail internet hosting A (or @) document to the brand new net host’s IP deal with.
Situation #2: E-mail accounts are hosted with a 3rd occasion (akin to Microsoft 365)
Be certain that your MX information, together with every other information that your electronic mail service supplier wants, are up to date in your DNS.
Situation #3: E-mail accounts are hosted with the previous net host
If you’re transferring a full account from cPanel to cPanel, you do not have to switch your electronic mail accounts manually. Alternatively, you’ll be able to obtain all of your electronic mail accounts (and all information inside) from cPanel File Supervisor and add it to your new net host. The method is easy – here is a step-by-step guide in case you need assistance).
In worst case situation (transferring from a much less user-friendly internet hosting management panel), you’ll need to re-create all current electronic mail accounts in your new net host manually. The method is usually a little tedious – particularly if you’re operating on lots of electronic mail addresses.
3. Ultimate Verify & Hassle Capturing
Upon getting loaded your information onto the brand new internet hosting configuration, double examine that all the pieces is working correctly in your web site
Some internet hosting corporations present a improvement staging platform (ie. SiteGround) so to simply and fluidly preview your website earlier than taking it dwell within the new atmosphere, permitting you to treatment any issues behind the scenes.
As you switch your website’s belongings from the earlier internet hosting atmosphere, it’s potential for belongings, akin to graphics to be misplaced or for sure information to be left behind. If this occurs, your guests are seemingly to expertise 404 errors. Regulate the 404 log throughout and after the change – this log will provide you with a warning of any non-working hyperlinks or belongings that you just want to treatment to restore your website to being absolutely purposeful.
Generally, you can also make use of .htaccess redirectMatch and redirect to level previous file areas to new ones. The next are some pattern codes you can also make use of.
Outline your 404 web page
To attenuate the harm trigger by damaged hyperlinks – the place moved.html is the web page you want to present your guests when there is a 404 error.
ErrorDocument 404 /moved.html
Transferring a web page to a brand new location
Redirect 301 /previous-page.html http://www.instance.com/new-page.html
Transferring complete listing to a brand new location
redirectMatch 301 ^/class/?$ http://www.instance.internet/new-category/
Redirecting dynamic pages to a brand new location
And, simply in case you alter your website construction on the new host –
RewriteEngine on RewriteCond %{QUERY_STRING} ^id=13$ RewriteRule ^/web page.php$ http://www.mywebsite.com/newname.htm? [L,R=301]
Troubleshooting database errors
There’s threat the place your database may very well be corrupted through the change. I’ll use WordPress as instance as a result of that is what I’m most acquainted with.
In case that you would be able to nonetheless entry your WP dashboard, strive to first disable all plugins and see in case your database pulls up appropriately. Then, re-enable them separately, checking the house web page every time to ensure it’s displaying appropriately.
Issues would get a little bit trickier for those who can’t entry your dashboard. Strive these totally different easy steps to see if one works:
- Re-upload your database, writing over the brand new database.
- Verify the place the corruption error is coming from and check out to reupload that file out of your previous website to your new one.
- Open the file and examine to ensure it’s pointing to your new server.
Answer #1: WordPress auto database restore
If these steps don’t work, you might have to do a little bit of coding, however I am going to discuss you thru it.
First, open the brand new website in FTP and go to your wp-config.php file. The file needs to be in the primary folder the place you weblog resides. Backup this file earlier than you make any edits.
Search for this wording:
/** Absolute path to the WordPress listing. */
Simply above that line, add this wording:
outline('WP_ALLOW_REPAIR',true);
Save your modifications and depart your FTP program open for now. Open up your favourite net browser. Go to the next deal with for the rep
http://yourwebsitename.com/wp-admin/maint/restore.php








Answer #2: phpMyAdmin
If the above strategies do not work, the next step is to head over to your database.
This may be daunting for those who aren’t certain precisely how databases work, however the steps are pretty easy. Even for those who fully destroy the database, you ought to be in a position to simply re-download from the previous server and add once more. There actually isn’t any want to be afraid so long as you will have your database backed up.
Entry phpMyAdmin out of your new net host. Select your WordPress database. This usually is titled yoursite_wrdp1.
Nonetheless, this could range. You’ll seemingly see “WP” someplace within the title, although (see picture beneath). You may also discover your database title listed in that wp-config.php file that you just had open within the step above. Click on on the database title in phpMyAdmin to open it.
















4. Pointing area DNS to your new net host




Subsequent, you may want to change your web site’s DNS document (A, AAAA, CNAME, MX) to the brand new net host’s servers at your registrar.
Your DNS document is a listing of “directions” that specifies the place to ship the consumer; transferring your DNS document to the brand new servers ensures that guests will discover your website as supposed, slightly than receiving an error or misdirect. It is a essential step – ensure you get the precise DNS information out of your new net host.
Listed here are the step-by-step directions on altering your web site DNS at Godaddy, Name Cheap, and Domain.com.
In case your area is at the moment registered at your previous net host, think about transferring the area to a 3rd occasion in order that in case you do ever want to change hosts once more, your area can include you extra simply and with none potential issues.
5. Confirm DNS propagation
Upon getting requested to transfer your DNS document, the change can take wherever between a couple of hours to a full day to take dwell.
As soon as the change goes dwell, alert your former internet hosting firm as to the cancellation. Monitor your website uptime intently for at the very least every week or so to guarantee all the pieces on the new net host is working correctly.








Knowing When It is Time to Change Your Web Host
Making the change to a brand new net host is usually a anxious time – which is why many website homeowners choose not to change net host except it is necessary. In any case – why waste time and power when all the pieces is working alright?
So when is the precise time to begin searching for a brand new host? How have you learnt that your net host is the foundation explanation for your web site drawback?
Listed here are a couple of hints:
- Your website is consistently happening
- Your website is simply too sluggish
- Customer support just isn’t useful
- You nee extra space, performance, or different assets
- You might be paying an excessive amount of
- You could have been hacked, greater than as soon as
- You could have heard about an important service elsewhere
A Good Web Host = Higher Sleep at Evening
When I switched to InMotion Internet hosting years in the past – the tech assist was so useful and switched my website over safely and soundly whereas I slept. I awoke up to web site that functioned shortly and reliably with no single glitch in service.
If you happen to don’t really feel that stage of consolation, or are bothered about unfavorable studies you’ve seen in your net host, it might be time for a change.
Switching Web Host FAQs
The time period web site migration refers to two situations: 1, The method of migrating a web site from one area to a unique one, usually altering the positioning areas, internet hosting platform, and design; and a pair of, The method of migrating a web site from one net host to one other net host.
We use the time period loosely on this article and refer it to the second situation.
Free to round $100 primarily based on the complexity of your web site. Many net hosts, as talked about on this article, present free website migration providers to their new clients.
Sure. Shifting a web site from one host to one other may be tough although, when you’ve got not executed it earlier than. If potential, ask your new net host if they’d be prepared to help with free web site migration – that can get it executed for you stress-free.
Internet hosting corporations akin to A2 Internet hosting, GreenGeeks and InMotion Internet hosting present free website migration providers to new clients.
Domains do not need to be registered along with your internet hosting supplier. In truth, you’ll be able to host your area title with one service supplier and hyperlink it to internet hosting offered by one other.
Usually no – altering net hosts won’t have an effect on your web site website positioning, assuming that you just maintain your website construction and content material the identical. Nonetheless, your internet hosting high quality (uptime, pace, and so forth) does have an effect on your search rankings in the long run – which is why I extremely advocate to choose the very best net host from our record.
Sure, it’s totally potential to host a web site at zero value. Nonetheless, these websites are sometimes restricted in any methods, akin to having little or no assets and enforced host branding. Additionally, you will seemingly be compelled to use a subdomain of the free host you’re on, since actual domains will value cash.
Technically, this may be executed by the switch of belongings akin to webhosting, area title, plus entry to third occasion plugins and purposes. Nonetheless, for those who’re contemplating doing this it’s best to be certain that any funds concerned are stored in escrow on your safety.
On webhosting and area title
On upgrading and selecting an internet host
On growing a greater web site / weblog