How to move the website

How to move the website

One of indicators of success of the website is the number of its visits by users. Popular resources bring good income and serve as a subject of pride of their creators. However, the more visits has the website, the it creates a heavy load on the server. The small websites, as a rule, are placed within cheap tariff a hosting plans on one server with projects of other web masters. But when the resource begins to find popularity, consuming more and more server power and being beyond a data plan, the competent web master begins to think how to move the website on other server most quickly and safely.

It is required to you

  • Data for access to the admin panel of a hosting. Data for FTP connection to the server on which there is a website. Program FTP client. Browser.

Instruction

1. Transfer the website to the maintenance mode. Many modern CMS have such function in the administration panel. If the website functions on CMS of own development which does not have similar functionality is constructed on the basis of not the connected scripts, or consists of static pages, close access to the website by means of basic-authorization. Disconnect the chron tasks which can entail changes of data of the website.

2. Save all data of the website. Create backup copies of databases. For this purpose it is possible to use scripts of administration of DBMS (such as phpMyAdmin, phpPgAdmin), the DBMS console client programs, means of CMS, engines of forums and blogs, means of the admin panel of a hosting. Save files of the website on a disk of the computer. Be connected to the website server by means of the program of the FTP client. Copy all structure of directories of the website with all files.

3. Add the domain of the website to the list of domains of the account on a new hosting. It becomes in the control panel. Thereof the domain will be added to the list of the supported http-server hosts, for it logs of access and errors, NS records on the DNS server will be created and also the structure of directories in the home directory of the user is created.

4. Recover data of the website on a new hosting. Create databases. Recover data of tables of databases from backup copies. It can be done by means of the same tools which were used for extraction of data. Load files of the website on a new hosting. Be connected to the server by means of the program of the FTP client. Make unloading of all hierarchy of the saved directories of the website in the corresponding directories on the new server.

5. Configure the website and an environment for work of the website on the new server. If it is necessary, change the rights for access to files. Change in configuration files of path to directories and programs for the paths relevant for the new server. Create mail accounts, configure processors and redirectors of mail. Create the chron tasks similar to tasks on the previous server.

6. Change the list of DNS servers of the domain. Come into the control panel of the registrar or reseller of the logger of the domain of the website. Change the list of DNS servers according to the data provided by the hosting company supporting the new server. Save changes.

7. Leave the notification on the old website. Delete data of the website on the old server. Leave only one page with the notification on transfer of the website and instructions for reset of a cache of DNS and the organization of temporary access to the new website. Configure readdressing from all Website URLs on the page with the notification.

Author: «MirrorInfo» Dream Team


Print