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)
Select to create a droplet in the main DigitalOcean panel
Select marketplace and then WordPress app. This is the 1-click application to install WordPress on DigitalOcean easily.
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.
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.
Once you create the droplet, you must point the name servers of your domain to DigitalOcean.
The DigitalOcean DNS are:
Return to the main DigitalOcean panel, and in the droplet, select “add domain”.
Enter your domain in the following format (without www or https):
Now you must create a new CNAME record in the domain.
In HOSTNAME enter “www” and in “IS AN ALIAS OF”, enter “@”.
Go back to the droplet and open the console from the DigitalOcean panel
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, yourdomain.com).
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
Once the website is installed, you must log in to the WordPress administrator.
It will look something like that yourwebsite.com/wp-admin
In the WP panel, go to settings and general.
Here add an “s” (https) in WordPress Adress and Site Adress.
That is, from http://yourdomain.com to https://yourdomain.com and then save it.
For example, from this:
And voila, you already have WordPress with SSL installed on a DigitalOcean droplet.
You may also like:
- Cloudways Review: VPS for WordPress (managed)
- DigitalOcean Review: Best VPS Server
- Vultr Review: Is it a good server?