别总是想着 localhost 了,给大家个域名,让大家测试的时候更加有活力

2022-03-31 10:24:20 +08:00
 xsir2020
解析个 makelove.vip 到 127.0.0.1 让大家测试的时候更加有活力

泛解析 makelove.vip 127.0.0.1


PS C:\Users\aaa> ping www.makelove.vip

正在 Ping www.makelove.vip [127.0.0.1] 具有 32 字节的数据:

来自 127.0.0.1 的回复: 字节=32 时间<1ms TTL=128

来自 127.0.0.1 的回复: 字节=32 时间<1ms TTL=128

来自 127.0.0.1 的回复: 字节=32 时间<1ms TTL=128
12474 次点击
所在节点    分享创造
65 条回复
AllenHua
2022-03-31 11:31:50 +08:00
有些人是不是有些误解,为啥还要买?

我高兴的话 甚至可以把 google.com 解析到 127.0.0.1 这不随便选

```
PS C:\Users\dk> ping a.com

Pinging a.com [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
```

嘿嘿 现在 a.com 是我的了
sunny2580839896
2022-03-31 11:32:09 +08:00
win10 可以设置 127.0.0.1 *.localhost.com 吗
coolair
2022-03-31 11:37:17 +08:00
怕是不知道有个 https://nip.io/ 吧?!
lower
2022-03-31 11:37:38 +08:00
host
www.gov.cn 127.0.0.1
fgwmlhdkkkw
2022-03-31 11:51:40 +08:00
0.0
also24
2022-03-31 11:55:29 +08:00
这个不会触发 DNS Rebinding 保护么?
sunny2580839896
2022-03-31 11:56:20 +08:00
@coolair #23 这个好
des
2022-03-31 12:09:24 +08:00
所以我没网的话该怎么用?
daveh
2022-03-31 12:34:47 +08:00
@jasondennis12139 不要在意一次 ping 的时间,你可以一直 ping 下去,i can do this all day… 爽呀。
Tink
2022-03-31 12:44:32 +08:00
天才啊哈哈哈
yongboy
2022-03-31 13:02:15 +08:00
MacOS 或 Linux 下,试试 hello.lvh.me ,当然可以随意来一个 *.lvh.me 三级域名。
当然,直接输入 lvh.me 也可以。

这个域名是不需要手动配置解析的,系统自动给你解析到了 127.0.0.1
belin520
2022-03-31 13:04:07 +08:00
@Rache1 #16 这... ... 可能输入 http://localhost:8088 来的更快一下
tulongtou
2022-03-31 13:05:01 +08:00
我还要配置 https ,楼主再给我来一套 ssl 证书吧 🐶
Bingchunmoli
2022-03-31 13:11:01 +08:00
我自己也有,上 v2 的都有几个吧,我都分 https 列表和没进入的
coolzjy
2022-03-31 13:11:55 +08:00
localhost 已经是约定俗成了,非要用个域名,证书、跨域都是问题,干嘛非要给自己找不痛快呢。
imaning
2022-03-31 13:37:24 +08:00
难道你们不知道 127.0.0.1 ,127.0.0.2 以此类推可以分开用的吗?
lovelylain
2022-03-31 13:55:05 +08:00
@Rache1 试了一下,win10 不行,archlinux 可以,arch 里的 centos 容器 不行。
Felldeadbird
2022-03-31 14:37:56 +08:00
不好意思用啊。我一般都是 www.a.com 这种短小来测试。
Ljcbaby
2022-03-31 14:57:58 +08:00
@jobmailcn #37 好像要 DNS 指向本机( dig 从 127.0.0.1 )开始
deplivesb
2022-03-31 15:07:29 +08:00
不好意思,我们的 dns 重定向保护把这种给干掉了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/844029

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX