码迷,mamicode.com
首页 > 其他好文 > 详细

github pages 添加godaddy的dns解析

时间:2016-08-05 15:43:10      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:

转自: http://andrewsturges.com/blog/jekyll/tutorial/2014/11/06/github-and-godaddy.html

 

I own a custom domain through GoDaddy.com that I want to use for my user page at arsturges.github.io.

Github.io offers a neat, free hosting option. I had no trouble setting up a site at arsturges.github.io, but I found the custom URL documentation to be unclear. Below, I‘ll explain how I set up my github.io user page with my GoDaddy.com domain name andrewsturges.com.

In brief, the steps are as follows:

  1. Set up my user page arsturges.github.io
  2. Commit a file called CNAME with one line: andrewsturges.com
  3. Go to GoDaddy site to manage my URL
  4. Add an "A (Host)" record with "host" = @ and "Points to" = 192.30.252.153
  5. Add a "CNAME (Alias)" record with "host" = www and "Points to" = arsturges.github.io
  6. Wait for changes to propogate.

 

 

When the DNS updates, you should be able to navigate to your custom domain and see your pages.github.io page. You can check your work with the following command, and compare to my results:

技术分享

 

 

 

github pages 添加godaddy的dns解析

标签:

原文地址:http://www.cnblogs.com/pinganzi/p/5741068.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!