<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="https://shaozk.xyz/feed_style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <tabi:metadata xmlns:tabi="https://github.com/welpo/tabi">
        <tabi:base_url>https:&#x2F;&#x2F;shaozk.xyz</tabi:base_url>
        <tabi:separator>
            •
        </tabi:separator>
        <tabi:about_feeds>This is a web feed, also known as an Atom feed. Subscribe by copying the URL from the address bar into your newsreader. Visit About Feeds to learn more and get started. It&#x27;s free.</tabi:about_feeds>
        <tabi:visit_the_site>Visit website</tabi:visit_the_site>
        <tabi:recent_posts>Recent posts</tabi:recent_posts>
        <tabi:last_updated_on>Updated on $DATE</tabi:last_updated_on>
        <tabi:default_theme></tabi:default_theme>
        <tabi:post_listing_date>date</tabi:post_listing_date>
        <tabi:current_section>blog</tabi:current_section>
    </tabi:metadata><title>shaozk - blog</title>
    <link href="https://shaozk.xyz/tags/blog/atom.xml" rel="self" type="application/atom+xml"/>
    <link href="https://shaozk.xyz/tags/blog/" rel="alternate" type="text/html"/>
    <generator uri="https://www.getzola.org/">Zola</generator><updated>2026-07-05T00:00:00+00:00</updated><id>https://shaozk.xyz/tags/blog/atom.xml</id><entry xml:lang="en">
        <title>GitHub Pages 使用自己的域名</title>
        <published>2026-07-05T00:00:00+00:00</published>
        <updated>2026-07-05T00:00:00+00:00</updated>
        <author>
            <name>shaozk</name>
        </author>
        <link rel="alternate" href="https://shaozk.xyz/blog/004-add-domain-for-github-pages/" type="text/html"/>
        <id>https://shaozk.xyz/blog/004-add-domain-for-github-pages/</id>
        
            <content type="html">&lt;p&gt;废了老大半天劲，终于在 GitHub Page 上使用上自定义域名 &lt;a rel=&quot;external&quot; href=&quot;https:&#x2F;&#x2F;shaozk.xyz&#x2F;&quot;&gt;shaozk.xyz&lt;&#x2F;a&gt; 了。&lt;&#x2F;p&gt;
&lt;p&gt;下面是踩坑步骤：&lt;&#x2F;p&gt;
&lt;h2 id=&quot;can-kao-bie-ren-bo-ke-jiu-neng-cheng-gong&quot;&gt;参考别人博客就能成功&lt;&#x2F;h2&gt;
&lt;blockquote&gt;
&lt;p&gt;这是我按照并成功配置的博客，很棒！
之前还参考了其他很多不错的文章，不过当时都没有成功，就不贴链接了吧。&lt;&#x2F;p&gt;
&lt;&#x2F;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a rel=&quot;external&quot; href=&quot;https:&#x2F;&#x2F;blog.csdn.net&#x2F;qq_34902437&#x2F;article&#x2F;details&#x2F;140298754&quot;&gt;【教程】Github Page 添加自定义域名&lt;&#x2F;a&gt;&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;p&gt;按照博客中的步骤一步步来就能成功，不过我的域名是在阿里云买的，界面有些不一样，不过原理是想通的。&lt;&#x2F;p&gt;
&lt;h2 id=&quot;geng-zhong-yao-de-shi-xue-xi-dao-zuo-liao-shen-me&quot;&gt;更重要的是学习到做了什么&lt;&#x2F;h2&gt;
&lt;blockquote&gt;
&lt;p&gt;DeepSeek&lt;&#x2F;p&gt;
&lt;&#x2F;blockquote&gt;
&lt;p&gt;GitHub 提供了一个免费域名 https:&#x2F;&#x2F;shaozk.github.io 和对应的服务器，我要做的事情是将自定义域名映射到服务器上去。&lt;&#x2F;p&gt;
&lt;p&gt;在这之前需要在 GitHub 上进行域名验证，可以理解为这是为了确保你是域名的拥有者。操作方法是在域名上增加一条 TXT 记录，证明你确实拥有该域名的控制权。&lt;&#x2F;p&gt;
&lt;p&gt;可以在谷歌浏览器中 chrome:&#x2F;&#x2F;net-internals&#x2F;#dns 查看 DNS 解析结果。&lt;&#x2F;p&gt;
&lt;h2 id=&quot;wei-shen-me-ke-xing&quot;&gt;为什么可行？&lt;&#x2F;h2&gt;
&lt;p&gt;不是很理解整个流程，或许就先这样吧。反正已经配置通过了 :)&lt;&#x2F;p&gt;
</content>
        </entry>
</feed>
