In fact, I have used this domain name a while back. And I just decided to pick it up again. To use a custom domain name with github pages is fairly simple. What you need to do is:
- Create a CNAME file in your github pages repo, which points to your custom domain name (i.e. mingliang.me)
- Create CNAME records in your DNS manager (e.g. GoDaddy, Name.com, NameCheap, etc.)
- One for the root apex (@) and one for www. Both point to yourusername.github.io.
- If your DNS provider does NOT support ALIAS records on the root apex (@), simply create A records that point to 18.104.22.168 and 22.214.171.124
Here are some links if you still don’t get it: