Thomas J. Leeper
This is the git repository for my webpage, which is hosted with GitHub Pages.
Setting up GH Pages
Some things I learned setting up my custom domain redirect (from thomasleeper.com), which weren't very well documented on the GitHub Pages help files are as follows. If you set up the redirect according to the instructions, it still may not work. My domain is registered with mydomain and I had to do the following configurations to get the redirect to work and to avoid an infinite looping redirect between mydomain and GH pages:
- Make a
CNAME
file containing the domain in your gh-pages repository. - At mydomain, I had to setup:
- a "standard pointer" (not stealth) to
leeper.github.io
. (This creates an infinite loop, though, so see below.) - a CNAME Alias for www.thomasleeper.com pointing to
leeper.github.io
. - an A record for www.thomasleeper.com pointing to
192.30.252.153
and192.30.252.154
. - an A record for @.thomasleeper.com pointing to
192.30.252.153
and192.30.252.154
.
- a "standard pointer" (not stealth) to
This is based on some advice from this StackOverflow question, which was pretty helpful. It was really frustrating getting this setup but once those settings were in place everything started working almost immediately. Hopefully this is helpful for anyone else experiencing similar problems.
To get SSL/HTTPS working, I followed the instructions here: https://jenmyers.net/using-https-with-github-pages-and-custom-domains.html, which use CloudFlare and require an account there.
Share button
The share button on all of my webpages is created using @carrot's share-button.
Jekyll-related things
The website uses the Moon Jekyll Theme --
Except where noted, this website is licensed under a Creative Commons Attribution 4.0 International License.