mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4436] 问题: 设置Subdomain使用上遇到了问题 #3503
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3503
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AL-Pinecore on GitHub (Sep 13, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4436
Bug Description
我尝试设置自定义二级域名服务用来访问内网服务器的多个http服务,但是我配置完成在浏览器进入其中一个二级域名的时候,浏览器告诉我该网页无法正常运作(Error Code 503),DNS解析是 *.domain.cn 内容:(frps服务器公网ip)
frpc Version
0.60.0
frps Version
0.60.0
System Architecture
frps:Debian11, frpc:Ubuntu20.04.06
Configurations
(frps)
bindAddr = "0.0.0.0"
bindPort = 13052
auth.method = "token"
auth.token = "token"
webServer.addr = "0.0.0.0"
webServer.port = 23679
webServer.user = "user"
webServer.password = "pwd"
#tls
#transport.tls.force = true
#transport.tls.certFile = "/etc/frp/ssl/server.crt"
#transport.tls.keyFile = "/etc/frp/ssl/server.key"
#transport.tls.trustedCaFile = "/etc/frp/ssl/ca.crt"
subdomainHost = "domain.cn"
vhostHTTPSPort = 6001
vhostHTTPPort = 6002
(frpc)
serverAddr = "serverIP"
serverPort = 13052
auth.method = "token"
auth.token = "token"
webServer.addr = "0.0.0.0"
webServer.port = 23679
webServer.user = "user"
webServer.password = "pwd"
webServer.pprofEnable = false
#tls
#transport.tls.certFile = "/etc/frp/ssl/client.crt"
#transport.tls.keyFile = "/etc/frp/ssl/client.key"
#transport.tls.trustedCaFile = "/etc/frp/ssl/ca.crt"
proxies
name = "a"
type = "http"
localPort = 12805
subdomain = "a"
proxies
name = "b"
type = "http"
localPort = 23333
subdomain = "b"
proxies
name = "c"
type = "tcp"
localPort = 47382
remotePort = 31798
Logs
No response
Steps to reproduce
Affected area
@xqzr commented on GitHub (Sep 13, 2024):
似乎没有命中 frps。
尝试访问 http://a.domain.cn:6002
@AL-Pinecore commented on GitHub (Sep 13, 2024):
我试了一下,似乎不行
@AL-Pinecore commented on GitHub (Sep 13, 2024):
如果直接通过ip+端口访问的话,弹出来了个页面:
The page you requested was not found.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
The server is powered by frp.
Faithfully yours, frp.
@AL-Pinecore commented on GitHub (Sep 14, 2024):
现在访问a.domain.cn,浏览器告诉我ERR_CONNECTION_REFUSED
@AL-Pinecore commented on GitHub (Sep 14, 2024):
解决了,把vhostHTTPPort改成80就没事了