CityHost.UA
Help and support

Moving the site to WordPress

The site migration process can be divided into 5 main steps:

  1. Create and get a backup copy of the site and database from another hoster
  2. Unzip the files from the archive on our hosting
  3. Import the site database
  4. Configure the connection to the database in the site's config files
  5. Redirect the domain from the old hosting to the new one

Creating a website on hosting:

  1. Go to the control panel of your hosting cp.cityhost.ua and create a site with the same name as on another hosting - instructions .
  2. Go to the file manager of the created site and download the archive with the site files that you received from another hoster - instructions .
  3. Download and unpack the archive on the hosting in the root directory of the site, use the buttons in the upper right corner.
  4. Make sure the site files are unzipped in the root directory of the site and not in a separate subfolder.

Import database:

  1. Go to the MYSQL tab and create a new database with an arbitrary name, which you will associate with this site - instructions .
  2. 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:

  1. Open the site's file manager again and click on the wp-config.php file
  2. 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.
  3. 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.
  4. 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:

  1. If your domain is registered with our company , check that our NS servers are installed on it in the Domains - instructions section.
  2. In the DNS section, direct your domain to the newly created hosting thanks to the button Send to hosting - instructions .

  1. If the domain is NOT registered with our company , go to the domain registrar panel and install our NS servers there - instructions .
  2. 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 .