Since CNAME resolution generally does not support the top-level domain name, that is, the domain name of xxx.com, we must find a way to resolve it to type A, that is, resolve it to the IP address.
Post a feeling that I just parsed: http://fafuli.club/test.html, original address: http://wucao.gitcafe.io/test.html
This method also applies to GitHub!
First find the IP address corresponding to xxx.gitcafe.io
You can use Windows ping command:
Set up A domain name resolution
Fill in the record value with the IP address obtained in the previous step
Since CNAME resolution generally does not support the top-level domain name, that is, the domain name of xxx.com, we must find a way to resolve it to type A, that is, resolve it to the IP address.
Post a feeling that I just parsed: http://fafuli.club/test.html, original address: http://wucao.gitcafe.io/test.html
This method also applies to GitHub!
First find the IP address corresponding to xxx.gitcafe.io
You can use Windows ping command:
Set up A domain name resolution
Fill in the record value with the IP address obtained in the previous step
Configure the xxx.com domain name on gitcafe
Gitcafe
没试过,不过Github Pages
是完全没有限制的,cname
是去你的域名提供商哪里进行绑定解析的,我用的的是DNSPOD
, putResolved
Www operates as you want. For domain name resolution, the two are equivalent.
This approach is not allowed in the RFC standard, but many DNS implementations support binding CNAME on top-level domain names...
http://serverfault.com/questions/613829/why-cant-a-cname-record-be-used-at-the-apex-aka-root-of-a-domain