You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tutorials/use-your-own-domain-name.mdx
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ sidebar_position: 600
5
5
6
6
# How to Use Your Own Domain With AWS
7
7
8
+
This tutorial will show you how to set up and use your own domain when deploying to AWS using Defang.
9
+
8
10
<iframewidth="560"height="315"src="https://www.youtube.com/embed/n4RlMpsdTbs?si=_Ru6tobSbi9LT4Q1"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"referrerpolicy="strict-origin-when-cross-origin"allowfullscreen></iframe>
9
11
10
12
## Prerequisites
@@ -35,7 +37,7 @@ You'll need to create NS records in your domain registrar that point to the AWS
35
37
36
38
37
39
## Step 3 - Set up Your Compose File
38
-
In your compose file, specify the domain name you want to use, for example
40
+
In your Compose file, specify the domain name you want to use, for example:
39
41
40
42
```yaml
41
43
services:
@@ -56,7 +58,7 @@ Run the following command to deploy your service:
56
58
defang compose up
57
59
```
58
60
59
-
This will deploy your service and set up the necessary DNS records in Route 53 as seen in the screenshot below as well as provision SSL certificates. You can now access your service at the domain you specified in your compose file.
61
+
This will deploy your service and set up the necessary DNS records in Route 53 as seen in the screenshot below as well as provision SSL certificates. You can now access your service at the domain you specified in your Compose file.
60
62
61
63
<imgsrc="/img/domains-tutorial/route53-records.png"alt="Route 53 DNS Records Screenshot" />
0 commit comments