mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-26 04:16:39 +00:00
Update reverse proxy documentation for domain and DNS record changes (#648)
* Update reverse proxy documentation for domain and DNS record changes * Clarify reverse proxy domain description in migration guide * Update domain requirement clarification in migration guide Clarified the domain requirement for the proxy + added missing charactr afer example domain --------- Co-authored-by: shuuri-labs <61762328+shuuri-labs@users.noreply.github.com>
This commit is contained in:
@@ -14,7 +14,6 @@ This is the quickest way to try self-hosted NetBird. It should take around 5 min
|
||||
- A Linux VM with at least **1CPU** and **2GB** of memory.
|
||||
- The VM must be publicly accessible on **TCP ports 80 and 443**, and **UDP port 3478**.
|
||||
- A **public domain** name that resolves to the VM's public IP address (e.g. `netbird.example.com`).
|
||||
- *(Optional, for Proxy feature)* A **separate domain** for the proxy with a **wildcard DNS record** pointing to the same server IP. For example, if your management domain is `netbird.example.com`, add a CNAME wildcard record for `*.proxy.example.com` pointed to the same `netbird.example.com` you configured.
|
||||
|
||||
## Software requirements
|
||||
|
||||
@@ -67,23 +66,7 @@ to the internet. You control which resources are exposed through the dashboard.
|
||||
Enable proxy? [y/N]:
|
||||
```
|
||||
|
||||
If you answer `y`, the script prompts for a **proxy domain**:
|
||||
|
||||
```
|
||||
NOTE: The proxy domain must be different from the management domain (netbird.example.com)
|
||||
to avoid TLS certificate conflicts.
|
||||
|
||||
You also need to add two CNAME records with one wildcard for the proxy domain,
|
||||
e.g. proxy.example.com and *.proxy.example.com pointing to the same server IP as netbird.example.com.
|
||||
|
||||
Enter the domain for the NetBird Proxy (e.g. proxy.netbird.example.com):
|
||||
```
|
||||
|
||||
<Warning>
|
||||
The proxy domain **must be different** from your NetBird management domain to avoid TLS certificate conflicts.
|
||||
</Warning>
|
||||
|
||||
The script then automatically generates a proxy access token, creates a `proxy.env` configuration file, and starts the proxy container alongside the other services. Point a wildcard DNS record (e.g. `*.proxy.netbird.example.com`) to your server's IP address so that service subdomains resolve correctly.
|
||||
The script then automatically generates a proxy access token, creates a `proxy.env` configuration file, and starts the proxy container alongside the other services. Point a wildcard DNS record (e.g. `*.netbird.example.com`) to your server's IP address so that service subdomains resolve correctly.
|
||||
|
||||
### CNAME Record for Proxy Domain
|
||||
|
||||
@@ -92,8 +75,7 @@ For certificates to work properly, ensure you have the proper records set with y
|
||||
| Type | Name | Content | Proxy status (Cloudflare) |
|
||||
|------|------|---------|--------------|
|
||||
| A | `netbird` | `YOUR.SERVER.IP.ADDRESS` | DNS only |
|
||||
| CNAME | `proxy` | `netbird.example.com` | DNS only |
|
||||
| CNAME | `*.proxy` | `netbird.example.com` | DNS only |
|
||||
| CNAME | `*.netbird` | `netbird.example.com` | DNS only |
|
||||
|
||||
If you skipped the proxy during initial setup, you can add it later by following the [Enable Reverse Proxy migration guide](/selfhosted/migration/enable-reverse-proxy).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user