当前位置:首页 - Linux

Linux如何修改host

作者:高景洋 日期:2020-02-24 13:32:48 浏览次数:1810

sudo vi /etc/hosts


然后,向host 中,添加内容即可

本文永久性链接:
<a href="http://r4.com.cn/art129.aspx">Linux如何修改host</a>
当前header:Host: r4.com.cn X-Host1: r4.com.cn X-Host2: r4.com.cn X-Host3: 127.0.0.1:8080 X-Forwarded-For: 3.14.249.191 X-Real-Ip: 3.14.249.191 X-Domain: r4.com.cn X-Request: GET /art129.aspx HTTP/1.1 X-Request-Uri: /art129.aspx Connection: close Accept: */* User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) Accept-Encoding: gzip, br, zstd, deflate