ARTICLES
How to host a simple static website
- 2 minutes read - 224 wordsWe all at some point in time thought about having a personal website. It may be for writing about your travel trips, posting pictures of food that you cooked or ranting about the tech which you don’t like. I will leave the reason to you
Step1: Buying a domain
This websites domain name is viggy28.dev. You want a human friendly name, so that your friends, family and rest of the internet can reach your website.
You might’ve heard GoDaddy. One of the famous ones. I personally use Namecheap. I found their customer support much better than GoDaddy’s.
Step2: Hosting
Hosting the website is similar to hosting your relative. Basically, a place where you can host your website. Hosting can be expensive. Your domain registrar might provide hosting too.
There is a bunch of hosting providers. Find the comparison table by pcmag.
I am using Firebase for few reasons.
My familiarity with the platform.
Its based of Google’s infrastructure.
Ease of use (automatic SSL, quick deployments, other services such as firestore, authentication).
Its free tier is sufficient enough to run my site.
Step3: Building the website
You can build it from the scratch by writing all the HTML/CSS. I am using hugo (a static site template builder) and Ananke theme.
You can find the source of this website. It concludes my config, assets and themes.