Do you want to install WordPress on the DigitalOcean droplet to get tremendous performance at a low cost? Well, it’s not as hard as it sounds.
By the end of this tutorial, you will be able to create a WordPress website on DigitalOcean cloud VPS, configure the server, and more. But first, what is DigitalOcean?
About DigitalOcean
DigitalOcean is a cloud web hosting company that provides many cloud computing services. It’s a well-known company that provides fast and reliable web hosting solutions.
DigitalOcean now lists 16 data centers in 8 countries for Droplets, backs them with a 99.99% uptime SLA, and its servers are known for solid performance.
With that many locations, you can host your site close to your visitors, which helps speed. Keep in mind that a single Droplet lives in one data center, though. Your site isn’t copied to other servers automatically, so turn on backups (we cover that below) to stay safe if something goes wrong.
Cloud computing is the delivery of computing services over the internet. Including servers, storage, databases, networking, and so on.

With that being said, let’s jump right into the first step of how to install WordPress on DigitalOcean.
Step 1: Get Your Domain Name Ready
You’ll need a domain name to get your website on the internet. DigitalOcean doesn’t sell domain names, but you can register one elsewhere and then point it to your server.
If you already have a domain name you can skip this step and go to the next one.
If you don’t have a domain or you want to register a new one, register it with any domain registrar, such as Namecheap, one of the best known registrars.
Use the NameCheap coupon code (NEWCOM648) to get a new .com for $6.48 in the first year if you are a new customer.

Step 2: Sign Up For DigitalOcean
To sign up for DigitalOcean go to digitalocean.com and then click on sign up. You can sign up with your Google account, GitHub, or by email. Use our link to sign up. New users often get some promo credit, but the amount changes, so check what the sign-up page shows (DigitalOcean’s own pricing FAQ currently uses a $5 credit for 90 days as its example).

Choose how you want to sign up for DigitalOcean, then verify your account.
Once you do that, you’ll be taken to a page where you add a payment method, such as a card or PayPal. Select your desired payment method and then enter your payment information.

DigitalOcean asks for payment information to make sure you can pay future bills, since it doesn’t charge you upfront.
When you choose the card payment you need to fill in your card information and your billing address. After that, confirm your card ownership.

When you choose the PayPal payment, you will be redirected to your PayPal account to confirm the payment.
DigitalOcean uses your payment method to verify your account. If you pick PayPal, you make a small prepayment, and that amount goes toward your first bill.

The money withdrawn from you will be deposited into your DigitalOcean account for later use. Once you do all that, you can log in to your DigitalOcean account.

Finished signing up? now it’s time to install WordPress on DigitalOcean
Step 3: Deploy a Droplet and Install WordPress
DigitalOcean Droplets are Linux-based virtual machines (VMs) that run on top of virtualized hardware. Each Droplet you create is a new server you can use, either standalone or as part of a larger one.
In other words, a droplet is a server that has its own resources like RAM, Bandwidth, CPUs, etc.
DigitalOcean’s basic Droplets come in two flavors: Regular servers, and Premium servers that use newer Intel or AMD CPUs and NVMe SSD storage.

To create a WordPress website on DigitalOcean, you first need to create a droplet or server and then install WordPress on it.
Create a droplet:
To create a droplet go to the main panel on the left side of the control panel on the DigitalOcean dashboard.
Click on the Manage rollout tab to see all DigitalOcean options and from there, select Droplets.
If you already have droplets on your account, you’ll see all of them here, and if you don’t, you’ll see a big Create Droplet button in the middle.

Click on it or on the “Create” button in the upper left corner of the dashboard. Once you click on it, It’ll show you all the options you can create with DigitalOcean. From there select Droplets

When you choose to create the droplet, all the options and settings of the droplet that you want to create will be there.
At first glance, it may seem overwhelming. So, let’s break down the steps of creating it one by one to make it easy for you.
Choose a data center region:
DigitalOcean lists 16 data centers in 8 countries for Droplets (a few of the newer US ones only offer some plan types). The closer the data center is to your visitors, the better your website will perform, so choose the one closest to the audience you want to reach.

If the region has more than one data center, you can select the one you want from the drop-down Datacenters.
Choose an image and choose a WordPress application:
Go to the “Marketplace” tab and choose WordPress. It should be in the recommended first results. If it’s not, search for it from the search box.

3. Choose server size:
In this section, you need to choose the size of the server you want to create. The pricing and the amount of resources.
- The first option is to choose the web hosting type, shared or dedicated CPU server. In our case, we want to create a droplet, so, we will select the Shared CPU.
- The second option is to choose the type of your droplet, Regular CPU, Premium Intel, or Premium AMD. For small websites the difference isn’t huge, but the premium options are faster than Regular.
- The third option is to choose the server size. the pricing and resources you need for your website. For small and new websites, the $6/month is quite enough.

The $6 per month plan (1 GB RAM) is a good start for smaller sites. If your website gains more traffic in the future, you can easily scale up your plan.
Add volume (block storage), if you need to:
Volumes are network-based block devices that provide additional storage space for Droplets.
Volumes make sense when you need more disk space but not extra CPU, RAM or transfer, like when you plan to host large files such as videos and podcasts.

To add a volume click on Add Volume, to open the additional storage choices. Select the volume capacity you want and go to the next step.

Volumes cost $0.10 per GiB per month, so a 10 GiB volume costs $1 per month and a 100 GiB volume costs $10 per month.
Once you select one of the volume options, it will be created along with your server. If you don’t want volumes, click on Remove Volume.
Authentication method (Access Credentials):
DigitalOcean gives you two options to access your server root, either with an SSH key or a Password. If you are familiar with the SSH key, it is a better option. Otherwise, use the password option.

