Why must you start a blog? The Need!
A blog is one of the best side-hunches one can start. But it needs genuine efforts to generate a stable income. In this article, I’ll explain you each and every detail, from A to Z about how to build a blog without coding, how to earn money from a blog and what it takes to market it to a broad audience.
First Requirement: Hosting
First and foremost, what we need is Hosting. Hosting is similar to a plot of land where you can build your dream home. Likewise, hosting is where you build your website. If you Google about hosting, you will be bombarded with deals in Shared Hosting. So don’t do that.
Shared hosting is alike to a hostel where you share all the resources available and pay a compensation for it. So it’d be a shared server where your website will be sharing the same RAM, Processor and all other resources with other websites hosted on it. The only identity you would have is your domain name!
As a number of other websites too would be hosted on the same server, if one website has some malicious content, all the other websites would also lose ranking on search engines like Google. You want your WordPress Blog to be indexed by Google, right? Who doesn’t?
Another downside of using a Shared Hosting is that almost daily the server would be down anywhere between almost 20 – 30 minutes in the name of maintenance, that too in the peak hours! This is the reason I don’t host Wroffle on Shared Hosting.
Where is Wroffle Hosted?
Wroffle is hosted on DigitalOcean which is a Cloud Hosting Service. It provides me with a VPS viz. Virtual Private Server. According to Wikipedia, “A Virtual Private Server (VPS) is a virtual machine sold as a service by an Internet hosting service.
A VPS runs its own copy of an operating system (OS), and customers may have superuser-level access to that operating system instance, so they can install almost any software that runs on that OS.” Yes, that’s exactly what fascinates me about cloud hosting! You completely own it. You own the server, also a unique IP Address. No sharing. And guess what, Zero Downtime! Plus it’s super fast!
Traditionally, cloud computing services were dominated by the biggies like Google and Amazon. It was high-priced! But not anymore! Now Cloud Computing Companies like DigitalOcean, Linodes, Vultr provides VPS for as low as $5 per month! Here’s a $100 DigitalOcean credit for your WordPress Blog. Sign up with this link and you’ll have 2 months of cloud hosting for free!
Next step is to spin up a droplet on DigitalOcean and set up WordPress blog on it. We’ll set up WordPress blog on Ubuntu at your choice of location anywhere in the world.
A little secret to a blazing fast WordPress blog!
Now you must be thinking that you’ll have to learn all those Linux commands. Hell No! This is where Serverpilot comes in! ServerPilot is the best way to run WordPress and PHP sites. It’s Simple, fast and secure hosting on your DigitalOcean servers. Actually, it’s a Control Panel for WordPress Hosting.
When you connect your DigitalOcean server to ServerPilot, ServerPilot’s automated systems install and configure WordPress all by itself. ServerPilot optimizes your servers and application stacks to give you the best performance possible. It uses modern technologies such as Nginx and PHP-FPM. ServerPilot leverages modern security practices and an architecture designed for security to keep your servers and websites safe.
Thereafter, you can add your domain. Add both versions here viz. www and non-www.
Now your website is up and running. Congrats. Next step is to install WordPress Plugins which will boost your productivity and improve your WordPress Blog functioning. Also, your website needs to be optimized for Search Engines so that your blog posts get listed on Google Search result. In case, you are planning to share your posts on Facebook and want to reach out to people without spending any money, I wrote an article for that too! Read it here > Step by Step to step Facebook Preferred Audience organically.
Add SSL to ServerPilot’s free Plan
This is a Bash script (provided by lesaff on Github) to generate and install Let’s Encrypt certificate for your websites on your free/paid ServerPilot account. Currently, the only easy way to add SSL to your ServerPilot-powered websites is by subscribing to the paid plan.
- ssh to your server,
sudo suto act as root
cd /usr/local/bin && wget https://raw.githubusercontent.com/lesaff/serverpilot-letsencrypt/master/sple.sh
sudo chmod +x sple.shto make it executable
sple.shanywhere from your console as root
- Follow the on-screen instructions
If things go wrong
/var/log/letsencryptfor detailed error messages
- ssh to your sp server as
- List all the
- Delete the
<appname>.ssl.confthat is causing problem
sudo service nginx-sp restart
Schedule auto renewal
Add the following to your crontab (
For Ubuntu 16.04
0 */12 * * * letsencrypt renew && service nginx-sp reload
- If using Cloudflare, don’t forget to change SSL to Full (Strict).
- This script assumes that you did not change your default ServerPilot installation folder
- When entering your domain names, please list the primary root domain name first
- To force HTTPS on your website, please follow instructions here
- To redirect www to non-www or non-www to www on your website, please follow instructions here
- Obey/observe the rate limits. Read the full documentation on the Let’s Encrypt website for more information
If you want me to set it up for you, all you need to do is to drop a comment in the comment section below and we’ll take it from there through email. 😀
Got any doubt or Need any help? Do let me know in the comments section below. Also, do not forget to subscribe to Wroffle. To do so, just tap the bell icon at the bottom-left of your screen .
Join 1827 other subscribers