Skip to content

Commit f1b8e46

Browse files
authored
docs: add notice clarifying domain association (#3164)
Related #3162 _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the Apache 2.0 License._
1 parent 2a0f65d commit f1b8e46

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

site/content/docs/developing/domain.en.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Domain
22

3+
!!!attention
4+
Today, a Route 53 domain name can be associated only when running `copilot app init`.
5+
If you'd like to update your application with a domain ([#3045](https://github.com/aws/copilot-cli/issues/3045)),
6+
you'll need to initialize a duplicate app with `--domain` and then run `copilot app delete` to
7+
remove the old one.
8+
39
## Load Balanced Web Service
410
As mentioned in the [Application Guide](../concepts/applications.en.md#additional-app-configurations), you can configure the domain name of your app when running `copilot app init`. After deploying your [Load Balanced Web Services](../concepts/services.en.md#load-balanced-web-service), you should be able to access them publicly via
511

@@ -21,9 +27,6 @@ Currently, you can only use aliases under the domain you specified when creating
2127

2228
We'll make this feature more powerful in the future by allowing you to import certificates and use any aliases!
2329

24-
!!!info
25-
Both root and app hosted zone are in your app account, while the env hosted zones are in your env accounts.
26-
2730
## How do I configure an alias for my service?
2831
If you don't like the default domain name Copilot assigns to your service, setting an [alias](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-choosing-alias-non-alias.html) for your service is also very easy. You can add it directly to your [manifest's](../manifest/overview.en.md) `alias` section. The following snippet will set an alias to your service.
2932

@@ -34,9 +37,6 @@ http:
3437
alias: example.aws
3538
```
3639
37-
!!!info
38-
Using this feature requires your app version to be at least `v1.0.0`. You will be prompted to run [`app upgrade`](../commands/app-upgrade.en.md) first if your app version does not meet the requirement.
39-
4040
## What happens under the hood?
4141
Under the hood, Copilot
4242

0 commit comments

Comments
 (0)