Additional options:
When you scroll down, just under Authentication you will see these additional options DigitalOcean recommends.
Monitoring is a cool feature, But we urge you to enable the Backups, as they are the best thing that guarantees your application restoration after a website crash or malware attack.
Weekly backups on DigitalOcean cost 20% of the droplet price, and daily backups cost 30%. So if your droplet costs $6/mo, weekly backups add $1.20/mo.

Finalize and launch the droplet:
This is the last step of creating your droplet.
In the first option, you determine how many droplets you want with the same configuration and capacity.
Next, choose a unique name for your droplet. This name identifies your droplet. Your Droplet name can only contain alphanumeric characters, dashes, and periods.
You can use tags as well to organize and relate resources. You can use this option if you plan to host lots of droplets in your account.
Finally, click Create Droplet.

Wait for a few seconds, and then you will see that your server has been created. And WordPress has been installed along with the server creation.
Step 4: Configure the Droplet Interface
There are several options and settings in every droplet that you should know about. The Projects on DigitalOcean can contain multiple droplets. And you can make multiple projects on one DigitalOcean account.
When you click on any project, all the apps in that project will show up. The image below shows what the droplet looks like after installing it.

When you hover over the droplet name, you will see the droplet server location, RAMs, and disk storage. And the set of numbers beside the droplet name is the IP address of the server.
The three dots on the right of the droplet panel are the settings of the droplet. From there you can access the server via SSH terminal, resize droplets, view backups, delete the droplet, and more.

More settings will be seen when you click on the droplet name such as monitoring, access details, Resizing, and more.

- Under the droplet name, you’ll find the droplet details like the droplet resources and the droplet applications.
- The left panel shows different options for the single droplet. The Graphs is simply monitoring the server.
- The Graphs show how much your application is consuming the server in terms of CPU usage, memory, disk space, bandwidth, etc. So you know exactly how your server is performing.
- You can turn the droplet power off, resize the server, add volume, see backups, and many more features from there.
- The console to the right of the dashboard is a terminal that allows you to access the server via SSH root, and that’s what we are going to do next.

Step 5: Point the Domain to The Droplet
To point the domain name to the droplet, copy the IP address of the droplet then go to where your domain name was registered.
Go to the DNS settings of the domain and add an “A” record and a “CNAME” record.
The “A” record maps a domain name to the IP address. So whenever someone clicks on your domain name, he will be directed to your website.
To add an “A” record, click add new records, in Host insert the “@” sign, and in Value paste the IP address of your server( droplet).
The “CNAME” record points the “www” version of your domain to the main (non-www) domain, so both addresses reach your server.
To add the “CNAME” record, in Host type “www”, and in Value type in your domain name as you see in the image below.

Step 6: Complete The Server Setup
After the 1-click WordPress droplet is created, you need to log in to the server as root through an SSH terminal to finish the setup. DigitalOcean updates this 1-Click image from time to time (the current version runs Ubuntu 24.04, PHP 8.3, MySQL 8.0 and the Caddy web server), so the prompts you see may differ a little from our screenshots, which come from our earlier install.
Log in to the server via SSH terminal:
You can log in to your server root via the droplet console that DigitalOcean provides, or via a third-party terminal such as Putty.
To access the server using Putty you need to enter the IP address and the password that you created during the droplet installation.
In this example, we will use the DigitalOcean console. Since we already logged in, we don’t need to enter either the IP address or the droplet Password.
To log in to the server root via DigitalOcean console, click Console, or go to Access, log in as root, then click Launch Droplet Console. Once you do that, the droplet console will automatically access your server root.

Complete WordPress installation:
In the terminal window, you will see a bunch of lines. Ignore them and go to the bottom of the lines.
It’ll ask for your domain name. Type it without “http://” (like he-tests.com), as you see in the image below, and hit enter to go to the next step.

Next, you will create the admin user credentials of WordPress. The username and password of your WordPress website. It starts by asking for your email address. Type it in and press enter.

Next up, enter the username and press enter, then enter the password and again press enter as shown below. These will be the WordPress admin credentials.
When you type your password, it will not be visible on the screen for security purposes. So write it carefully. After that type in the title of your website and press enter.
To confirm that the information you entered is correct, type “Y” and press enter again.

Install Let’s Encrypt SSL certificate:
The next line will ask you if you want to install the Let’s Encrypt SSL certificate. Type “Y” to confirm and hit enter on the keyboard.
Then you’ll be asked for an email address for the certificate account. Enter your email address and press enter. (Let’s Encrypt stopped sending expiry reminder emails in June 2025, and the certificate renews automatically on the server.)

The next line asks you to agree to the Let’s Encrypt terms of service. Type “A” to agree and press enter.
Next, you’ll be asked if you want to share your email address with the Electronic Frontier Foundation (EFF), the group behind Certbot. Enter “Y” if you want or “N” if you don’t want and hit enter for the last time.

Once you go through all that, you should receive a confirmation message that tells you that WordPress has been installed successfully. Wait for a few minutes for your SSL certificate to propagate.

Now you can use your domain name to see your WordPress website. And you can go to “https://yourdomain.com/wp-admin” to access your WordPress admin area with the username and password you created earlier.
WordPress on DigitalOcean: The Conclusion
DigitalOcean is one of the best known cloud hosting providers out there, and it’s a solid home for a WordPress site.
Yes, it may take some time for new users to install and configure WordPress on DigitalOcean, but it’s totally worth it.
If you’re happy to manage your own server, DigitalOcean is a cheap, fast and reliable choice. Check our DigitalOcean pricing guide to pick the right Droplet, or read our full DigitalOcean review first.
Read also: DigitalOcean vs Vultr vs Linode comparison.


