[GH-ISSUE #1541] 求教如何自定义三级、四级域名? #1218

Closed
opened 2026-05-05 12:46:53 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @tomalloc on GitHub (Nov 27, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1541

我定义了1个一级域名,如何在frpc中配置三级或四级域名?

Originally created by @tomalloc on GitHub (Nov 27, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1541 我定义了1个一级域名,如何在frpc中配置三级或四级域名?
Author
Owner

@RayXu14 commented on GitHub (Nov 27, 2019):

你首先要把三级、四级域名映射到你对应的服务器IP地址,这和frpc无关,在frpc中只需要把对应域名写对就行,参见frp的文档中的样例。

以aws为例,你需要在 https://console.aws.amazon.com/route53/home#hosted-zones: 中选择对应域名进行管理,创建一个记录集,填入你希望设置的多级域名和希望映射的IP就好

<!-- gh-comment-id:558906954 --> @RayXu14 commented on GitHub (Nov 27, 2019): 你首先要把三级、四级域名映射到你对应的服务器IP地址,这和frpc无关,在frpc中只需要把对应域名写对就行,参见frp的文档中的样例。 以aws为例,你需要在 https://console.aws.amazon.com/route53/home#hosted-zones: 中选择对应域名进行管理,创建一个记录集,填入你希望设置的多级域名和希望映射的IP就好
Author
Owner

@gdpancheng commented on GitHub (Nov 27, 2019):

在解析里面添加*.aa a记录 然后在你对于的frps.ini中 域名设置为 aa.host.com

<!-- gh-comment-id:558976264 --> @gdpancheng commented on GitHub (Nov 27, 2019): 在解析里面添加*.aa a记录 然后在你对于的frps.ini中 域名设置为 aa.host.com
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1218
No description provided.