Skip to content

Commit

Permalink
Docs: move custom domains
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed Jul 19, 2023
1 parent f574600 commit ad876d6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
3 changes: 1 addition & 2 deletions docs/default/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"getting-started": "",
"index": "Web apps on AWS Lambda",
"website-assets": "Website assets",
"console": "Console commands",
"cron": "Cron commands"
"console": "Console commands"
}
4 changes: 2 additions & 2 deletions docs/default/website-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ You can access your website using the URL that Lift outputs at the end the deplo
### Setting up a domain name

Just like in the "[Custom domains](/docs/environment/custom-domains.md)" guide, you need to register your domain in **ACM** (AWS Certificate Manager) to get an HTTPS certificate.
Just like in the "[Custom domains](/docs/use-cases/http/custom-domains.mdx)" guide, you need to register your domain in **ACM** (AWS Certificate Manager) to get an HTTPS certificate.

> If you have already set up this domain as a custom domain in API Gateway (by following the [Custom domain](/docs/environment/custom-domains.md) guide), you will need to remove it before continuing.
> If you have already set up this domain as a custom domain in API Gateway (by following the [Custom domain](/docs/use-cases/http/custom-domains.mdx) guide), you will need to remove it before continuing.
- open [this link](https://console.aws.amazon.com/acm/home?region=us-east-1#/wizard/) or manually go in the ACM Console and click "Request a new certificate" **in the `us-east-1` region** (CloudFront requires certificates from `us-east-1`)
- add your domain name and click "Next"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
title: Custom domain names
current_menu: custom-domains
introduction: Configure custom domain names for your web applications.
---
export const introduction = 'Configure custom domain names for your web applications.';

# Custom domain names

API Gateway generates random domain names for our applications:

Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/news/01-bref-1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ functions:
```

**However don't do this blindly:** this will delete your REST API to create a new HTTP API, which will break custom domains you may have set up.
Instead, you can deploy the same Lambda with both v1 and v2, [set up your domain on v2](/docs/environment/custom-domains.md), and then delete v1:
Instead, you can deploy the same Lambda with both v1 and v2, [set up your domain on v2](/docs/use-cases/http/custom-domains.mdx), and then delete v1:

```yaml
functions:
Expand Down

0 comments on commit ad876d6

Please sign in to comment.