内容简介:To set up a
https://help.github.com/en/articles/adding-or-removing-a-custom-domain-for-your-github-pages-site
配置 www 域名
To set up a www
subdomain , such as www.example.com
you must configure a CNAME
record with your DNS provider.
警告:如果您的域启用了 HTTPS 强制实施,GitHub Pages 的服务器将不会自动路由重定向。您必须使用 www 域名注册商配置子域名和根域重定向。
开启 https
https://help.github.com/en/articles/securing-your-github-pages-site-with-https https://help.github.com/en/articles/setting-up-an-apex-domain
- 添加
A
记录,至少有一条A
指向以下ip
地址。 - 添加
www
的CNAME
记录,指向 github pages 地址。
185.199.108.153 185.199.109.153 185.199.110.153 185.199.111.153
如果 Enforce HTTPS
不可开启,先把 Custom domain
清空保存,再填入之前的地址,如 www.iosdevlog.com
,等上 1,2 分钟应该就可以开启 https
了。
测试一下
输入www.iosdevlog.com 和iosdevlog.com 都会跳转到 https://www.iosdevlog.com/
参考: https://help.github.com/en/articles/using-a-custom-domain-with-github-pages
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Inside the C++ Object Model
Stanley B. Lippman / Addison-Wesley Professional / 1996-5-13 / USD 64.99
Inside the C++ Object Model focuses on the underlying mechanisms that support object-oriented programming within C++: constructor semantics, temporary generation, support for encapsulation, inheritanc......一起来看看 《Inside the C++ Object Model》 这本书的介绍吧!