Digitalocean Wordpress



Installing and managing single/multiple WordPress sites in DigitalOcean can be a little tricky for non-techies. Unlike shared hosting, VPS like DigitalOcean doesn’t provide any cPanel where you can manage everything.

In this, I’ll guide you through installing high-performance, multiple WordPress sites in DigitalOcean without any pain, a guide for non-techies!

← ServerPilot Docs. How to Install WordPress on DigitalOcean. If you have connected your server to ServerPilot, you can install WordPress with one click when you create an app. Step One: Create an App in ServerPilot. An app is a web application, such as WordPress. Register With DigitalOcean: LAMP: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql. WordPress is Open Source software designed for everyone, emphasizing accessibility, performance, security, and ease of use to create a website, blog, or app. WordPress is a content managment system (CMS) built on PHP and using MySQL as a data store, powering over 30% of internet sites today. This DigitalOcean Marketplace Kubernetes 1-Click installs WordPress and MariaDB onto.

Table of Contents

Why DigitalOcean?

DigitalOcean is a high-performance cloud hosting company that competes with Amazon AWS and Google Cloud. Unlike shared hosting providers like GoDaddy or Bluehost, DigitalOcean provides raw VPS servers.

Advantages:

  • Super fast WordPress sites
  • No resource sharing
  • Unlimited websites
  • Cheaper than shared hosting if you’ve multiple sites
  • Hourly pricing
  • More choice on location
  • Full control over the server
  • Server level backups
  • Server level caching with Redis, Varnish etc

VPS vs Shared hosting?

In shared hosting, a single server will hold multiple accounts and their resources are shared. So even you get 1GB of RAM, others might be using it. High traffic to other sites will cause your server to slow down E.g.: GoDaddy, Bluehost Pros: Cheap Cons: Poor performance
As the name suggests, it’s a private server allocated just for you. No one will be sharing its resources. You’ll get full control and have access to 100% of the resources. Super fast! E.g.: DigitalOcean, Linode, Vultr Pros: High performance, unlimited websites, full control Cons: Price will be higher than shared hosting. Usually starts at $5/month

Create a Server in DigitalOcean

Login to your DigitalOcean dashboard and create a new Droplet (Droplet means VPS server).

Set the configuration as follows:

  • OS: Ubuntu 16.04 x64
  • Plan: Standard – $5/month
  • Backups: Yes (recommended, only extra $1/month)
  • Datacenter Region: Choose the one nearest to your audience

Once you’ve created the droplet, a username and password will be emailed to you. Note it down, we’ll use it in the next steps.

Install EasyEngine

EasyEngine is a tool that helps to install and manage high-performance WordPress in any VPS server easily! It will automatically install necessary packages like latest PHP, MySQL, Nginx, Letsencrypt (free SSL) etc. We’ll install our WordPress sites through EasyEngine in DigitalOcean.

Login to your droplet by clicking ‘Access Console’. You’ll be presented with a terminal. Enter the username and password you got in the email. You’ll be asked to reset the password on the first login.

Now install EasyEngine by entering the command:

It will take a few mins to install.

Digitalocean Wordpress Install

Install WordPress Site via EasyEngine

Once you’ve completed the installation of EasyEngine, let’s install WordPress. It’s just a single command:

Notice the “USERNAME” and “PASSWORD”. Change it as yours before executing the command

Wait for a couple of seconds/mins and your WordPress site will be live!

Connect your Domain

Once you’ve completed installing WordPress, to connect your domain copy the IP address of the droplet.

Open your DNS provider’s setting (I recommend Cloudflare) and paste the IP address in the ‘A record’.

If you’re using Cloudflare’s here is the screenshot:

Installing Multiple WordPress Sites

Since it’s a VPS there are no restrictions on the number of WordPress sites you can install. I usually have around 5-10 WordPress sites in a single $5 server.

To install another site, log in to the console as above and execute the same command with the new domain.

Wordpress

Useful EasyEngine Commands

Delete the existing WordPress site:

List the existing WordPress site:

Digitalocean Wordpress Docker

Restart a site:

cPanel for DigitalOcean?

Unlike Shared hosting or Managed WP hosting, DigitalOcean (or any other VPS provider) doesn’t come with a cPanel installed by default.

With EasyEngine 95% of the time, you won’t need a control panel like cPanel. Also, these control panels will add extra 300-500MB RAM usage.

But, if you’re not comfortable with these terminals and commands, and need more advanced features like staging URL, daily backups, UI, etc, check out Cloudways. Cloudways is a managed cloud hosting platform that allows you to host WordPress in different cloud providers like DigitalOcean.

Conclusion

Digitalocean Wordpress Lamp

With DigitalOcean, EasyEngine and Cloudflare you’re going to get a super-fast WordPress site. If you’ve multiple WP sites, you can install all of them in a single $5 droplet which will be even cheaper than shared hosting! This is what I do.

Digitalocean Wordpress Hosting

Comment below if you’ve any queries or feedback. I read and reply to each of them within 8 hours!