Methods to Set up WordPress on Digitalocean (Visible Information)

Most guides about putting in WordPress on DigitalOcean create points in the long run, particularly if you’re not an amazing developer.


  • Software program functions get outdated.
  • Upkeep turns into an issue.
  • Safety dangers.
  • cPanel will get costly.

On this information, I’ll let you know the secrets and techniques of find out how to keep away from such points by selecting aaPanel, a free and open-source various to cPanel.

What’s aaPanel, and Why Is it Higher?

The reply is straightforward. It’s open-source and free like WordPress.

It doesn’t restrict your server, not like different panels like Cyberpanel, permits internet hosting of a most of two web sites on its free plan.

Furthermore, aaPanel lets you:

  • Set up WordPress, Joomla, and Drupal with the one-click software program package deal.
  • Free backup creations on Google Drive with hourly, day by day, weekly, and month-to-month frequency.
  • Nice safety built-in.
  • Low sources hungry.
  • Low upkeep.
  • Nice person interface.
  • Highly effective on-line editor.

And far more.

Do you need to hear the perfect half?

On a $15 Digital Ocean plan with 2CPU, 2GB RAM, and 60GB area, I’ve hosted one in every of my shoppers 13 web sites: 12 WordPress and one static. And it runs completely.


Solely 486MB RAM is being utilized, and the server is working accurately with none subject.

WordPress Websites

Are you excited to get began?

Putting in WordPress on DigitalOcean (Step by Step)

Putting in WordPress on DigitalOcean is the perfect factor you are able to do because it prices quite a bit much less cash to run.

Step 1 – Sign up to Digital Ocean

We’re not right here to advertise Digital Ocean with an affiliate hyperlink. Go to the official web site and register.

Digital Ocean Homepage

Step 2 – Create a Droplet

The second step is to create a droplet. A droplet is a Linux-based digital machine, a brand new server — consider renting a server or shopping for a plan from a internet hosting web site.

It’s easy to construct a droplet. Navigate your mouse cursor to the Create > and click on Droplets.

Create A Droplet In DigitalOcean

Step 3 – Select an Picture

The following step is to decide on a picture really helpful by the developer.  aaPanel recommends CentOS, however Purple Hat has killed CentOS after IBM bought Purple Hat for 34 billion {dollars}.

Study extra concerning the story in a while on this article.

So, select Ubuntu 20.04 LTS that guarantees to supply upkeep updates for 5 years, till April 2025, not like CentOS 8 till December 2021.

Choose An Image In Ubuntu

Step 4 – Select a plan.

Now that you must select a plan.

It depends upon your web site that you simply’re going to host since every web site may have its theme, plugins, and widgets.

Usually talking, you’ll be able to simply host 5 WordPress web sites on the $5 droplet on DigitalOcean if the web sites get common visitors.

For the sake of this tutorial, I’m selecting the $5 plan.

DigitalOcean Plan

Word: When you’re nonetheless uncertain what number of servers your web sites can deal with in your web site, then one of the best ways is to create a backup of your web site and restore it on the server. Then conduct testing utilizing stress instruments.

Step 6 – Selecting a Knowledge Middle

It’s really helpful to decide on the information heart that’s closest to your customers. For instance, if most of your customers come from New York, you need to host your web site on a server hosted in New York.

Data Center In DigitalOcean

Please attempt to discover out the place your customers come from.  Use Google Analytics’s information about your customers’ location and use Google Maps to seek out the space between your metropolis and the Digital Ocean information heart.

Distance Between New York And DC

How are you going to discover it in Google Analytics? Simply sort the time period nation within the search bar, and it reveals you immediately within the Analytics Intelligence window.

Google Analytics

Step 5 – Authentication

It might be essentially the most difficult step for newbies. First, allow Monitoring (non-compulsory) that alerts you if one thing goes improper.

Secondly, choose the SSH keys. If you wish to keep away from this step, you’ll be able to set a password and transfer on to the subsequent step.

 If you wish to improve your server’s safety, using the SSH keys could make your server safety higher.

SSH Keys In DigitalOcean

To generate an SSH key, obtain the straightforward software program, PuTTY — for Home windows customers.

Download The Putty

Obtain it. Set up it. Open it. Bear in mind open PuTTYgen, not PuTTY.


It’ll present you a easy interface.

PuTTY Key Generator

