10

有那种访问域名,但域名内容是自己自定义网址的方法吗?

 2 years ago
source link: https://www.v2ex.com/t/910614
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  问与答

有那种访问域名,但域名内容是自己自定义网址的方法吗?

  tans0008 · 21 分钟前 via iPhone · 80 次点击
也就是这个域名 80 端口内容就是 http://xxxx.xxx:1234/jssd
的内容,这个域名也需要是 http 协议,但是内容代理上诉的内容,且不需要服务器反带不需要跳转,在域名解析方面就能实现的方法有吗?
5 条回复    2023-01-25 18:52:50 +08:00
tans0008

tans0008      20 分钟前 via iPhone

然后这个也尽可能要支持 websocket
opengps

opengps      13 分钟前

虚拟站点(二级站点)的用法, 在 asp 时代很常见,现在这么用的不多了
tans0008

tans0008      12 分钟前 via iPhone

或者就是域名使用 80 端口 http 代理了 http://xxxx.xxx:1234/ 这个链接,且支持 websocket
snw

snw      8 分钟前 via Android

你需要的可能是 URL 记录,但这本质上并不是通用记录类型,本质上只是 DNS 服务商的服务器帮你完成 301 跳转或者 iframe 嵌套。

https://docs.dnspod.cn/dns/help-redirect-url/

更大的问题是这种转发 /嵌套与主流浏览器的安全设计冲突较大,也不太符合境内实名制要求,所以很少用。
OutOfMemoryError

OutOfMemoryError      7 分钟前

说实话我现在看到用 xxx 举例子的域名我就想起 xxx.com
= =都有阴影了

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK