简体   繁体   English

删除 Github 上的 CNAME

[英]Removing CNAME on Github

How do I stop my Github webpage from redirecting to an expired CNAME URL?如何阻止我的 Github 网页重定向到过期的 CNAME URL? I know it takes time, but my Github page has not stopped redirecting even after 1.5 days.我知道这需要时间,但我的 Github 页面即使在 1.5 天后也没有停止重定向。 I am asking to find out if there's any step I missed (all I did was delete the CNAME file), If there's no step I'm missing?我想知道是否有任何我遗漏的步骤(我所做的只是删除 CNAME 文件),如果没有我遗漏的步骤? how long does it usually take to stop redirecting.停止重定向通常需要多长时间。 I really need my page to be available soon since it is recruiting season.由于现在是招聘季节,我真的需要我的页面尽快可用。 Please help!请帮忙!

You can clear the custom domain field. 您可以清除自定义域字段。 Let it remain empty. 让它保持空虚。 Then click the save button. 然后单击“保存”按钮。 Then clear cache of your browser or open in another browser / incognito mode. 然后清除浏览器的缓存或以其他浏览器/隐身模式打开。 You will see the difference. 你会看到差异。

You could achieve this by following 2 steps, 您可以通过以下两个步骤实现此目的,

  1. Delete the CNAME file from git folder (git rm CNAME), and have your git updated. 从git文件夹(git rm CNAME)中删除CNAME文件,并更新您的git。
  2. From your domain provider, remove any DNS settings (Custom CNAME) that you have for the specified domain. 从您的域名提供商处,删除您对指定域名的任何DNS设置(自定义CNAME)。

These are the steps, I followed to get it working correctly. 这些是我遵循的步骤,以使其正常工作。

You should clear your browser cache.您应该清除浏览器缓存。 Because your browser has saved memory to redirect to the cname site every time you open the github page link.因为你的浏览器保存了 memory 每次打开 github 页面链接时重定向到 cname 站点。

Another solution is that you can open the github page link with another browser.另一种解决方案是,您可以用其他浏览器打开github页面链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM