diff --git a/sites/platform/src/define-routes/_index.md b/sites/platform/src/define-routes/_index.md index 8466e97b50..6071fea145 100644 --- a/sites/platform/src/define-routes/_index.md +++ b/sites/platform/src/define-routes/_index.md @@ -220,10 +220,10 @@ https://example.com.feature-t6dnbai-abcdef1234567.us-2.{{< vendor/urlraw "hostna ### `{all}` -You can also set up multiple domains for a single project. +You can also set up multiple domains for a single environment. To define rules for all of them, use `{all}` in your template. -Say you have both `example.com` and `example.net` as domains in a project. +Say you have both `example.com` and `example.net` as domains on an environment. You can then define the following routes: ```yaml {configFile="routes"} @@ -242,7 +242,7 @@ your app runs at both `https://example.com` and `https://example.net`. The second route means that `https://www.example.com` redirects to `https://example.com` _and_ `https://www.example.net` redirects to `https://example.net`. -If your project has no domains or only one, `{all}` behaves exactly like `{default}`. +If your environment has no domains or only one, `{all}` behaves exactly like `{default}`. If you have two routes sharing the same HTTP scheme, domain, and path and the first route is using `{default}` and the second is using `{all}`, diff --git a/sites/upsun/src/define-routes/_index.md b/sites/upsun/src/define-routes/_index.md index 8f389d1736..c51e4e2c1a 100644 --- a/sites/upsun/src/define-routes/_index.md +++ b/sites/upsun/src/define-routes/_index.md @@ -187,10 +187,10 @@ Note that the `example.com` prefix isn't part of the generated URL. ### `{all}` -You can also set up multiple domains for a single project. +You can also set up multiple domains for a single environment. To define rules for all of them, use `{all}` in your template. -Say you have both `example.com` and `example.net` as domains in a project. +Say you have both `example.com` and `example.net` as domains on an environment. You can then define the following routes: ```yaml {configFile="routes"} @@ -210,7 +210,7 @@ your app runs at both `https://example.com` and `https://example.net`. The second route means that `https://www.example.com` redirects to `https://example.com` _and_ `https://www.example.net` redirects to `https://example.net`. -If your project has no domains or only one, `{all}` behaves exactly like `{default}`. +If your environment has no domains or only one, `{all}` behaves exactly like `{default}`. If you have two routes sharing the same HTTP scheme, domain, and path and the first route is using `{default}` and the second is using `{all}`,