For those who are awake!
Discount -15%
We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
New design
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

How to switch from one hosting to another. Important points and common mistakes that should not be made.

How to switch from one hosting to another. Important points and common mistakes that should not be made

If you do everything correctly when transferring a site from one hosting provider to another, your web resource will work "in a new place" in 3-24 hours. Let's look at the main nuances of this process.

Before starting transfer

Make sure the new host supports the same technology stack as the old one. This applies to versions of PHP, DBMS, etc. The new version should not be lower than the old one. Otherwise, the likelihood of problems with the site is rather big.

Now we move

IMPORTANT MOMENT . Moving a site involves copying data (web resource files, databases, etc.) and placing them with a new hoster. So, do not rush to delete files from the old provider. Nobody rushes you with this. As soon as you understand that the site works without any problems in the new location, you can “demolish” the files from the old hoster.

The process of transferring a site from one hosting to another can be divided into 3 stages.

1.Copying site files

At this stage, pages, scripts, pictures, videos and configuration and other files necessary for the operation of the web resource are copied.

You can do everything in several ways.

Most often, the hosting control panel is used for this. In it, you need to select all the site files (they are usually located in the public folder_html), select the "Compression" panel item. The files will be archived and stored on the hosting. After that, they need to be downloaded to the local computer (again, using the control panel or via ftp client).

IMPORTANT . The compression option is only suitable if the new hoster supports working with archives. This is implemented by most modern providers. But you never know… If suddenly this is not possible, you will have to download the files one by one, without archiving.

After that, the archive is uploaded to the new hosting and unpacked on it (or the files are uploaded one by one).

Site files on many popular CMS can be copied through the admin panel. This is the second way to "move".

2. Formation of a dump (copy) of databases

This can be done in two ways:

  • Via command line or database console. The method is suitable for those who have experience in programming and forming database queries.
  • Through the database management system (in most cases, phpMyAdmin). In it you need to select a database, select all of its tables and select the "Export" item in the DBMS.

On the side of the new hoster, everything is done in reverse order - the database is deployed from the file obtained in the previous step by means of the DBMS (the "Import" option) or through the console (terminal, SSH).

3.Working with configuration files and domain transfer

After loading the site and the database on the new hosting, some actions are required with the CMS configuration files. They need to write the name of the database, username and password to access it (as a rule, they are given by the hoster when purchasing services). You also need to change the paths to the files logs, tmp, etc.

After that, you can already check how the site works with the new hoster. For this, a technical domain is used (how to switch to it - check with the support service of the provider to which you are moving).

The final stage is changing the DNS records of the domain. This can be done, for example, through the domain name control panel at your registrar. Everything is simple here - the old records are deleted, the new ones that the provider will give you are registered (copy and paste from the new provider's letter).

What about an SSL certificate?

Don't worry, you won't have to buy a new one. You just need to transfer it. In this case, the certificate itself and the private key are copied, which are installed on the new hoster. You can ask for help from the experts of the certification authority that issued the SSL, or those. support for the new hoster.

After everything works for you, you can delete files from the old hosting.

By the way, almost any hoster provides services for the transfer of sites to themselves. Someone does it for free, while others do it for money.

Exercise domain transfer for service to "Hosting Ukraine".

Choose reliable hosting: SSD hosting, VPS on SSD, Cloud (cloud) hosting, cloud VPS.

Our technical support will help you resolve all your questions at any time of the day.

Join Hosting Ukraine and we will take care of the technical side of your business.


Only registered users can leave comments

Subscribe to the newsletter

We will send announcements of new articles and useful tips once a week

Follow us on social networks