diff --git a/backend/README.md b/backend/README.md index 77a5fd93..2817fd8f 100644 --- a/backend/README.md +++ b/backend/README.md @@ -166,6 +166,18 @@ Here are the steps to create a CNAME record: Gateway console, under Custom Domain Names). 10. Click "Add." +This will direct any traffic from your custom domain to your AWS CloudFront +distribution. Please note that DNS changes might take some time (up to 24-48 +hours in some cases) to propagate across the internet. + +Also, please make sure that your CloudFront distribution is configured to +accept your custom domain as a valid domain name. In AWS API Gateway, +under Custom Domain Names, make sure that your custom domain is listed and +mapped to the appropriate API stage. + +Remember to replace api and the CloudFront domain with your actual subdomain +and CloudFront domain. + ### Thoughts for authenticating the frontend with the backend To provide secure communication between your frontend Next.js application and your backend FastAPI service, you have