20 Add Domain Name To Github Pages Update

Now that we have added the necessary domain information to our github account we are going to create custom domain records in cpanel.
Add domain name to github pages. Sign in to your namecheap account. Learn how to add a custom domain to github pages. After uploading the files go to settings of the repository in the top right corner and scroll down to github pages.
Then click on the add new record button are you unable to edit host records. To redirect www subdomain to the original domain add a cname record with your github pages profile url with a. I have already configured custom domain name for my repository so it s showing my custom domain name but in your case it will show your username github io.
You can also use this method for jekyll blogs. It is also important for seo. We will be pointing our domain to github s ip addresses.
Here you will see a message displaying that your site is published at username github io note. But having a unique domain name adds credibility to your product or service. Let github pages know your custom domain go to your github repository settings page.
Next you ll want to go back to the manage dns page we have been using previously may be different on other domain register sites and add a new cname record. Update domain s dns from cloudflare. Go to dns custom resource records.
This is a lot easier to do as it seems. Click on the advanced dns tab and find the host records section. Add you custom domain name at settings github pages custom domain.