WPLift is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission.

How to Host WordPress on DigitalOcean Yourself (Even If You’re Not a Techie)

Last Updated on December 1st, 2021

Tags: , , ,

Lately, we’ve been fascinated with hosting WordPress on DigitalOcean. We’ve seen people sharing pictures of how fast their tiny $5 per month Droplet was loading WordPress for billions of requests. 

But then we came across a tool called SpinupWP that claims to make hosting WordPress on DigitalOcean something that even a non-techie person like you can accomplish.

That’s what this post is about – how to host WordPress on your own DigitalOcean droplet. Keep reading for the step-by-step guide!

It’s important to note that this post is not sponsored by SpinupWP/Delicious Brains, nor did we even talk to them at any point in the process. We just thought it was an interesting new tool and wanted to write about it.

Go to DigitalOcean

Go to SpinupWP

Pros and Cons of Using DigitalOcean

It’s right to look for what is a suitable hosting provider for you and your business. You may want to know first what are the Pros and Cons of DigitalOcean before deciding to use it. 

Pros

  • DigitalOcean is a popular cloud hosting that lets you create your own “droplet” for as little as $5 per month. 
  • It’s like your own free-form server sandbox that you can use for anything. 
  • Get your WordPress site to load pretty fast, even with just that $5 droplet. 
  • Pricing is customizable

Cons 

  • Not suitable for beginners as it uses Linux, Unix and other open source technologies
  • No basic features compared to other host providers
  • Support is ticket-based
  • cPanel is very complex

However, as mentioned earlier, we have SpinupWP. 

SpinupWP is a control panel that aims to make that process a lot less intimidating by properly configuring everything to secure and optimize your site and giving you a much simpler way to manage your droplet.

The end result is that you get something akin to managed WordPress hosting performance at a fraction of the price.

Article Continues Below

How Much Is All This Going to Cost, Anyway?

To follow this, you’ll need to pay for two things:

  • A DigitalOcean Droplet – starts at $5 per month.
  • SpinupWP – starts at $12 per month.

The cool thing is that the price is super flexible and there are no long-term contracts. So if you want to upgrade or downgrade your Droplet in the future, you can do that (say goodbye to paying for 12 months of hosting at a time!).

Additionally, you can host as many WordPress sites as you want – there’s no extra fee for more sites (though you might need to upgrade your Droplet at some point to handle the load, especially if you’re not using full page caching).

How to Host WordPress on Your Own DigitalOcean Droplet

Step 1: Create a DigitalOcean Account

To get started, head to DigitalOcean and sign up for an account.

Host WordPress on DigitalOcean

Once you’ve signed up, go to the Billing tab and enter a payment method so that you’re able to create new Droplets:

Host WordPress on DigitalOcean - billing

You won’t need to pay anything just to sign up – you’ll only pay once you actually create your droplet:

Step 2: Create New DigitalOcean API Key

Next, you need to create an API key, which you’ll eventually use to connect SpinupWP to DigitalOcean.

To do this, go to the API tab in your DigitalOcean dashboard and click the Generate New Token button:

DHost WordPress on DigitalOcean - Applications and api

Give it a memorable name – like “SpinupWP” and make sure the Write box is checked. Then, click Generate Token:

Article Continues Below

DigitalOcean - token name

You should see your new API key:

DigitalOcean - personal access tokens

Keep this screen handy because you’re going to need it in a second. However, right now, you’ll need to do a little work in SpinupWP.

Step 3: Sign Up for SpinupWP

Next, you head to the SpinupWP site and sign up. We’re going to use the cheapest Personal plan, which costs $12 per month.

You’ll need to create your username/password and pay for your first month, but it’s otherwise quite simple.

Step 4: Spin Up a New Server

Once you’ve registered for your account, SpinupWP will give you an option to Spin Up a New Server:

SpinupWP - spin up a new server

Go ahead and click that.

Next, you’ll choose your provider, which is DigitalOcean in this case:

SpinupWP - add a new provider

Now, you’ll need to enter your:

  • Name – this is purely internal and helps you remember what this server is
  • API Token – copy the DigitalOcean API key that you created in Step 2
SpinupWP - selecting digitalocean

Then, click Next.

On the next screen, you’ll need to choose:

Article Continues Below

  • Server Size – we’re going to use the cheapest $5 per month droplet, but you can go bigger if you want.
  • Region – choose the location that’s nearest to your site’s target audience.
  • Backups – choose whether or not to have DigitalOcean backup your entire Droplet (SpinupWP includes a tool to help you backup just your WordPress site)
SpinupWP - new server personal

On the next screen, you’ll need to give your droplet a Hostname. This is basically the “name” of your droplet, and you can make it anything.

If you’re not sure what to put here, just enter your domain name – e.g. yourdomain.com:

SpinupWP - server settings

