2.17.8. Creating a copy of a site on another domain or subdomain

As part of our hosting, there is no functionality for automatically creating copies of a site on another domain or subdomain. You need to perform such actions manually, taking into account the peculiarities of the site system that is being copied.

To create a copy of the site, do the following:

  1. If the target domain or subdomain has not yet been added to the section "My sites", add his.
  2. V site settings and PHP settings the target site, set the same settings as for the copied site.
  3. Through filemanager clear the contents catalog target site and copy the entire contents of the copied site directory into it.
  4. Create a copy of the database:
    1. Create and download an archive with a backup copy of the database of the copied site on your PC1).
    2. Create a database and import into it a dump from the archive with a copy of the database.
  5. Correct your connection settings to the database in the configuration file of the copy site. If the site uses absolute paths, correct them (instruction for OpenCart).
  6. If the site is bound to a domain address, replace the old address with a new one and correct the paths in the configuration files of the copy site and / or its database (instructions: WordPress, OpenCart, PrestaShop).

1)
You can find out which database a site is using from its config file.
Content