Once you hit the button Generate, you need to transfer your mouse programs to generate the important thing sooner. As soon as finished, save each private and non-private keys in your native machine.

Save Public And Private Putty Key

Each saved keys will seem just like the screenshot under:

Private Ppk

Now return to Digital Ocean, and click on New SSH Key.

New SSH Key

Copy the entire code from PuTTY Key Generator and paste it into the general public SSH key field. Now click on Add SSH Key.

PuTTY Key Generator And Paste Into SSH Key To Digital Ocean

Step 6 – Add Backups

On this step, you’ll be able to select a hostname and the VPS identify.  You can even put a tag. Each are non-compulsory steps.

You can even create a backup of your VPS taken as soon as per week and retained for a month with Digital Ocean, nevertheless it takes further prices, 20% of your whole plan worth.

When you lack a price range, you’ll be able to go away taking backups since we will use the Google Drive Backup app in a while on this article at no cost.

Create Droplet

Step 7 – Putting in aaPanel

To put in aaPanel, you want a bit little bit of endurance.

Wait Loading

After a number of seconds, you’ll see the droplet is prepared.

New Droplet Is Ready

Now run PuTTY when you use Home windows. When you’re a Mac or a Linux person, you should use your default terminal.


So copy the ipv4 and paste it into the HostName of PuTTY.

Put The Ipv4 Into PuTTY

We have to put the SSH key we generated.

Word: When you didn’t generate an SSH key, you can join immediately.

Go to Auth and browser the non-public key. Click on Open.


It reveals an alert message.


Now sort root, it’ll efficiently enter the terminal like this:

Type Root

Now copy the road as proven under:

AaPanel Ubunto

Now paste the Ubuntu line into the Putty.

AaPanel Installation

It asks a number of questions.

Press y for the query “Do you want to install aaPanel to the /www directory now?”. Press once more y.

After sort sure to the query, “Do you need to enable the panel SSL?”

Aapanel Install Process

It begins downloading the panel. It would take from 5 minutes to 10 minutes. Have endurance.

AaPanel Username And Password

As soon as it’s put in, you’ll get the aaPanel Web Tackle, username, and password. Copy them and paste them into your notepad.

Save It On Notepad

Enter the web handle into the browser, click on Superior on Chrome, and click on Proceed to IP (unsafe). It occurred as we enabled SSL for our server.

Proceed SSL

Put the username and password that aaPanel supplied within the terminal.

Username And Password

Step 8 – Putting in Internet Server and Apps

As quickly as you sort the username and password, you’re prompted to put in the really helpful software program packages.

Installation AaPanel Completed

I don’t set up Apache and Nginx; as a substitute, I choose to make use of Litespeed for quite a few causes, however the principle motive is that it’s sooner and higher than all internet servers. It handles requests and customers higher than Apache and Nginx.

Litespeed Is Faster

That’s why I set up all of the software program packages besides the Nginx internet server. I’ll set up the webserver OpenLiteSpeed in a while.

You may choose the next software program packages:

  • MySQL 5.7
  • Pure-Ftpd 1.0.047
  • PHP 7.4
  • PHPMyAdmin 5.0

One Click Install

You may set up any software program packages; you’ll be able to belief me and observe me alongside. As soon as determined, click on One-click. You’ll want to attend for a couple of minutes.

Insallation The Services

When all of the software program packages are put in, you’ll see the message.

Currently No Task

Now it’s time to put in the OpenLiteSpeed internet server. In an effort to set up it, go to the App Retailer, search OpenLiteSpeed and set up it.

Install The Openlitespeed

I like to recommend putting in all these software program packages:

  • MySQL
  • Pure-Ftp
  • PHP
  • PHPMyAdmin
  • Memcached
  • OneClick Deployment
  • Google Drive

Apps Installed

Step 9 – Putting in WordPress

Let’s come to the tutorial’s most fun half: putting in WordPress on a super-fast internet server.

In an effort to set up WordPress, go to the App Retailer, navigate to OneClick Deployment and click on Settings. Discover WordPress and press One-click.

Install WordPress One Click Deployement

It is advisable to sort the area on which you need to set up WordPress. I’ll use the area for instance.

Don’t overlook to repeat the Database username and password into your notepad.

AaPanel One Click

As soon as finished, click on Submit.

Success Message

It’s not finished but 😀 You’ll get an error message when you attempt to entry your web site. Be sure to have put the DigitalOcean nameservers into your area registrar.

