How to Managing a custom domain for your GitHub Pages site
Today I will show you how to add Managing a custom domain for your GitHub Pages site or how to add a custom domain in GitHub site. I am using the .tech domain I got from https://education.github.com/ GitHub student pack. so let's start
First, you have to go to your domain server, control panel, and go your manage orders
Then you get your orders list click on your domain which you have to use
And after go your DNS Management and go Manage DNS
And after you get this type of window and you have to go Add A record and add these four IP addresses on A record one by one
Like this
And close that windows and go your GitHub repositories and click on create new file
And create a new file name is CNAME and in the file, you have to write your domain name like this photo, my domain name is anshpatel.tech
and click on commit a new file your file will save and now search your site. The site will be loaded
Thank You.