Migrating existing websites to LuxCloud Plesk environment.

Migrating existing websites to LuxCloud Plesk environment.

 

 

Migrating via the Plesk Interface

  1. Log in to Plesk on the destination server as the Plesk administrator.
  2. Go to Server Management > Extensions > Plesk Migrator > Start a New Migration.

plesk 1

  1. Select the hosting panel installed on the source server from the Panel type
  2. Specify the following:
    1. The source server’s IP address. If migrating from a Linux server, specify the SSH port as well (22 by default).
    2. (Plesk for Linux) The login and password of a root user on the source server. Alternatively, you can choose to authenticate via SSH keys. For details, refer to Authentication by SSH (Linux).
    3. (Plesk for Windows) The login and password of the built-in administrator accounts on both the source and the destination servers.
    4. The directory for storing temporary files on the source server (make sure there is enough free disk space available to store the dump of the largest database that will be migrated).
  3. If migrating from a Windows-based server, specify the method for installing the RPC agent (an application enabling Plesk Migrator to gather data):
    1. Automatic (recommended). Plesk Migrator will try to deploy and start RPC agent on the source server using the built-in administrator account. In some cases, automatic deployment may fail (for example, due to firewall settings, or because the File and Printer Sharing or RPC services are disabled). If this happens, deploy the agent manually.
    2. Manual. A link to download the RPC agent package will be provided. Download the package and install the agent on the source server manually.
  4. Click Prepare Migration to proceed to the next step. Plesk Migrator will attempt to fetch the data about the different objects (domains, subscriptions, customer/reseller accounts, and hosting plans) found on the source server. If the connection fails, double-check the source server information, make sure that the connection is not blocked by firewall, and try again.

Note that from this point onwards, you can leave the Migrator interface without losing your progress – the migration will remain in progress until you finish it explicitly. To continue from where you left off, click Server Management > Extensions > Plesk Migrator and then click the corresponding migration in the list.

plesk 2s

  1. You now find yourself on the Add subscriptions

Here you must select the subscriptions to be migrated (note that you cannot migrate individual domains, the fewest number of objects you can migrate is a single subscription and all its domains). You can use one of the three available filters:

  1. plesk 3By Subscription. If you migrate a subscription owned by a customer or a reseller, the corresponding customer/reseller account will be migrated as well (unless a custom subscription owner is specified – see below). The hosting plan the subscription is based on will also be migrated.
  2. By Customer/Reseller. If you migrate a customer or reseller account, all subscriptions owned by the account will be migrated together with the hosting plans they are based on. Note that migrating a reseller account does not automatically migrate the customer accounts owned by the reseller. If you select a 1 account and one or more customer accounts owned by that reseller for migration, the reseller’s ownership of the customer accounts will be preserved on the destination server.
  3. By Hosting Plan. If you migrate a hosting plan, all subscriptions based on the said plan will be migrated as well. If you migrate a hosting plan belonging to a reseller, said reseller will be migrated as well, plus all subscriptions based on the selected hosting plan together with the customers who own those subscriptions.
  1. Select what types of content (mail content, web content, and databases) will be migrated.
  2. Select a custom subscription owner. By default, whenever a subscription owned by a customer or reseller is migrated, the corresponding customer or reseller account is created on the destination server as well. If you select a different subscription owner, the ownership of all subscriptions being migrated will be assigned to that account.
  3. To change the migration settings, click Settings in the upper-right corner.

 

plesk 4Here, the following controls are available:

  1. Adjust application settings. By default, during migration Plesk attempts to make changes to the configuration files of a number of popular web applications to make them operable on the destination server. Clear the checkbox if you want to make the changes manually. Leaving this option enabled will increase the migration time.
  2. Apache restart interval (Plesk for Linux only). Restarting the web server on the destination server is necessary for the migrated domains to become available over the network. Make sure not to set this value too low (less than 300 seconds is not recommended), as all hosted domains become temporarily unavailable every time the web server is restarted.
  3. Run post-migration checks. By default, after the migration is finished, Plesk performs a number of automated tests to identify potential issues with the migrated domains. Clear the checkbox if you do not want the tests to be run. Leaving this option enabled will increase the migration time.
  1. When you are satisfied with the list of subscriptions to migrate and the migration options, click Migrate to proceed. Plesk will run pre-migration checks to detect potential issues and display a report.

