6Jun/190

Migration using Plesk

The migration of a website is always a challenging task for the webmaster. Beside a loss of reputation and ranking on search engines, dead links or famous 404-errors, there are some other risks during such a migration. But often it is more dangerous to leave the website on an old server, since old software can become a serious security risk.

Plesk Migrator

If you want to migrate from a current Plesk server with an outdated operation system or an EOL Plesk version, cPanel, Confixx, Helm or DirectAdmin server, Plesk provides the Plesk Migrator.

The Plesk Migrator is an extension which needs to be installed first. Within Plesk navigate to "Extensions", search for "Plesk Migrator" and then you can install it.

After the installation you can open the "Plesk Migrator" at the tab "My Extensions".

The next step is to "Start new Migration" and select the panel type, from which you want to transfer the data. Important: For this you need root access via SSH to the source server. Beside password authentication you can add an SSH key to the server.

If SSH access is not available and only FTP is possible, please see the next chapter Site Importer.

After you have entered the login data, the connection to the source server is started and depending on the server, different migration options are shown.

On a Plesk-to-Plesk migration you can see the subscriptions, customers, reseller and hosting plans.

In addition you can either migrate the customers of a reseller or assign them to a new reseller. After everything is selected, you can continue with a click on "Migrate". At first there are some checks on Apache modules or PHP versions. If there are no errors or you want to ignore possible hints, the migration will start and you can watch the status of the migration.

In case you want to restart the migration after some days, you can click on "Restart Migration".

You can find further information in the Plesk Migration Guide and also in a support article.

Site Importer

In many cases, you already have a running website and want to migrate it with a few clicks. Likely examples are: you have just started with Plesk, you manage your website using a different panel like cPanel or DirectAdmin, or you have a server with a pure LAMP installation.

In this case, Plesk offers an extension called Site Import.

This is also an extension which needs to be installed. Therefore navigate to "Extension" in your Plesk and search for "Site Import", which can be installed then.

There a two different ways to import your website with the Site Importer:

You can login as server administrator and open "Site Importer" at "Extension" - "My Extensions". Alternatively you can navigate to the subscription and select "Website Importing". In the next step, you need to enter the login data for SSH or FTP.

After you entered the login data and clicked "OK", the connection to the source server will be started and the necessary information will be gathered.

If the file structure can not be detected automatically, you can enter additional information like the location of the home directory.

Website software like WordPress, Joomla, Drupal und PrestaShop are recognised automatically and the import is easy. Further information can be found in the Plesk documentation.

Beside websites, this useful extension can also import email accounts. For this choose "Mail Importing" in the subscription. After a click on "Import mail messages", you need to enter the login data and destination email account. If the the email server can not be detected through the login data, you can enter the necessary details at "Show advanced options". With a click on "OK" the import starts.

Additional information is also available on the Plesk website.

Conclusion

We cannot eliminate the risks of a website migration, but minimize them since Plesk offers some useful tools to make a migration easier and reduce the human factor. But the most important thing for a successful migration is a detailed and well thought out planning.

Order a VPS from Contabo and you get the Plesk edition of your choice one month for free! You can also find further information on our Plesk information site.

Posted by: Torsten | Tagged as: , , , , No Comments
1Jun/172

Using your nameservers in cPanel and Plesk

To use your domain in the Internet, you need to configure nameservers. The nameservers are needed to resolve the domain names into IP addresses. We recommend to use our nameservers (ns1.contabo.net, ns2.contabo.net, ns3.contabo.net) for your domains. We provide redundant servers in different data centers and you can easily manage your DNS zones over the customer control panel. But for several reasons it can be necessary to use your own nameservers.

This tutorial provides short instructions how to manage your own nameservers with cPanel and Plesk. For most domains extensions (TLD), it is necessary to use at least two different IP addresses for two different nameservers.

In this tutorial we are going to use the domain "yourdomain.com" and want to use the nameservers "ns1.yourdomain.com" and "ns2.yourdomain.com" with the IP addresses "1.1.1.1" and "2.2.2.2".

cPanel

To use an additional IP address for a second nameserver, you will need to add the IP address in WHM at "IP Functions" - "Add a New IP Address". The DNS server will be accessible on all configured IP addresses on your server. You can use different IP addresses for the nameservers than for your website.

To use the nameservers with your domains, you will need to add them in WHM at "Server Configuration" - "Basic Webhost Manager® Setup". At the end of the page you can enter the nameserver you would like to use. After you entered the nameserver, you need to select "Configure Address Records". Please enter the IP address you want to use for this nameserver and press "Configure Address Record". After this is finished you can close the windows using "Close". Please note, that in some conditions -- for example if the nameservers are currently configured on a different server -- the entries for the nameserver will not be updated immediately. After you have finished, please press "Save changes".

Now you can "Create a New Account" with your domain at WHM - "Account functions". The configured nameserver will be used in the configuration of your new account and the DNS zone will be created with default values. You can see all DNS entries at WHM - "Edit DNS Zone".

On this page you can manage all DNS entries of your domain. Most entries are for internal usage and should not be changed. To manage user defined values, we recommend to use the "Zone Editor" at "Domains" in the cPanel account.

At last, you will need to configure your domain settings at your domain registrar. You need to change the nameserver entries. If you want to use subdomains of your domain, for example "ns1.yourdomain.com" for your domain "yourdomain.com", you will need to configure so called "Glue Records". This means, the domain registrar does not only save the name of your nameservers, but also the IP address. In some cases it is required to configure the new IP addresses for the nameservers at the current DNS zone of your domain.

After you have finished the configuration, it can take up to 24 hours until the new settings are propagated correctly. To test your nameservers and the name resolution for your domain, you can use tools like intoDNS. This tool will test the settings at your DNS provider and of your nameservers.

Plesk

At first you will need to create your domain in Plesk. At "Websites & Domains" you can see an overview of your domains.

To use a second IP address for your nameservers, the IP address needs to be configured at "Tools & Settings" - "Tools & Resources" - "IP Addresses". The DNS server responds to all configured IPv4 and IPv6 addresses. You can use different IP addresses for your nameservers than for your websites.

All DNS zones in Plesk will be configured based on a DNS template. You can find the settings at "Tools & Settings" - "General Settings" - "DNS Template". In the DNS template you can configure all entries you need for all domains on your server. Beside some default entries and entries for internal services like webmail, the settings for the nameservers can be found here. By default Plesk creates two nameserver entries "ns1.yourdomain.com" and "ns2.yourdomain.com", but with the IP address of your domain. If you want to use the same nameservers for all your domains, we recommend to change the NS entries and the IP addresses of your nameservers in the template. If you want to use different nameservers, you can also change these settings later in the DNS zone of your domain. After you have finished the configuration of the DNS template, you will need to apply the DNS template to all domains.

Now you can see the new settings also in the DNS zone of your domain. You can manage the DNS zone at "Websites & Domains" - "yourdomain.com" - "DNS Settings". There you can add, edit and delete DNS entries.

At last, you will need to configure your domain settings at your domain registrar. You need to change the nameserver entries. If you want to use subdomains of your domain, for example "ns1.yourdomain.com" for your domain "yourdomain.com" as your nameservers, you will need to configure so called "Glue Records". This means, the domain registrar does not only save the name of your nameservers, but also the IP address. In some cases it is required to configure the new IP addresses at your current DNS zone of your domain.

After you have finished the configuration, it can take up to 24 hours until the new settings are propagated correctly. To test your nameservers and the name resolution for your domain, you can use tools like intoDNS. This tool will test the settings at your DNS provider and your nameservers.

Posted by: Torsten | Tagged as: , , , 2 Comments