Installing Plesk on DigitalOcean

Provided Product Configurations

The following Plesk configuration is available on DigitalOcean.

Plesk Components set

Plesk Web Admin Edition SE (Ubuntu 18.04)

Recommended set* (Fail2Ban, ModSecurity, Plesk Firewall, and **WordPress Toolkit are installed by default). Additionally, the DigitalOcean DNS extension is installed by default.

Note: *The Recommended components set includes all components necessary for web hosting (including the web server, a mail server, a database server, and so on), plus the most popular and widely used features. For more information about Plesk Web Admin Edition SE (Ubuntu 18.04), see the topic Plesk Web Admin SE.

Note: ** WordPress Toolkit in Plesk Web Admin Edition SE (Ubuntu 18.04) provides only basic functionality. To use premium WordPress features, upgrade your Plesk license to Web Pro or Web Host Edition.

Installing Plesk on DigitalOcean
  1. Log in to an existing DigitalOcean account or create a new one.
  2. Click Create > Droplets in the right upper corner of the screen.

    1 - Copy

  3. Go to the “One-click apps” tab and select "Plesk on 18.04".

    2 - Copy

  4. Choose the droplet size.

    You can choose one of the standard droplets paying attention to the amount of memory it comes with.

    The more websites you intend to host and the more traffic the hosted websites generate, the more memory you will need. Estimate the amount of memory your setup will require.

    If you want to try out Plesk on DigitalOcean, you can choose the smallest possible droplet (1 GB/1 vCPU), which is sufficient for testing. If later you find yourself running out of resources, you can upgrade your droplet.

    DO3

  5. Adding block storage is not necessary for Plesk to operate. You can skip this option and go to the next step.
  6. Choose the datacenter region. If you plan to host small business websites, we recommend choosing the zone closest to their geographic location to reduce page load times for local visitors.
  7. Additional options such as Private networking, Backups, User data, and Monitoring are not necessary for most Plesk users. You can skip them and go to the next step.
  8. You can log in to your droplet using:
    • A root password, which you will receive by email. If you go with this option, skip the "Add your SSH keys" step and go to the next one.
    • An SSH key. If you go with this option, click New SSH key to add a new SSH key or select a previously added key (if you have any).

      Note: Using SSH keys is a more secure way of logging in. If you use a root password, we strongly recommend that you log in to the droplet command line and change the root password received by email. The command line will automatically prompt you to do so.

  9. Choose how many Plesk instances you want to deploy and give each one a recognizable name.

    3 - Copy

  10. (Optional) At this point, your Plesk instance is ready to be deployed. If you plan to deploy several instances or to deploy more of them in the future, you may want to group your instances by tagging them. You can manage every instance with the same tag at once.
  11. Click Create.

Your Plesk instance is being deployed. You can start working in Plesk once the deployment is finished.

To access Plesk for the first time:

  1. If you use an SSH key, access the instance command line using:
    • SSH
    • Any SSH client, for example, PuTTY or iTerm2.

    If you do not use an SSH key, use a root password received by email to access the instance via:

    • SSH,
    • Any SSH client, for example, PuTTY or iTerm2.
    • The DigitalOcean console.
    • Going to the https://<your-droplet-IP>:8443 link. If you go with this option, skip steps 2 and 3 and go straight to step 4.
  2. Once you log in to the command line, change the root password.
  3. Run the following command to generate a one-time login link:

    sudo plesk login

  4. Plesk will generate two login links. Go to the second login link https://<public-ip-address>:8443/, for example, https://192.0.2.1:8443/login?secret=hlHH450sx%2FAlSJHj1VWJC2qKxK6gqVxtsMkYG6bf6wc%3D
  5. You will be redirected to the Plesk welcome screen. Provide your contact name and email, accept the End-User License Agreement, and set an administrator password (you will then log in to Plesk using that password).
  6. Once you have finished, click Enter Plesk to log in to Plesk.

Note: If you log in to a Plesk instance that is still being deployed, you will see the maintenance screen. Once the deployment is finished, the maintenance screen will be gone and you will be able to start using Plesk.

Note: If you accessed Plesk for the first time using the https://<your-droplet-IP>:8443 link, we strongly recommend that you log in to the droplet command line and change the root password. The command line will automatically prompt you to do so.

6 - Copy

Assigning Floating IP Addresses

Once a droplet is created, DigitalOcean automatically assigns a static public IP address to it. However, if the droplet is destroyed, you will lose the static IP address. In this case, you will have to reconfigure DNS settings to resume hosting websites.

To prevent this, we recommend that you assign a floating IP address to your droplet. Unlike static IP addresses, floating IP addresses can be moved between droplets.

Issues with Sending Email

If you cannot send email from Plesk, check if outbound connections on TCP port 25 are blocked. If they are, contact DigitalOcean support.