How To Setup $5 WordPress Cloud Hosting in 5 Min

Go to https://m.do.co/c/98b8afce102d to get a 50$ Credit with Digital Ocean and setup your Account.

Digital Ocean is all about simplicity and no frills. If you’re beyond being a novice user and don’t need a managed VPS, after reading this Digital Ocean review, you’ll see that it’s one of the best choices in the entire world.

It’s geared towards developers and people who aren’t afraid to roll up their sleeves and know their way around the console (However they have plenty of resources, one-click installers, and other ways to make things simpler for anyone out there.) If that’s intimidating, or you just aren’t experienced enough to feel confident managing your own server, there’s also a service out there called PHP and WordPress Hosting on DigitalOcean that pairs very nicely with Digital Ocean, is free, and gives you a way to manage your Digital Ocean server with a visual control panel.

Droplet Used

OpenLiteSpeed WordPress

VERSION 5.2.2

OS Ubuntu 18.04

Description

OpenLiteSpeed is the Open Source edition of LiteSpeed Web Server Enterprise and contains all of the essential features. OLS provides enormous scalability, and an accelerated hosting platform for WordPress. This One-Click gives you OpenLiteSpeed, PHP, MySQL Server, WordPress, LiteSpeed Cache, and other useful applications.

Software Included

Package Version License
WordPress 5.2.2 GPL 2
OpenLiteSpeed 1.4.49 GPLv3
MySQL server 5.7.24 GPL 2 with modifications
PHP 7.2 proprietary
CertBot 0.31.0 Apache2

Getting started after deploy

From a terminal on your local computer, connect to the Droplet as root. Make sure to substitute the Droplet’s IP address.

ssh root@use_your_droplet_ip

An interactive script that runs will first prompt you for your domain or subdomain.

You can press CTRL+C and continue to SSH. The prompt will open again the next time you log in, and will continue to do so until you finish the whole setup.

Please input a valid domain: Please verify it is correct. [y/N]

You can also automatically apply Let’s Encrypt SSL if your domain is pointed to this server already. Enter y and your email address to finish the process.

Do you wish to issue a Let's encrypt certificate for this domain?
 [y/N] Please enter your E-mail: Please verify it is correct: [y/N]

Once finished, you should see Certificate has been successfully installed…

Do you wish to force HTTPS rewrite rule for this domain? [y/N]

Enter y to force HTTPS rules to be applied

Do you wish to update the system which include the web server? [Y/n]

This script will automatically go away after your domain has been added.

For more support

Please visit our Quick Start page for details on how to access your WordPress One Click and complete your configuration.

Community Support: null

API Creation

In addition to creating a Droplet from the OpenLiteSpeed WordPress 1-Click Apps via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB OpenLiteSpeed WordPress Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.

curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"openlitespeed-wp-18-04"}' \
"https://api.digitalocean.com/v2/droplets"
TechPog

TechPog

Leave a Reply

Sign up for our Newsletter