mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #920] 是否支持三级域名 #728
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#728
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 @zhangruhong on GitHub (Sep 12, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/920
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
最新版
What operating system and processor architecture are you using (
go env)?服务器为centos7.3
Configures you used:
相同frps 只是添加了frpc的配置[sub-smart-anshan]
[smart-anshan]
type = http
local_ip = 172.16.1.101
local_port = 80
use_encryption = false
use_compression = true
subdomain = smart-anshan
[sub-smart-anshan]
type = http
local_ip = 172.16.1.101
local_port = 80
use_encryption = false
use_compression = true
subdomain = sub.smart-anshan
sub.smart-anshan.xxxx.com始终停留在

请问是否支持三级域名?如何配置才能生效
@ityc commented on GitHub (Sep 18, 2018):
和几级域名 没有 关系的
@SenLief commented on GitHub (Sep 22, 2018):
3级域名肯定是可以的,因为我自己就是三级的,我也会出现这个界面,主要是因为端口有问题,每次都拒绝链接了,好像是服务器的问题,每次都要重启server
@hylyLLL commented on GitHub (May 19, 2021):
确定吗?
我配置三级的时候,直接都报错了。
[W] [control.go:142] [monitor_dca632dcf62f_102] start error: proxy [monitor_dca632dcf62f_102] domain conf check error: '.' and '*' is not supported in subdomain
@fatedier commented on GitHub (May 19, 2021):
@hylyLLL 可以使用 custom_domain,subdomain 的后缀不是由 frpc 的配置控制,不能有
.和*号。@hylyLLL commented on GitHub (May 19, 2021):
如果我使用subdomain,能不能够映射多个域名呢
例如:
subdomain=test1,test2,test3
这样子
@fatedier commented on GitHub (May 19, 2021):
不支持,subdomain 只是方便使用,custom_domains 可以支持多个。