Website Setup

1 minute read

As my first post I wanted to write about how I set up this website using GitHub Pages, namecheap and Cloudflare.

GitHub Pages

GitHub Pages is a free and easy way to host a static website. It also works with jekyll, making creating a personal blog very easy.

placeholder image 1 placeholder image 2

Selecting a theme

There a lot of different themes that you can choose from on GitHub. Just fork the repository and rename it to yourusername.github.io and that’s it!

In my case I pretty much chose the first one: Minimal Mistakes and followed its guide.

You should see your website up and running at this point.

Custom Domain

I wanted to use a custom domain name for my site, so I went to namecheap and purchased xiangchen.dev given that Google released this domain quite recently.

I used Cloudflare to handle the redirect and SSL certificates for the site, it is completely free and quite easy to use.

This guide by Bart de Goede is quite detailed and explains this step quite well.

You may also need to set up A records on Cloudflare pointing to the IPs owned by GitHub.

Note: Don’t forget to also change the nameservers of your domain to the ones provided by cloudflare, which in my case are:

Leave a comment