Youll Get An Error

I’ll advocate putting in Cloudflare because it protects your server from potential hackers by hiding your server IP and DDOS assaults.

Let’s add a web site to Cloudflare.

Cloudflare SIgn In

When you’ve created your account, click on Add a website.

Add A New Site On Cloudflare

Enter your web site so as to add to the Cloudflare community.

Enter Your Site Name

Choose the free plan.

Select The Free Plan Of Cloudflare

Click on Proceed.


Copy the Cloudflare’s nameservers.

Name Server Changes

And paste into your area registrar.

Name Server Changes In Namecheap

Now return to Cloudflare, and click on Performed, test nameservers.

Done Check Server In Cloudflare

And click on End.

Summery Of The Guide

It takes a couple of minutes to finish the DNS propagation. Typically, it would take an hour too.

Refresh The Cloudflare

As soon as finished, go to the DNS part and export all of your data in case one thing goes improper.

Export The DNS Records

I’m going to delete all of the DNS data.

Delete DNS Records

As I’ve added the web site to Cloudflare, I have to put the Digital Ocean’s identify servers.

Add The NS Server To DigitalOcean

It’s a must to add three identify servers like these:

Name Server

Now we have to add the A File.

Add A Record Of DIgital Ocean To Cloudflare

In a nutshell, it’s a must to add 4 data: 3 nameservers and 1 A File.

One A Record And Three NS On Cloudflare For DigitalOcean

It’s time to put in the SSL. Return to aaPanel > Web site and click on the web site the place you need to set up SSL. With out SSL, WordPress is not going to work. You may set up an SSL, by the way in which.

SSL Install

We have to put the e-mail and API into the SSL part of aaPanel.

Go to SSL > Let’s Encrypt > DNS Verification > Cloudflare API and enter the e-mail and the World API Key.

To get the World API, click on My Profile > API Tokens > View of World API Key.

Global API Key Of Cloudflare

As you’ll be able to see how I arrange the API.

API Done

The free SSL is being put in, and it’s mechanically renewed for a lifetime.

Installing SSL

Typically your web site may provide you with an error like this:

Another Error

It occurs if you don’t put the SSL to full.


Refresh your web site; now you’ll be able to set up WordPress. Put the Database identify, Username, and Password that we copied in the course of the One-Click on Deployment WordPress set up.

Furthermore, put a powerful username and password to put in WordPress. Congratulations! WordPress has been put in efficiently.

Install WordPress Easily

Step 11 – Google Drive Day by day Backups

You may benefit from the premium options of aaPanel at no cost. You may create common backups of your web site on Google Drive with out taking any area in your server storage drive.

It’s helpful to have common backups in case your server will get hacked or your web site reveals uncommon habits.

Be sure to have put in Google Drive in your server. Go to the App Retailer and set up Google Drive.

Google Drive Backup

As soon as put in and authenticated together with your Google Drive, go to Cron and choose Backup website from Sort of Process and choose any web site from the listing or create all web sites’ backups.

Backup All Sites

Don’t overlook to create backups of your database; in any other case, your backups are ineffective.

Database Backups As Well

These backups are saved in your Google Drive in your bt_backup folder.

Daily Backups

Don’t Set up WordPress on CentOS 8

The open-source neighborhood obtained livid when RedHat killed CentOS after IBN bought RedHat in 2019 for 34 billion {dollars}.

Redhat Killed CENTOS

It means the safety upgrades for CentOS 8 will finish in 2021 relatively than 2029, as customers anticipated.

So it’s really helpful to not set up WordPress on CentOS 8. After all, you’ll be able to set up WordPress on CentOS 7, whose safety upgrades finish in 2024.

CENTOS End Of Lifetime

However the current transfer, the date could be modified at no prior discover, as is the case with CentOS 8.

As an alternative of selecting CentOS 8 or 7, you go after Ubunto.

Closing Ideas

DigitalOcean has made WordPress putting in simple and easy. It affords glorious efficiency, flexibility, and management, and the instruments that make your life simpler.

aaPanel, an amazing cPanel nice various, has glorious options that improve your server safety and make upkeep easy and inexpensive. You may host loads of web sites that in any other case may cost a little lots of of {dollars} on different internet hosting firms.

When you didn’t get any step, don’t hesitate to remark under. I promise you’ll get a reply inside 24 hours. We love our shoppers and web site guests.

Leave a Reply

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