plesk 5

We advise you to fix the detected issues (if any) before continuing with the migration. Make the necessary configuration changes, then click Refresh to re-run the tests.

plesk 6

  1. When the pre-migration check returns a clean result, click Start migration to begin migrating. Once a migration is underway, you can monitor its progress on the Overview
  2. As subscriptions are being migrated, status reports will be displayed for every subscription for which the migration was either completed successfully or failed.

plesk 7

  1. The plesk icon 1 icon indicates that the migration was completed successfully.
  2. The plesk icon 2 icon indicates that the migration was completed with errors. Click [Details] to see the list of issues that occurred during the migration.
  3. The plesk icon 3 icon indicates that the migration failed. Click [Details] to see the list of issues that occurred during the migration.
  1. If you want to perform an additional sync of a subscription’s content after the migration is finished, click [Re-sync] next to the subscription’s name.
  2. If you want to migrate additional subscriptions from the source server, return to step number seven. Otherwise, unless you plan to migrate from the same source server again in the near future, you can click Finish migration to remove it from the list of ongoing migrations.

 

 

 

 

plesk 8

 

Manual migration through FTP access (Apache-Linux only)

1. Gain temporary FTP. You can obtain it by following the following steps.

1.1 In the left pain, go to the item ‘Web Hosting’.

1.2 Then go to Hosting -> Websites in the top left corner.

1.3 Search for the domain you want to migrate the website. From, in the ‘Domain’ field.

1.4 Search for the domain’s ID, and then navigate to Webhosting -> Hosting -> Webspace’s. There you can copy or fill in the Webspace ID in the Webspace Name field.

1.5 When the system has found the specified webspace, you can click on the item. Then a new window appears. There you have to navigate to the Get Temporary FTP access button.

1.6 When you have clicked on the button the following page will appear.

plesk 10

The username, password and the IP address you have to use are displayed.
These you have to use to obtain the documents of the website.

  1. Download and install WinSCP for file transferring.

Official download: https://winscp.net/eng/download.php

  1. When the installation is ready, start the WinSCP program to begin with the extraction of the documents from the server. The following window will prompt you to give in you FTP credentials.

plesk 11

 

The credentials you obtained in the Odin interface you can fill in the provided fields.

 

 

 

  1. In the left pain, the root of the webspace will appear and to the right your local computer’s directories. Select your website’s directory, click on the right mouse button and click on Download.

 

 

  1. When the download has been completed, navigate to the Plesk platform of LuxCloud: https://plesk.appcloud.eu:8443 , and login with your credentials LuxCloud provided you with.

 

  1. In the left pane, you can find the Files Then you can upload the files to the Plesk environment by clicking on the Upload button and then selecting all the files/directories you have downloaded, into the httpdocs directory.

 

  1. When you have uploaded the files, you can change the DNS records of the customer. How you can do that, see the instructions on page 11.

 

 

Changing DNS-records

  1. Go to Domains in the left painplesk 12
  2. Fill in the domain name in the “Name” field and click

on the “Search” button.

  1. When the system has found the domain, then click

on the domain name.

  1. Then click on the “DNS” tab, to view

the DNS records of the domain

plesk 13

  1. Then You have to click on the tab ‘DNS Records’. Then the records of the domain will be displayed for you

plesk 14

  1. When you want to edit the record, you have to click on the record you want to edit. Then the following window will appear. Then you can click the Edit button to edit the

plesk 15

  1. The following window will appear. In the ‘Record Data’ field, you have to fill in the IP-address: 147.135.238.119

You can leave the 3600 in the ‘TTL’ field.

plesk 16

When you are done with editing the record, you can click on the ‘Submit’ button to submit the changes to the record.

 

  1. When the TTL time has been passed (mostly 1 hour or 3600 seconds), do a dns lookup with the following command:

Nslookup -q=ns<customer domainname>

You can also try to go to the website and see if it gives you a proper response by displaying the customers website.

 

If this step checks out, you have successfully edited the DNS records.