Custom domain for github using internet resources
I am trying to set up dns for my domain to target one of my pages on github
I am currently using https://internetbs.net for domains, but I cannot set it up correctly.
I tried to find a solution but no luck.
source to share
I also use internet ports for my domains and host on github pages. This is how I got it working:
From Github On your github page branch (master for user github page or gh-pages if it is a project page) create a CNAME file. It only contains your domain, i.e.
thedomainyouhavebought.com
And commit this file (you can check it related in repo settings under github pages.
From Internetbs.net, log into internetbs . Select your domain and go to the "DNS Management" section. Here I am setting both A records and CNAME records.
In A Records, leave the name blank, and in the IP section, enter it:
192.30.252.152
Add another A record that points to:
192.30.252.153
In the CNAME section, add an alias www
and then enter the location of the node in GitHub, for example if it is a github user site that you type
username.github.io
It took me about 10 minutes to update.
You can check its associated input of the following to your terminal:
dig thedomainyouhavebought.com.
In the answers section, you will see a link to the github pages.
for more details https://help.github.com/articles/about-custom-domains-for-github-pages-sites/ https://help.github.com/articles/setting-up-a-custom- domain-with-github-pages /
source to share