笔良文昌

笔为良,则文者昌


  • 首页

  • 归档

  • 关于

  • 标签

Github上的Hexo博客绑定个性域名

发表于 Nov 24 2014   |  

Godaddy注册一个域名

“论如何在Godaddy注册一个域名”

Godaddy域名绑定到DNSPod

详见DNSPod官方帮助页面:Godaddy注册商域名修改DNS地址

DNSPod上设置域名的DNS

首先找到GitHub的两个IP地址:192.30.252.153、 192.30.252.154
然后在DNSPod设置域名。

在Hexo博客设置CNAME

在博客源文件./source下创建一个文件名是CNAME的文本文件,该文件内容只有一行,就是你注册的域名。
例如:

noclyt.com

然后把Hexo发布到Github。

完成

因为服务器同步需要一会,所以访问出现Github的404页面是正常的。大约等十分钟即可。

Hello World

发表于 Nov 24 2014   |  

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in trobuleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

12
noclyt

noclyt

唯一能逃避的仅仅是逃避本身

12 日志
9 标签
RSS
GitHub Twitter 微博 知乎
Links
  • SumyBlog
© 2014 - 2018 noclyt
由 Hexo 强力驱动
主题 - NexT.Pisces