TechnologyWebsite BuildersWordPress Hosting

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

Intro: How to Switch Your Website

In a really perfect world, we’d by no means have to fear about switching net hosts – our web site would stay fortunately housed on the present internet hosting supplier’s facility with nice load occasions, inexpensive prices, and 100% uptime.

Sadly, the world shouldn’t be preferrred and this good state of affairs not often, if ever, exists.

In case your present net host shouldn’t be giving what you want, it could be time to shift to a greater one (we’ll discuss understanding when it is time to change within the later part of this article). Transferring your web site to a brand new net host doesn’t have to be as tiring as transferring to a brand new home. It may possibly truly be pretty straightforward when you take the best 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 e-mail accounts,
  • Set up and configure your utility (PHP model, WordPress, and many others)  on the new host,
  • Examine new web site on staging / short-term URL,
  • Troubleshoot if any errors,
  • Level your area DNS information to the brand new net host
  • You possibly can both outsource these tasks to your new hosting company (many will do it without spending a dime) or you may transfer your sites manually or using a plugin.

    We are going to dive into each choices on this article.

    Choice #1: Outsource Your Web site Move (for Free)

    Choosing an internet host that gives free migration service is the best choice for rookies and busy enterprise homeowners.

    Web internet hosting is a aggressive business – internet hosting corporations are doing all they will to win new prospects. Many internet hosting corporations, together with some nice ones that I like to recommend, present free web site migration service to new prospects. All you want to do is request a migration after signing up with the brand new supplier and their help workforce will handle the heavy-lifting.


    Normally, that is the popular method so it can save you time and concentrate on different essential work along with your web site.

    Here is what you want to do in case you are going with this feature:

    1. Signup with an internet host that gives free web site migration

    Why sweat on web site migration? Some internet hosting corporations supply free web site migration service and can assist new customers to switch their web site without spending a dime. Instance in screenshot above – Hostinger (click on right here for extra particulars).

    Listed below are come advisable internet hosting corporations that include free web site migration:

    • Hostinger – Properly-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 observe report.
    • GreenGeeks – Eco-friendly net host, large enchancment in current 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 web site – cloud-based internet hosting begins at $10/mo.

    * Disclosure: If you happen to order by way of these hyperlinks I’ll earn a fee at no extra value to you.

    2. Request web site migration and supply web site particulars

    File a migration request along with your new net host. Often all you want to do is to present login information at your previous host – hostname, management panel login, and FTP login, and many others; and your new net host will handle the remainder.

    Instance: InMotion Internet hosting

    Instance: GreenGeeks

    greengeeks site migrationYou possibly can request for GreenGeeks web site migration service after the acquisition. To provoke the migration, log in to your GreenGeeks Account Supervisor > Help > Web site Migration Request > Choose a Service > Present primary account data (at your previous host) resembling management panel URL, account credential. Word – GreenGeeks web site migration service embody not simply cPanel switch, but in addition migration from Plesk platform.

    Instance: Cloudways

    Cloudways Migration ServiceCloudways offers free migration help for his or her customers (1 web site). To begin the method, merely fireplace up your request to their help chat (click on right here to go to).

    3. Web site again and loosen up

    Yep, that is all you want to do.

    No database error troubleshooting. No e-mail accounts migration. Simple as a pie.

    Choice #2: Switch Your Website Manually

    1. Buy a brand new net host

    You want a brand new net host in place earlier than you may provoke a bunch migration.

    There are a selection of internet hosting options on the market, every with its personal configuration and supply. You’ll need to consider and evaluate which is best for you based mostly on plenty of components, resembling value, required area, and server configuration, to identify just a few.

    Additionally ideally it is best to  inform your guests and/or purchasers that you’re transferring to a brand new net host, together with details about the hours that you’re making the swap. It’a superb PR apply to do periodically standing updates on social media networks to maintain your purchasers knowledgeable. Plus, contemplate asking your customers not to go to your web site throughout migration to decrease system load and forestall extra customer support complications.


    2. Move web site information and e-mail accounts

    For individuals who are operating a static web site (web site with no database), all you want to do is obtain every little thing (.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 will be accomplished rapidly utilizing a FTP / sFTP agent. I like to recommend utilizing FileZilla in case you are in search of one.

    Transferring a dynamic web site (with database) requires a bit of additional work.

    Transferring database

    For a dynamic web site that runs on database (ie. MySQL), you will 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 will be accomplished simply utilizing phpMyAdmin.

    Exporting and transferring databases using phpMyAdminLogin to cPanel > Databases > phpMyAdmin > Export.

    In case you might be 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 offers straightforward switch performance (ie. WordPress’ import/ export capabilities) – you should utilize that operate to switch your information information immediately utilizing the CMS platform.

    Transferring a WordPress web site

    Transferring WordPress from cPanel to cPanel

    For WordPress websites on cPanel (the commonest setup) internet hosting, the quickest method to transfer your web site is to zip every little thing in your “public_html” or “www” folder, add the folder to your new net host, and add the next two strains into your WP-config:

    outline(‘WP_SITEURL’, ‘http://’ . $_SERVER[‘HTTP_HOST’]); outline(‘WP_HOME’, WP_SITEURL);

    Transferring WordPress utilizing frequent plugins

    wordpress migrator pluginAll-in-One WP Migration helps export your WordPress web site together with the database, media information, plugins and themes with no technical data required

    Alternatively, there are many good migrating plugins for many who are transferring WordPress web site 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 make it easier to to transfer, migrate, and even clone a WordPress web site to a brand new net host with no technical data required.

    Transferring WordPress utilizing special-built plugins

    siteground migratorSiteGround Migrator automates the switch of a WordPress web site to a SiteGround internet hosting account.wpengine migration pluginWP Engine doesn’t present free web site switch providers however they do have a special-built WordPress migration plugin for customers who’re switching in.

    Some internet hosting 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 delegated net host. You need to make use of the in-house plugins when switching to these explicit corporations.

    Transferring e-mail accounts

    Maybe probably the most tough components of switching your net host is transferring your e-mail. Principally you will stumble upon considered one of these three eventualities:

    Situation #1: E-mail is at the moment hosted on a website registrar (resembling GoDaddy)

    This e-mail setup is the best to transfer. Login to your area registrar (the place you host your e-mail), change your e-mail internet hosting A (or @) report to the brand new net host’s IP tackle.

    Situation #2: E-mail accounts are hosted with a 3rd social gathering (resembling Microsoft 365)

    Be sure that your MX information, together with another information that your e-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 e-mail accounts manually. Alternatively, you may obtain all of your e-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 state of affairs (transferring from a much less user-friendly internet hosting management panel), you’ll need to re-create all current e-mail accounts in your new net host manually. The method generally is a little tedious – particularly in case you are operating on a number of e-mail addresses.

    3. Remaining Examine & Bother Capturing

    After getting loaded your information onto the brand new internet hosting configuration, double verify that every little thing is working correctly in your web site

    Some internet hosting corporations present a improvement staging platform (ie. SiteGround) so that you could simply and fluidly preview your web site earlier than taking it stay within the new surroundings, permitting you to treatment any issues behind the scenes.

    Repairing web site navigation errors and lacking hyperlinks

    As you switch your web site’s belongings from the earlier internet hosting surroundings, it’s attainable for belongings, resembling graphics to be misplaced or for sure information to be left behind. If this occurs, your guests are doubtless to expertise 404 errors. Keep watch over the 404 log throughout and after the swap – this log will warn you of any non-working hyperlinks or belongings that you just want to treatment to restore your web site to being totally practical.

    Normally, you may make use of .htaccess redirectMatch and redirect to level previous file areas to new ones. The next are some pattern codes you may make use of.

    Outline your 404 web page

    To reduce 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

    Transferring whole 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 modify your web site construction on the new host –

    RewriteEngine on
    RewriteCond %{QUERY_STRING} ^id=13$
    RewriteRule ^/web page.php$ [L,R=301]

    Troubleshooting database errors

    There’s danger the place your database might be corrupted in the course of the swap. I’ll use WordPress as instance as a result of that is what I’m most acquainted with.

    In case which you could nonetheless entry your WP dashboard, attempt 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 make sure that it’s exhibiting appropriately.

    Issues would get a bit of trickier when you can not entry your dashboard. Strive these completely different easy steps to see if one works:

    • Re-upload your database, writing over the brand new database.
    • Examine the place the corruption error is coming from and take a look at to reupload that file out of your previous web site to your new one.
    • Open the file and verify to make sure that it’s pointing to your new server.

    Resolution #1: WordPress auto database restore

    If these steps don’t work, you will have to do a little bit of coding, however I am going to speak you thru it.

    First, open the brand new web site in FTP and go to your wp-config.php file. The file ought to be in the principle 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:


    Save your adjustments and go away your FTP program open for now. Open up your favourite net browser. Go to the next tackle for the rep screenBoth button will work to restore your database however simply choose “Restore and Optimize”.repaired databaseWhen the method is accomplished, you will note a display screen that appears the one beneath. It should even remind you to take away that restore line out of your configuration file.

    Resolution #2: phpMyAdmin

    If the above strategies do not work, the next move is to head over to your database.

    This may be daunting when you aren’t certain precisely how databases work, however the steps are pretty easy. Even when you fully destroy the database, you need to be ready 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 may have your database backed up.

    Entry phpMyAdmin out of your new net host. Select your WordPress database. This sometimes is titled yoursite_wrdp1.

    Nevertheless, this may fluctuate. You’ll doubtless see “WP” someplace within the title, although (see picture beneath). It’s also possible to discover your database identify listed in that wp-config.php file that you just had open within the step above. Click on on the database identify in phpMyAdmin to open it.

    choose databasecPanel > Entry phpMyAdmin > Click on on the database identify ito open it.check allAs soon as the database masses, verify the button that claims “Examine All / Examine tables having overhead”.repair-tableSelect “Restore Desk within the drop down field to the best of the place you simply checked the field.successful repairYou will be given a standing about whether or not the tables had been repaired and the highest of your display screen ought to say “your SQL question has been executed efficiently”.

    4. Pointing area DNS to your new net host

    godaddy dns record

    Subsequent, you will want to swap your web site’s DNS report (A, AAAA, CNAME, MX) to the brand new net host’s servers at your registrar.

    Your DNS report is a listing of “directions” that specifies the place to ship the person; transferring your DNS report to the brand new servers ensures that guests will discover your web site as supposed, moderately than receiving an error or misdirect. It is a essential step – be sure to get the best DNS data out of your new net host.

    Listed below are the step-by-step directions on altering your web site DNS at Godaddy, Name Cheap, and


    In case your area is at the moment registered at your previous net host, contemplate transferring the area to a 3rd social gathering in order that in case you do ever want to swap hosts once more, your area can include you extra simply and with none potential issues.

    5. Confirm DNS propagation

    After getting requested to transfer your DNS report, the swap can take anyplace between just a few hours to a full day to take stay.

    As soon as the swap goes stay, alert your former internet hosting firm as to the cancellation. Monitor your web site uptime intently for at the least every week or so to guarantee every little thing on the new net host is working correctly.

    whatsmydnsTip: Use What’s My DNS to carry out a DNS lookup to verify domains present IP tackle and DNS report data from a number of identify servers in 18 areas. This enables you to verify the newest state of DNS propagation.dns mapDNS Map is one other free DNS lookup software to verify DNS propagation standing from over 20 areas.

    Knowing When It is Time to Change Your Web Host

    Making the swap to a brand new net host generally is a tense time – which is why many web site homeowners want not to swap net host except it’s a necessity. In spite of everything – why waste time and power when every little thing is working alright?

    So when is the best time to begin in search of a brand new host? How have you learnt that your net host is the basis explanation for your web site downside?

    Listed below are just a few hints:

  • Your web site is continually happening
  • Your web site is simply too gradual
  • Customer support shouldn’t be useful
  • You nee extra space, performance, or different assets
  • You’re paying an excessive amount of
  • You have got been hacked, greater than as soon as
  • You have got heard about an excellent service elsewhere
  • A Good Web Host = Higher Sleep at Evening

    When I switched to InMotion Internet hosting years in the past – the tech help was so useful and switched my web site over safely and soundly whereas I slept. I awoke up to web site that functioned rapidly and reliably with no single glitch in service.

    If you happen to don’t really feel that degree of consolation, or are bothered about damaging experiences you’ve seen in your net host, it might be time for a change.

    Switching Web Host FAQs

    What’s a web site migration?

    The time period web site migration refers to two eventualities: 1, The method of migrating a web site from one area to a unique one, sometimes altering the location 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 state of affairs.

    How a lot does it value to switch a web site to a brand new net host?

    Free to round $100 based mostly on the complexity of your web site. Many net hosts, as talked about on this article, present free web site migration providers to their new prospects.

    Can I transfer my web site from GoDaddy to one other host?

    Sure. Transferring a web site from one host to one other will be tough although, you probably have not accomplished it earlier than. If attainable, ask your new net host if they might be keen to help with free web site migration – that may get it accomplished for you stress-free.

    Internet hosting corporations resembling A2 Internet hosting, GreenGeeks and InMotion Internet hosting present free web site migration providers to new prospects.

    Are you able to switch a website identify to one other internet hosting web site?

    Domains would not have to be registered along with your internet hosting supplier. In reality, you may host your area identify with one service supplier and hyperlink it to internet hosting supplied by one other.

    Does altering net host have an effect on search engine optimisation?

    Typically no – altering net hosts won’t have an effect on your web site search engine optimisation, assuming that you just maintain your web site construction and content material the identical. Nevertheless, your internet hosting high quality (uptime, velocity, and many others) does have an effect on your search rankings in the long run – which is why I extremely suggest to choose one of the best net host from our record.

    Can we host a web site without spending a dime?

    Sure, it’s completely attainable to host a web site at zero value. Nevertheless, these websites are sometimes restricted in any methods, resembling having little or no assets and enforced host branding. Additionally, you will doubtless be pressured to use a subdomain of the free host you might be on, since actual domains will value cash.

    How do I switch my web site to one other proprietor?

    Technically, this may be accomplished by the switch of belongings resembling internet hosting, area identify, plus entry to third social gathering plugins and purposes. Nevertheless, when you’re contemplating doing this it’s best to be sure that any funds concerned are stored in escrow in your safety.

    Additionally learn –

    On internet hosting and area identify

    On upgrading and selecting an internet host

    On creating a greater web site / weblog

    Show More

    Related Articles

    Leave a Reply

    Your email address will not be published. Required fields are marked *