zangwhe

 

步骤一 github仓库创建

    前提:GIthub账号

    点击跳转Github仓库创建界面

    

 

    

 

 

 

 

步骤二 新建index.html

 将以下代码修改后粘贴到index.html文件中

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
    <script>
        //引号内换成你想跳转的链接
        window.location.href = "https://www.cnblogs.com/zangwhe/"
    </script>
</body>
</html>

 

 

步骤三 新建CANAME文件

 

 

步骤四 设置Github Pages

步骤五 域名解析

(以腾讯云购买的域名为例)

腾讯云控制台链接

 

添加两条记录

 

记录1

 

 

 记录2

 

 结果(可能需要等待一段时间)

 

 步骤六 备注

 ① Github成功界面

 

等待解析可能需要等待一段时间

③到这就结束了

 

 


有任何问题欢迎评论区讨论

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-08-27
  • 2021-05-12
  • 2022-02-09
  • 2021-10-19
  • 2022-12-23
  • 2021-05-20
猜你喜欢
  • 2021-05-26
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2021-08-30
  • 2021-10-21
  • 2022-12-23
相关资源
相似解决方案