samaxu
V2EX  ›  问与答

github 上 jekyll 删除了 CNAME,访问 username.github.io 仍然跳转至原来的自定义域名

  •  1
     
  •   samaxu · Jun 25, 2018 · 2134 views
    This topic created in 2973 days ago, the information mentioned may be changed or developed.
    原来绑定了个域名,现在域名到期了,也不想续费了,删除了 CNAME,可是访问博客仍然会跳转至原来的自定义域名
    github 上也显示 Your site is published at https://wintry.github.io/

    有没有大佬知道为什么


    发出来就发现自己手机能访问,但电脑 chorme 就会跳转,这是什么原理啊
    5 replies    2018-06-25 10:53:49 +08:00
    fengyj
        1
    fengyj  
       Jun 25, 2018 via Android   ❤️ 1
    dns 生效需要时间的,这不,现在访问就不会跳转了。
    samaxu
        2
    samaxu  
    OP
       Jun 25, 2018
    @huiyifyj #1 谢谢
    最后发现是浏览器缓存问题,清楚了就可以了。。。。。
    yukiww233
        3
    yukiww233  
       Jun 25, 2018   ❤️ 1
    可能是 dns 缓存生效时间
    也可能是 gitpage 用的 301 重定向(?) chrome 会缓存这个重定向
    samaxu
        4
    samaxu  
    OP
       Jun 25, 2018
    @yukiww233 #3 解决了,谢谢
    samaxu
        5
    samaxu  
    OP
       Jun 25, 2018
    已解决,那就顺势推广下 blog,虽然现在没啥内容
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   877 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 21:52 · PVG 05:52 · LAX 14:52 · JFK 17:52
    ♥ Do have faith in what you're doing.