From 0dd8f7d6a6a7e98d229fe354d8fa0fc293d2f955 Mon Sep 17 00:00:00 2001 From: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Date: Tue, 24 Jun 2025 10:45:14 -0700 Subject: [PATCH 1/2] update snippets --- snippets/custom-subpath-gating.mdx | 2 +- snippets/custom-subpath-propagating.mdx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 snippets/custom-subpath-propagating.mdx diff --git a/snippets/custom-subpath-gating.mdx b/snippets/custom-subpath-gating.mdx index 9b690ad4b..24885da05 100644 --- a/snippets/custom-subpath-gating.mdx +++ b/snippets/custom-subpath-gating.mdx @@ -1,4 +1,4 @@ **Prerequisite**: Your primary domain (company.com) is hosted on {platform} - and you are on the [Pro plan or above](https://mintlify.com/pricing). + and you are on the [Pro, Growth, or Enterprise plan](https://mintlify.com/pricing). diff --git a/snippets/custom-subpath-propagating.mdx b/snippets/custom-subpath-propagating.mdx new file mode 100644 index 000000000..e4f585f6e --- /dev/null +++ b/snippets/custom-subpath-propagating.mdx @@ -0,0 +1,3 @@ + + After configuring your DNS, custom subdomains are usually available within a few minutes. DNS propagation can sometimes take 1-4 hours, and in rare cases up to 48 hours. If your subdomain is not immediately available, please wait before troubleshooting. + From f1ef8c8f89e81a4c811c58f39d997e61b8e5b5ac Mon Sep 17 00:00:00 2001 From: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Date: Tue, 24 Jun 2025 11:00:43 -0700 Subject: [PATCH 2/2] add notes about DNS propagation --- advanced/subpath/cloudflare.mdx | 11 ++++++++--- advanced/subpath/route53-cloudfront.mdx | 6 +++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/advanced/subpath/cloudflare.mdx b/advanced/subpath/cloudflare.mdx index e290dd276..454383689 100644 --- a/advanced/subpath/cloudflare.mdx +++ b/advanced/subpath/cloudflare.mdx @@ -3,6 +3,8 @@ title: "Cloudflare" description: "Host documentation at a /docs subpath using Cloudflare Workers" --- +import Propagating from "/snippets/custom-subpath-propagating.mdx"; + To host your documentation at a `/docs` subpath using Cloudflare, you will need to create and configure a Cloudflare Worker. @@ -57,8 +59,9 @@ async function handleRequest(request) { } ``` -Select `Deploy` and wait for the changes to propagate (it can take up to a few -hours). +Select **Deploy** and wait for the changes to propagate. + + ### Test your Worker @@ -137,4 +140,6 @@ If you use Webflow to host your main site and want to serve Mintlify docs at `/d } } ``` -5. Select Deploy and wait for the changes to propagate, which can take up to a few hours. +5. Select **Deploy** and wait for the changes to propagate. + + diff --git a/advanced/subpath/route53-cloudfront.mdx b/advanced/subpath/route53-cloudfront.mdx index 2f533932c..9207be3fd 100644 --- a/advanced/subpath/route53-cloudfront.mdx +++ b/advanced/subpath/route53-cloudfront.mdx @@ -4,6 +4,8 @@ sidebarTitle: "AWS" description: "Host documentation at a /docs subdirectory using AWS services" --- +import Propagating from "/snippets/custom-subpath-propagating.mdx"; + ## Create Cloudfront Distribution Navigate to [Cloudfront](https://aws.amazon.com/cloudfront) inside the AWS console and click on `Create distribution` @@ -139,4 +141,6 @@ Click `Create records`. You may need to remove the existing A record if one currently exists. -And voila! You should be able to have your documentation served at `/docs` for your primary domain. \ No newline at end of file +And voila! Your documentation will be served at `/docs` for your primary domain. + +