2.4.2.7. Creating a copy of the site on another domain or subdomain
- V site settings and PHP settings target site, set the settings the same as they are set for the source site.
- Through filemanager clear the contents catalog target site and copy all the contents of the source site directory to it.
- Create a copy of the database:
- Create new database.
- For the created database, run import via control panel and select the database you want to copy as the source.
- Correct your connection settings to the database in the configuration file of the copy site. If the site uses absolute paths, adjust them (for example, 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).