How to Install WordPress In DigitalOcean with SSL

DigitalOcean is one of the best cloud hosting services.

A few years ago, it wasn’t very easy to install WordPress in DigitalOcean because it was made for developers.

With the new features such as 1-click app, it is now much easier to install WordPress on DigitalOcean.

In this tutorial, I will explain how to easily install WordPress in a Digital Ocean droplet (with SSL certificate). I will explain step by step how to have your WordPress site running in a few minutes.

This is the easiest way to install WordPress on a DigitalOcean droplet.

How to install WordPress in Digital Ocean (Step by step)

Step 1

Select to create a droplet in the main DigitalOcean panel

how to wordpress in digitalocean

Step 2

Select marketplace and then WordPress app. This is the 1-click application to install WordPress on DigitalOcean easily.

step2 wordpress digitalocean 1 click app

Step 3

You can choose the droplet size you want. You can start with the $ 5 one and then upgrade it to a larger one at any time. Also, you can select the city where the droplet will be installed.

step3 install wordpress + digitalocean

Step 4

Select one-time password. This is a password that will be sent to your email once you create the droplet. This password will help you in step 10 to log in to the console.

And now, create the droplet.

Step 5

Once you create the droplet, you must point the name servers of your domain to DigitalOcean.

The DigitalOcean DNS are:

Step 6

Return to the main DigitalOcean panel, and in the droplet, select “add domain”.

step6 add a domain

Step 7

Enter your domain in the following format (without www or https):

step7 add domain digitalocean

Step 8

Now you must create a new CNAME record in the domain.

In HOSTNAME enter “www” and in “IS AN ALIAS OF”, enter “@”.

step8 cname digitalocean

Step 9

Go back to the droplet and open the console from the DigitalOcean panel


Step 10

To login to the console, you must enter the data you received in your email when you created the droplet.

In the console, the system will guide you to install your site. The first step is to enter your domain without www or https (for example,


Step 11

Create data to log in to the WordPress panel. It will ask you for an email, username, password, and blog title.

Then say yes to LetsEncrypt by marking “y” (this is the SSL certificate).

You must also activate HTTPS for both versions (1,2)

And select redirect all access to HTTPS

step11  wordpress in digitalocean

Step 12

Once the website is installed, you must log in to the WordPress administrator.

It will look something like that

Step 13

In the WP panel, go to settings and general.

Step 14

Here add an “s” (https) in WordPress Adress and Site Adress.

That is, from to and then save it.

For example, from this:

wordpress panel
To this:

And voila, you already have WordPress with SSL installed on a DigitalOcean droplet.

You may also like:

Leave a Reply

Your email address will not be published. Required fields are marked *