-
Notifications
You must be signed in to change notification settings - Fork 13
/
zhong-yu-you-liao-zi-ji-de-yu-ming.html
165 lines (128 loc) · 6.69 KB
/
zhong-yu-you-liao-zi-ji-de-yu-ming.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>lizherui's world</title>
<meta name="description" content="">
<meta name="author" content="lizherui">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://lizherui.github.io/theme/html5.js"></script>
<![endif]-->
<!-- Le styles -->
<link href="http://lizherui.github.io/theme/bootstrap.min.css" rel="stylesheet">
<link href="http://lizherui.github.io/theme/bootstrap.min.responsive.css" rel="stylesheet">
<link href="http://lizherui.github.io/theme/local.css" rel="stylesheet">
<link href="http://lizherui.github.io/theme/pygments.css" rel="stylesheet">
</head>
<body>
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="http://lizherui.github.io">lizherui's world</a>
<div class="nav-collapse">
<ul class="nav">
<li><a href="http://lizherui.github.io/pages/about.html">About</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<div class="content">
<div class="row">
<div class="span9">
<div class='article'>
<div class="content-title">
<h1>终于有了自己的域名</h1>
2013-08-01
by <a class="url fn" href="http://lizherui.github.io/author/lizherui.html">lizherui</a>
</div>
<div><p>今天折腾了半天,终于搞定了自己的独立域名:<a href="http://www.lizherui.com">http://www.lizherui.com</a></p>
<p>整个过程颇为曲折:</p>
<ol>
<li>去<a href="https://www.godaddy.com">https://www.godaddy.com</a>上用支付宝花80多块钱购买为期一年的顶级域名,并去修改Nameservers为这两个地址:f1g1ns1.dnspod.net、f1g1ns2.dnspod.net。</li>
<li>去<a href="https://www.dnspod.cn">https://www.dnspod.cn</a>上添加新域名,并申请一条A记录指向Github Pages的ip:207.97.227.245;</li>
<li>在Pelican主目录新建CNAME文件,添上刚刚申请的域名:www.lizherui.com。</li>
</ol>
<p>有了独立域名后,感觉非常爽,更加坚定地好好打理这个博客的决心。</p></div>
<hr>
<h2>Comments</h2>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'lizherui';
var disqus_title = '终于有了自己的域名';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</div>
</div>
<div class="span3">
<div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
<ul class="nav nav-list">
<li class="nav-header">
Site
</li>
<li><a href="http://lizherui.github.io/archives.html">Archives</a>
<li><a href="http://lizherui.github.io/tags.html">Tags</a>
<li><a href="http://lizherui.github.io/feeds/all.rss.xml" rel="alternate">RSS feed</a></li>
</ul>
</div>
<div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
<ul class="nav nav-list">
<li class="nav-header">
Categories
</li>
<li><a href="http://lizherui.github.io/category/life.html">Life</a></li>
<li><a href="http://lizherui.github.io/category/tech.html">Tech</a></li>
<li><a href="http://lizherui.github.io/category/work.html">Work</a></li>
</ul>
</div>
<div class="social">
<div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
<ul class="nav nav-list">
<li class="nav-header">
Social
</li>
<li><a href="https://github.com/lizherui">Github</a></li>
<li><a href="https://twitter.com/lzrak47">Twitter</a></li>
<li><a href="https://www.facebook.com/profile.php?id=100004875786021">Facebook</a></li>
<li><a href="http://www.linkedin.com/profile/view?id=232391796">Linkedin</a></li>
<li><a href="http://weibo.com/lzrm4a1">Weibo</a></li>
<li><a href="http://www.zhihu.com/people/li-zhe-rui">Zhihu</a></li>
</ul>
</div>
</div>
<div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
<ul class="nav nav-list">
<li class="nav-header">
Links
</li>
<li><a href="https://www.google.com/ncr">Google</a></li>
<li><a href="http://python.org/">Python</a></li>
<li><a href="http://docs.getpelican.com/">Pelican</a></li>
</ul>
</div>
</div>
</div> </div>
<footer>
<br />
<p><a href="http://lizherui.github.io">lizherui's world</a> © lizherui 2013</p>
</footer>
</div> <!-- /container -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-collapse.js"></script>
<script>var _gaq=[['_setAccount','UA-42648273-1'],['_trackPageview']];(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)}(document,'script'))</script>
<a href="https://github.com/lizherui"><img style="position: absolute; top: 40px; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub" /></a>
</body>
</html>