Transferring a site from the main domain to a subdomain

To transfer a site from the main domain to a subdomain within the same hosting account:

  1. If the target subdomain has not yet been added to the section «My sites», add his.
  2. V site settings and PHP settings subdomain, set the same settings as for the main domain.
  3. Through filemanager clear the contents catalog subdomain and move all the contents of the main domain directory into it (or simply rename the subdomain and main domain directories by swapping them).
  4. If the site is bound to a domain address, replace the main domain address with the subdomain address and correct the paths in the site's configuration files and / or its database (instructions: WordPress, OpenCart, PrestaShop).

Since the transfer is performed within the framework of one hosting account, there is no need to transfer the database and change the settings for connecting to it.