https on .me custom domain - github pages

1. Follow the steps in the below.

a. Name Cheap KB to connect NC to github pages

b. Now, in your github repository, add a file “CNAME” the contents of which are your .me domain name.

$ cat CNAME
nithintsk.me

c. Github KB to make the domain use https instead of http

d. Try accessing your .me domain, if it successfully redirects to https, you can stop reading further.

2. If you weren’t able to enable https redirection in github settings

Did you get the following error?

Github Error

This is likely because you have two extra A records in you advanced DNS settings on NameCheap.com

Delete the A records with the ips below:

After deletion, try to reenable https redirection in the repository settings on Github. It worked for me.

Now you should be able to use your .me domain to access your github pages website.