How to Migrate a Web from One Hosting to Another?

Migrate a website from one hosting to another because you are tired of your web hosting service and have decided to make a move: you will move all your content from your blog or virtual store to a better quality WordPress hosting. Congratulations! It’s not an easy decision to make, but it’s sure to mean a noticeable improvement in the performance of your WordPress site. But, right now, you get some doubts and fears: will it be a simple process? What should I go from one hosting to another? What if I’m wrong?

How to Migrate a Web from One Hosting to Another

Before you panic, we decided to create a tutorial that, step by step, shows you the simplest way to go when migrating your WordPress-created website that doesn’t negatively impact how it works.

As in any tutorial, we’ll start by telling you what you need to do the migration and then we’ll go to the description of the procedure.

How to migrate a website from one hosting to another?

Sometimes the first question is not how, but why. The truth is that part of the answer is very subjective and depends on your own experience as a customer in your hosting service. If you are not satisfied, it is good to know that you can perform the migration process without getting too in the way of the operation of your website. Switching to changing or because you can’t make a good decision. But if it’s among your plans it’s probably because you’ve thought about it and because the accommodation you’re currently using doesn’t meet your expectations. If the services you have here, in your current hosting, you find our advice deficient is to pack your bags and, with our guide, move to the next level, with a company that is closer to your needs and those of your project.

How to change a webpage from one hosting to another?

We do not want to leave anything forgotten when migrating to your new hosting, because we could lose important information forever, by deregistering the old hosting service. So let’s go with the list of “ingredients” that you should keep in mind to perform the process without errors.

  • The domain: a domain is the unique and exclusive name of your website, it is what “translates” your IP address to be a rememberable address by your users. Obviously, you’re going to need to take your domain with you because your domain is what your users have become familiar with and lose it, it’s equivalent to losing your job.
  • The website: regardless of whether you have developed your site in WordPress, Joomla, PrestaShop or any other content manager available, your website is the body of your project, consisting of a myriad of files and obviously with a database that contains all the configuration information that allows you to give order to all that information.
  • An email (or several): In many migration tutorials we notice that this fundamental element is set aside, as it is one of the most important channels of communication with your customers or users. In fact, it’s very likely that you have very valuable information in the email related to your website and if you don’t take it with you, it will be deleted when you cancel the service of your old hosting.

What should you consider to move a webpage from one hosting to another?

Before starting the process there is a general tip, something to do if or if: CREATE A SAFETY COPY. And we put it in uppercase because it’s really important to have a backup, in case there’s any error or problem during the migration process.

If your website is a virtual store, another detail to think about is the possibility to put the part of the website dedicated to sales into maintenance. This prevents any sale from being lost during the migration process.

Can I hire the service to pass a website from one hosting to another?

Many WordPress hostings offer their new customers the ability to migrate their page for free, just by giving them the access keys. Is that a good decision? Depends on. Well, you can probably save time (and maybe one that other headache) but this has its risks: the fine print of this service does not usually include responsibility for any problems that may arise (which in this case can be many) and usually do not perform the migration of email, so you could lose valuable information for your entrepreneurship. So here are the steps to know how to migrate a web page from one hosting to another:

Well, I do it myself, what steps should I take to migrate my website?

  • Step 1: Export the website database. To do this you must enter the control cPanel, locate the database section and click on Phpmyadmin. There we can locate the database that interests us and proceed to export it. Then, you can compress it (in a .zip file) to save time.
  • Step 2: Now, let’s work on the new WordPress hosting. In the cPanel, we’re going to create a new user (to which we have to grant all the permissions so that it can manage the database and a security password). Next, we need to create a new database, which we will leave completely empty, and on which we will perform the import.
  • Step 3: Now yes, import. For this we enter the Phpmyadmin (from the new WordPress hosting), click on the newly created database and import the file we created in step 1 (the compressed database).
  • Step 4: Now that we have our database ready, let’s upload the WordPress files. Something that can do you good to save you time before downloading and uploading WordPress files. It is to clear the cache, with some plugin specific to that work.

Then, we’re going to need an FTP client (like filezilla). The FTP client will allow you to download all the files from the public_html folder (from old hosting), download them and upload them to the same location, but the new web hosting.

  • Step 5: Connect the files to the database. In this step you will have to be very careful not to spoil everything. Find the wp-config.php file (this file contains the information that allows you to connect the database with all the corresponding files), enter and modify the database name, user and password (which will be the ones you assigned in step 2).

Pay close attention. You should not touch any other content in this file and you should only modify the following lines of code:

define('DB_USER', 'USER NAME');
  • Step 6: Modify your domain’s DNS and migrate the domain to your new hosting. This step will depend on your new web hosting provider, as each one has its own peculiarities. What we can tell you is that the domain change is done, usually from the target hosting. And they will be in charge of doing it automatically, when you request it.

Ended up?

Yes! We’ve made it. With a little dedication, you’ve probably managed to get through the whole process without too many complications and your website should remain as functional as ever. We hope to have helped you throughout this process. We hope that the question: how to migrate a web page from one hosting to another?, has been answered by this post.  We would like to know your comments and doubts so we can help you. If you liked this entry, help us share it.

Latest Comments

    • carli

Leave a Reply