vivianwenwen

如何访问github.io类的网站

1.为什么访问不了github.io类的网站:

上网查找后看到有两种说法:

  1. DNS的问题:DNS污染(域名指向不正确的IP地址)
  2. github.io禁止中国的ip

2.如何访问

(参考:https://tieba.baidu.com/p/6865126778

通过https://www.ipaddress.com/链接查找到github.io的IP地址,一般是四个地址任选一个;

找到/etc/hosts文件,Windows一般在/Windows/System32/drivers/etc目录下,MAC在/private/etc目录下,添加一行,例如要访问:http://crmsh.github.io/

则在hosts添加:

189.199.108.153 crmsh.github.io

 

分类:

技术点:

相关文章:

  • 2021-12-26
  • 2021-11-29
  • 2021-09-05
  • 2021-06-05
  • 2021-12-02
  • 2021-04-15
  • 2021-11-11
  • 2021-12-26
猜你喜欢
  • 2021-11-06
  • 2021-08-15
  • 2021-08-07
  • 2021-07-11
  • 2021-10-12
  • 2021-11-03
  • 2021-08-25
相关资源
相似解决方案