跳到主要内容

自定义域名

Tenants can use their own domain (e.g., feedback.acmecorp.com) instead of the platform's default URLs.


Setup Process

Step 1: Add Domain in 设置

  1. 前往 设置 > Custom Domain
  2. 输入您的 domain: feedback.acmecorp.com
  3. Click Add Domain

Step 2: Configure DNS

Add a CNAME record pointing to the platform:

TypeNameValue
CNAMEfeedbackyourdomain.com

Or if using a root domain, an A record:

TypeNameValue
A@platform-server-ip

Step 3: Verify

  1. Click Verify Domain in 设置
  2. FeedbackPulse checks the DNS records
  3. Once verified, the domain is active

Step 4: SSL

The platform owner needs to:

  • Configure the web server to accept the 自定义域名
  • Obtain an SSL certificate for the 自定义域名 (or use a wildcard)

Plan Requirement

Custom domains require the custom_domain feature flag on the tenant's subscription plan.


Server-Side 配置 (for Superadmins)

When a tenant adds a 自定义域名, the superadmin may need to:

  1. Add the domain to the web server configuration
  2. Obtain an SSL certificate for the domain
  3. Ensure the ResolveTenant middleware can resolve the domain

The ResolveTenant middleware automatically checks the tenant_domains table to match 自定义域名s to tenants.


下一步