HOW TO START A BLOG

How To Start A Blog

January 19, 2021 . Mostafa Lotfy

A couple of weeks before I wrote this post, I had no idea how to start a blog or any website.

I had many questions, and after searching online, they only multiplied.

Should I use WordPress? Should I use a site builder like Wix or Squarespace? Should I first learn web development? How do I host my blog? Should I first start blogging on Medium? Should I use GitHub Pages free hosting? What is a static website? What is Jekyll? Should I consider other static site generators than Jekyll? Do I need to understand and think about SEO before I start? Where should I get a domain name? Should I go with .com or something else? How do I connect the domain name to my website?

These are some of the questions that overwhelmed me.

I overthought it. The best thing to do is choose a path that makes sense, start immediately, and figure things as you go. No matter how long you think and analyze, eventually, you will find a better way to do things. Time spent postponing is wasted.

To start, you only need three things!

Buying A Domain Name

First, let's get the domain name out of the way.

, but there are many other options.

I ended up buying the domain name from NameCheap. It had a good price with WhoisGuard included.

Do not overthink where to buy it as you can transfer next year. I am considering transferring my domain name to Cloudflare's registrar

next year. They offer at cost renewal prices and other security services.


Building And Hosting A Blog

Choosing a host and building the site are somewhat connected, so I'll address them together.

What is web hosting?

To simplify, a host is a computer that is always connected to the internet. You upload your site to the host, and when someone visits your site and requests to access a page, the host serves it to them.

There are many ways to build a website. Let's narrow it down to three that anyone starting a blog should consider. I ordered those by popularity.

Three ways to build and host a blog

  1. Host the site on a shared hosting service, like Bluehost, and build it with WordPress

. 2. Build and host the site on a drag and drop platform like Wix

, or Squarespace

. 3. Build the blog with a static site generator like Jekyll

and host it on a free static hosting service like GitHub Pages

.

1. Shared hosting and WordPress

What is WordPress?

(content management system) software. It allows you to manage the content of your site without dealing with code. WordPress is the first option I considered, and it seems to be the most popular way to build a website.

What are the pros of WordPress?

. A plugin is a bit of code that can be uploaded to your website to extend its functionality without writing the code yourself.

What are the cons of WordPress?

option.

What is shared hosting?

is sharing a server with other websites to reduce the price.

What are the pros of shared hosting?

What are the cons of shared hosting?

Why I chose not build my blog with WordPress and shared hosting

2. Drag & Drop Site Builders

When I got overwhelmed, I started thinking about drag and drop site builders. It became alluring to sign up, pay the money, and not worry about hosting or domain names, or learning curves.

What are the pros of site builders?

Why I did not build my blog with drag and drop site builders

3. Free hosting for static websites

I finally stumbled on GitHub Pages

.

Github Pages has free hosting! But this free hosting is for static websites only.

A static website? I had no idea what those were as well.

What is a static website?

What are the cons of a static website?

.

What are the benefits of a static website?

GitHub Pages

is a well-known website used by developers to store their projects online.

Static Site Generators

.

Why I built my blog with Jekyll and GitHub Pages

To choose this path, you must be willing to get familiar with new subjects, including git, GitHub, Markdown, the command line, and Jekyll. And to customize your blog, you will need to learn Jekyll, not just get familiar with it.


Quick Recap

I chose to host my blog on GitHub Pages, I built the site with Jekyll, and I bought a .com domain name from Namecheap.

Quick Reasons

Next year I might consider hosting on Cloudflare Pages or Netlify, sticking to Jekyll unless it becomes a pain, and migrating the domain name to Cloudflare.

The purpose of this post is not to have an accurate and thorough understanding of the subject. But to get to the outcome quickly, with a simplified view, and a minimal investment of time, effort, and money. Building knowledge over time as needed.

Those are not all the options out there, but the ones I considered.

Whatever path you choose to take, do not waste your time overthinking. Pick a direction and start now and learn as you go. Then you will find the right fit for you.


Next Steps

If you do not mind learning new skills and saving money. Here is A step by step guide to start a blog with Jekyll.

You will get familiar with the command-line, Jekyll, git & GitHub, and Markdown. You will build your blog or personal website and host it for free on GitHub Pages.

There is no need to have a complete understanding of each subject. In time, you can dig deep when you need to.