Skip to content

Commit 4149550

Browse files
feat: to switch to *.ze (#97)
Co-authored-by: Lois <[email protected]>
1 parent 010d702 commit 4149550

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

docs/cloud/cloudflare.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ Before proceeding, you will need two details and one DNS configuration from Clou
8484

8585
</details>
8686

87+
#### 5. Configure advanced certificate (optional: required if you want to use domains like `*.ze.your.domain`)
88+
89+
- Go to **SSL/TLS** page and view **Edge Certificates**
90+
- Click on Purchase ACM and complete buying
91+
- Order/configure advanced certificate and add `*.ze.your.domain` into Certificate Hostnames, so complete list should look like `your.domain *.your.domain *.ze.your.domain`
92+
8793
### Configuration Inputs
8894

8995
Details for each input after clicking **Add Integration** under **Cloudflare**:
@@ -94,6 +100,9 @@ Details for each input after clicking **Add Integration** under **Cloudflare**:
94100
<dt>Integration Display Name</dt>
95101
<dd>The name of the integration shown on the dashboard.</dd>
96102

103+
<dt>Delimiter</dt>
104+
<dd>Choose the delimiter for application subdomains: `-` (your deploy URL will be `*-ze.your.domain`) or `.` (your deploy URL will be `*.ze.your.domain`) </dd>
105+
97106
<dt>API Token</dt>
98107
<dd>
99108
Obtainable from Cloudflare. [See

docs/cloud/netlify.mdx

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ In the land of Micro-Frontend and how Zephyr deploy applications, we map each in
3131
- A registered Netlify account and a team with Pro plan (to enable custom domain)
3232
- A registered Zephyr account
3333
- A Netlify site project with custom domain. ([Read more about custom domain on Netlify and how to configure it](https://docs.netlify.com/domains-https/environmentss/), it can be a domain managed by Netlify or you will need to point your domain's name servers towards Netlify)
34-
- Wildcard subdomain enabled for your custom domain like `*.domain.com` - to ensure Zephyr's feature like **versioning**, **rollback/roll-forward** and more are available. ([You will **_need to_** contact Netlify Support for a wildcard domain](https://www.netlify.com/support/))
34+
- Wildcard subdomain enabled for your custom domain like `*.domain.com` (`*.ze.domain.com` if you plan using `.` delimiter) - to ensure Zephyr's feature like **versioning**, **rollback/roll-forward** and more are available. ([You will **_need to_** contact Netlify Support for a wildcard domain](https://www.netlify.com/support/))
3535

3636
:::
3737

@@ -49,7 +49,7 @@ Wildcard subdomains can be activated via [contacting Netlify support](https://ww
4949
4. The site cannot use Automatic Deploy Subdomains, so please disable this feature if you are currently using it. ✅
5050
5. The primary domain of the website should be on the same level as the required wildcard domain.
5151
🚨 For example:
52-
If you need the wildcard to be `*.bundlercorp.com`⁣ where `*`⁣ can be your wildcard subdomain, the primary domain must be `www.bundlercorp.com⁣` (www⁣ can be replaced with any string).
52+
If you need the wildcard to be `*.bundlercorp.com` (`*.ze.bundlercorp.com` if you plan using `.` delimiter)⁣ where `*`⁣ can be your wildcard subdomain, the primary domain must be `www.bundlercorp.com (`www.ze.bundlercorp.com` if you plan using `.` delimiter)` (www⁣ can be replaced with any string).
5353
6. You need to configure the DNS for the wildcard subdomain even in case you are using Netlify DNS. You can follow the external DNS configuration for subdomains and add a CNAME entry with `*⁣` as the hostname or any other value that you want. The value of this DNS entry should be the Netlify site address.
5454

5555
[Read more about subdomain in Netlify's Documentation](https://docs.netlify.com/domains-https/environmentss/configure-external-dns/#configure-a-subdomain).
@@ -74,7 +74,14 @@ Below is an example of `bundlercorp.com`'s DNS settings:
7474
| :--: | :---: | :----: | :--: |
7575
| NETLIFY | `bundlercorp.com` | `random-very-long-string.netlify.app` | 3600 |
7676
| NETLIFY | `www.bundlercorp.com` | `random-very-long-string.netlify.app` | 3600 |
77-
| CNAME | `*.bundlercorp.com` | `random-very-long-string.netlify.app` | 3600 |
77+
| CNAME | `*.bundlercorp.com` | `random-very-long-string.netlify.app` | 3600 |
78+
79+
or the following (if you plan using `.` delimiter)
80+
| Type | Name | Value | TTL |
81+
| :--: | :---: | :----: | :--: |
82+
| NETLIFY | `ze.bundlercorp.com` | `random-very-long-string.netlify.app` | 3600 |
83+
| NETLIFY | `www.ze.bundlercorp.com` | `random-very-long-string.netlify.app` | 3600 |
84+
| CNAME | `*.ze.bundlercorp.com` | `random-very-long-string.netlify.app` | 3600 |
7885

7986

8087
#### Example name servers
@@ -115,7 +122,7 @@ If your domain has TLS/SSL certificate verified for both wildcard domain and pri
115122
<br/>
116123

117124
###### - Your site has HTTPS enabled ✅
118-
###### - Domains: `*.bundlercorp.com`, `bundlercorp.com`
125+
###### - Domains: `*.bundlercorp.com`, `bundlercorp.com` (additionally `*.ze.bundlercorp.com` if you plan using `.` delimiter)
119126
<br/>
120127
</div>
121128

@@ -172,6 +179,10 @@ A unique name within your organization. It will be used as a slug.
172179
<dd>
173180
The name of integration shown on dashboard.
174181
</dd>
182+
183+
<dt>Delimiter</dt>
184+
<dd>Choose the delimiter for application subdomains: `-` (your deploy URL will be `*-ze.your.domain`) or `.` (your deploy URL will be `*.ze.your.domain`) </dd>
185+
175186
<dt>API token</dt>
176187
<dd>
177188
Obtained from Netlify. The [instruction above](#how-to-get-credentials) should walk you through how to get your API token.

0 commit comments

Comments
 (0)