The site migration process can be divided into 5 main steps:
Create and get a backup copy of the site and database from another hoster
Unzip the files from the archive on our hosting
Import the site database
Configure the connection to the database in the site's config files
Redirect the domain from the old hosting to the new one
Creating a website on hosting:
Go to the control panel of your hosting cp.cityhost.ua and create a site with the same name as on another hosting - instructions .
Go to the file manager of the created site and download the archive with the site files that you received from another hoster - instructions .
Download and unpack the archive on the hosting in the root directory of the site, use the buttons in the upper right corner.
Make sure the site files are unzipped in the root directory of the site and not in a separate subfolder.
Import database:
Go to the MYSQL tab and create a new database with an arbitrary name, which you will associate with this site - instructions .
Open the created database in phpMyAdmin and import the database from the file you received from another host - instructions .
Configuring the wp-config.php config file:
Open the site's file manager again and click on the wp-config.php file
Change the values of the db_name , db_user , and db_password fields to those you created in the previous point when creating the database. This data is displayed on the MYSQL ? Users tab on your hosting.
Verify that the db_host field is set to localhost or 127.0.0.1. If you have a different value, set one of these two.
Save the changes to the file by clicking the Save button in the lower right corner of the screen.
Redirecting a domain from an old hosting to a new one:
If your domain is registered with our company , check that our NS servers are installed on it in the Domains - instructions section.
In the DNS section, direct your domain to the newly created hosting thanks to the button Send to hosting - instructions .
If the domain is NOT registered with our company , go to the domain registrar panel and install our NS servers there - instructions .
As in the case above, point the domain to the hosting by clicking the Point to hosting button in the DNS - instructions section.
This completes the site transfer, wait for the NS/DNS records to update, which may take 30 minutes to several hours, and try to open the site. If necessary, change hosting settings, such as PHP version or additional options , and issue a free SSL security certificate .