Notes and Documentation
Custom domain for GitHub Pages
Documenting the steps I took to use a self owned domain for GitHub Pages
DNS configuration
- Create type A records for the IP addresses from GitHub
- Create CNAME record for GitHub Pages site e.g
pkharel.github.io
GitHub Pages configuration
- Create a Github Pages repository
- Go to
Repository Settings -> Pages -> Custom domain
and add your domain
Make web services publicly available
Documenting the steps I took to make internal services (e.g plex, calibre, pihole) publicly available on the Raspberry Pi.
Requirements
Follow this guide.
General Overview
We want to set up multiple services on a Raspberry Pi and have subdomains point to the various
services. For example, Let’s assume ServiceA
is currently running on the Raspberry Pi on port 8080
and ServiceB
is running on port 8081
. We can use NGINX to make both of those services accessible
publicly by going to http://servicea.mydomain.com
and http://serviceb.mydomain.com
respectively.