Setup Website In Github repository -> Settings -> Pages -> add custom domain. This will generate a CNAME file with domain. In DNS provider, create CNAME with name and value, with value being YOUR_GITHUB_USERNAME.github.io