尝试通过 /etc/hosts 了解更多
Try to understand a bit more with /etc/hosts
目标
在浏览器输入wiki.me(一个park域名),会跳转到198.35.26.96(en.wikipedia.org的ip),最终显示en.wikipedia.org
使用 ubuntu 14.10 并且我添加了
198.35.26.96 wiki.me wiki 至 /etc/hosts。我测试了它,它似乎不起作用。
I added 198.35.26.96 wiki.me wiki to /etc/host
你说的是198.35.26.96(是en.wikipedia.org的ip),但是是WIKIMEDIA
Type wiki.me (a park domain) in web browser, will direct to
198.35.26.96 (which is the ip of en.wikipedia.org), then eventually display content in en.wikipedia.org
如果您希望点击 wiki.me 时会出现 en.wikipedia.org,有 2 种方法:
服务器上的重定向,为wiki.me
服务
代理服务器上从wiki.me到en.wikipedia.org的所有查询,服务于wiki.me
从 198.35.26.96 wiki.me wiki 中删除 wiki 并确保没有 # 在这一行
目标
在浏览器输入wiki.me(一个park域名),会跳转到198.35.26.96(en.wikipedia.org的ip),最终显示en.wikipedia.org
使用 ubuntu 14.10 并且我添加了 198.35.26.96 wiki.me wiki 至 /etc/hosts。我测试了它,它似乎不起作用。
I added 198.35.26.96 wiki.me wiki to /etc/host
你说的是198.35.26.96(是en.wikipedia.org的ip),但是是WIKIMEDIA
Type wiki.me (a park domain) in web browser, will direct to 198.35.26.96 (which is the ip of en.wikipedia.org), then eventually display content in en.wikipedia.org
如果您希望点击 wiki.me 时会出现 en.wikipedia.org,有 2 种方法:
服务器上的重定向,为wiki.me
服务
代理服务器上从wiki.me到en.wikipedia.org的所有查询,服务于wiki.me
从 198.35.26.96 wiki.me wiki 中删除 wiki 并确保没有 # 在这一行