How to migrate Drupal to new server
Changing web hosting is a challenge that any website owner will sooner or later face. Today, the likelihood of this is seriously increasing due to the expanding number of hosting offers with different price packages. As part of today’s material, we will look at the features of moving a Drupal to another host.
An easy way would be to use free website migration service. If you are going for a hard core style, keep reading.
Reasons of moving a Drupal to another host
In most cases, the transfer Drupal website to another server is explained by the client’s desire to start cooperating with another hosting provider for one reason or another. Also, quite often the change is made in connection with the desire to increase the loading speed of the site, since now everyone understands that the profitability of his site largely depends on the speed of its loading.
However, other common issues can lead to site transfers, such as lack of sufficient security tools, poor customer service, or overly expensive packages.
How to transfer a site to another host
In short, moving a site to another host will require moving the site files completely, moving its database, and changing some settings.
In this article, we will look at the way in which hosting is carried out using phpMyAdmin and FTP, since this service is offered by most hosting providers.
– Disable caching.
This is very important to do to avoid potential future problems. You can disable caching in the configuration.
– Export all Drupal files
To do this, you will need to connect to a remote server using FTP, where you will find your main site folder. Download it to your computer.
– Export the database.
The database is the place where all the most important information is stored, so it will also have to be exported. To do this, select the “Database” section in PhpMyAdmin, where there will be a corresponding button for export.
– Import the database to the new host.
From this moment on, the restoration of your site begins on the new hosting. First, you will need to create a new MySQL database on the target server where the copy you downloaded will be uploaded to.
– Configure the settings.php file
Here you will need to enter your new username, password, and host.
– Import the site to the new host.
Using FTP we upload your site to the new hosting.
– Set up permissions.
– Change DNS settings
In this step, you will show your new hosting to the website domain. To do this, you need to update all domain information using the control panel.
– Activate the caching you turned off in the first step.
After this step, the transfer Drupal website to another server will be complete!