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:
- V site settings and PHP settings the target site, set the same settings as for the copied site.
- Through filemanager clear the contents catalog target site and copy the entire contents of the copied site directory into it.
- Create a copy of the database:
- Create a database and import into it a dump from the archive with a copy of the database.
- 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).
- 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.