Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use dot.tk domain with GitHub Pages?

I have registered a free domain from dot.tk, but I want to link it with github pages:

username.github.io/PROname/v1/

to

PROname.tk

I have seen this document: https://help.github.com/articles/quick-start-setting-up-a-custom-domain, but that's not sufficiently helpful with my case.

like image 414
A. El-zahaby Avatar asked May 20 '17 04:05

A. El-zahaby


People also ask

How do I link my domain to GitHub Pages?

On GitHub, navigate to your site's repository. Under your repository name, click Settings. In the "Code and automation" section of the sidebar, click Pages. Under "Custom domain", type your custom domain, then click Save.

Does GitHub Pages support custom domain?

You can customize the domain name of your GitHub Pages site. GitHub Pages is available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server.

Can you host a domain on GitHub?

Did you know that Github will allow anyone to host their static webpages for free? The best part is that you can even use your own custom domain.


2 Answers

Steps:

  1. Login to freenom.com
  2. Go to Services -> My Domains -> Manage Domain
  3. Management Tools -> Nameservers
  4. Select Use default nameservers (Freenom Nameservers)
  5. Now Go To Manage Freenom DNS

Set as per Below Image.

Note: The IP addresses mentioned in the screenshot are outdated. When setting A records, use the IP addresses mentioned in Github docs

See the Image

like image 123
Rahul Shukla Avatar answered Sep 23 '22 16:09

Rahul Shukla


One of the best way to do this is changing your dns provider. Just create an account at http://cloudflare.com/ and add your domain there.

You can add a Cname record to point the dns server to your username.github.io and everything will work perfectly

See my own website: example

like image 40
Gautam Krishna R Avatar answered Sep 19 '22 16:09

Gautam Krishna R