简体   繁体   English

如何在 GitHub Pages 中使用 dot.tk 域?

[英]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:我已经从 dot.tk 注册了一个免费域,但我想将它与 github 页面链接:

username.github.io/PROname/v1/用户名.github.io/PROname/v1/

to

PROname.tk 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.我看过这个文档: https : //help.github.com/articles/quick-start-setting-up-a-custom-domain ,但这对我的案例帮助不大。

Steps:步骤:

  1. Login to freenom.com登录 freenom.com
  2. Go to Services -> My Domains -> Manage Domain转到服务 -> 我的域 -> 管理域
  3. Management Tools -> Nameservers管理工具 -> 域名服务器
  4. Select Use default nameservers (Freenom Nameservers)选择使用默认名称服务器(Freenom Nameservers)
  5. Now Go To Manage Freenom DNS现在去管理 Freenom DNS

Set as per Below Image.按照下图设置。

Note: The IP addresses mentioned in the screenshot are outdated.注意:屏幕截图中提到的 IP 地址已过时。 When setting A records, use the IP addresses mentioned in Github docs设置A记录时,使用Github docs中提到的IP地址

看图片

One of the best way to do this is changing your dns provider.最好的方法之一是更改您的 dns 提供商。 Just create an account at http://cloudflare.com/ and add your domain there.只需在http://cloudflare.com/创建一个帐户并在那里添加您的域即可。

You can add a Cname record to point the dns server to your username.github.io and everything will work perfectly您可以添加一个 Cname 记录将 dns 服务器指向您的 username.github.io,一切都会完美运行

See my own website:看我自己的网站: 例子

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM