gpt4 book ai didi

dns - Gitlab 自定义域,验证域所有权失败

转载 作者:行者123 更新时间:2023-12-04 13:30:33 29 4
gpt4 key购买 nike

我认为我不需要使用子域。我已经按照 namecheap.com 上的文档建议创建了 A 记录和 TXT 记录。等了24小时后,我还是收到了failed to verify domain ownership错误。

namechap DNS config

gitlab pages custom domain

最佳答案

删除您的 CNAME记录。此外,删除 URL 重定向和您的第一个 TXT记录。你不应该同时使用 CNAMEA一起记录。

If using a DNS A record, you can place the TXT record directly under the domain. If using a DNS CNAME record, the two record types won't co-exist, so you need to place the TXT record in a special subdomain of its own. [source]



所以你的最终配置是:
A Record        @   52.167.214.135
TXT Record @ gitlab-pages-verification-code=XXXXXX

引用: https://medium.freecodecamp.org/how-to-add-an-ssl-certificate-and-custom-namecheap-domain-to-a-gitlab-pages-site-323f8f3ce642

关于dns - Gitlab 自定义域,验证域所有权失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49124018/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com