Next, you’ll need to choose your Database Server. You can just leave this as the default. Also, make sure to save your Database Root Password in a safe place. 

SpinupWP - database settings

Then, click the Provision Server button to launch your new droplet.

After that, you’ll see a bunch of stuff happening in what looks like a terminal. You’ll need to wait for ~10 minutes while SpinupWP works, but you don’t need to do anything yourself:

SpinupWP - creating droplet on digitalocean

Basically, SpinupWP is installing the necessary packages and configuring everything to be secure and work efficiently, While SpinupWP is doing this, let’s handle one other bit of housekeeping…

Step 5: Point Your Domain Name to DigitalOcean

Before you can create a new WordPress site, you need to point your domain name to your new DigitalOcean droplet.

For this example, we want to use this domain name – “colinexample.space” 

To do that, go to the Networking tab in your DigitalOcean dashboard and add the domain name:

Digitalocean- networking

Once you do that, scroll down to the Create new record section and:

  • Enter @ in the Hostname box
  • Click on the Will Direct To box and select your droplet
  • Click on Create Record
Digitalocean droplet - create new record

To finish things out, go to wherever your registered your domain name (Namecheap in our case) and point your domain to DigitalOcean’s nameservers:

  • ns1.digitalocean.com
  • ns2.digitalocean.com
  • ns3.digitalocean.com

Step 6: Create a New WordPress Site on Your Server

Once SpinupWP finishes, it will automatically send you to your server admin page. Or, you can just log in to your SpinupWP dashboard and click on your new server.

Now, you need to create an actual WordPress site on your sparkling new server. To do that, click the big New Site button: 

SpinupWP - sites

This setup wizard should feel a lot like how you’d install WordPress at any “regular” host.

First, you’ll enter the domain name of your site:

SpinupWP - new site

Then, if you want to use a free Let’s Encrypt SSL certificate, you’ll be prompted to add an A record to your DNS. This is what you already did in the previous step, so you can go ahead and click Verify DNS:

SpinupWP - verify dns

If all goes well, you’ll see a success message:

SpinupWP - verify dns success

Next, tell SpinupWP you want to install WordPress. Once you do that, you’ll enter the basic details for your site:

SpinupWP - selecting digitalocean

Then, you’ll configure the Database information. You can leave these as the defaults – just make sure to note down the username and password in a safe place.

SpinupWP - database name

After that, you’ll configure some basics:

  • User – leave this as the default
  • PHP – I recommend using the latest version, but you can choose a different version of PHP if you want (note, PHP 7.1 is the minimum version)
  • Enable full page cache – this will greatly improve the performance of your site/server, but it will also break any server-side dynamic functionality. So if you have a dynamic site – like a WooCommerce store – you should not enable this.
  • Enable HTTPS – you should leave this checked because HTTPS makes your site more secure.
SpinupWP - settings

On the final page, you’ll see a summary of all your settings. If everything looks good, click the Add Site button:

SpinupWP - confirm

You’ll again see a terminal where SpinupWP tells you what’s happening. But like before, this doesn’t require any manual input from you:

SpinupWP - creating new site

And that’s it! You now have a working WordPress site hosted on your own DigitalOcean droplet:

SpinUpWP - success

You can also manage your site from the SpinupWP dashboard, including an option to set up automated WordPress backups and offload them to your storage provider of choice:

  • Amazon S3
  • DigitalOcean Spaces
  • Google Cloud Storage
SpinupWP - backups

So Can Anyone Host WordPress on DigitalOcean?

After having gone through the process, we’re pretty confident in saying that anyone can do this – you don’t need to be a WordPress developer.

The one thing you’ll be keeping an eye on is what day-to-day maintenance is like. 

Will everything be similarly simple? We can’t say anything yet but, we will be hosting some non-critical sites here and seeing how things go.

Beyond that, there are definitely some other important differences to note.

For example, while you can install phpMyAdmin yourself, it’s not installed by default. That means you’ll need to use a desktop app and SSH to edit your database (though SpinupWP does give you detailed instructions for this).

Beyond that, you’ll need to find another way to handle email:

  • For transactional emails, you can use Mailgun, which lets you send 10,000 emails per month for free (instructions here)
  • For email hosting (e.g. using an email like hello@yoursite.com), you can use $5 per month Google G Suite or another service (Zoho Mail offers free email hosting)

But right now, we can say that, if you’ve been interested in how to host WordPress on DigitalOcean by yourself, you should give this method a try and see for yourself.

Try DigitalOcean Today Try SpinupWP Today

Would you like to learn more about WordPress?

Sign up for our Weekly WordPress Newsletter.

Every Friday you’ll receive news, tutorials, reviews, and great deals from the WordPress space.

Invalid email address
A team of WordPress experts that love to test out new WordPress related software, WordPress plugins and WordPress themes.