2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
Hello.
I don't think you can delete the default domain (amplifyapp.com) because it is tied to Amplify.
As an alternative, consider redirecting to a custom domain when accessing the default domain.
You can use Amplify's redirect settings to redirect access from the default domain to a custom domain.
https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#simple-redirects-and-rewrites
Specifically, I think it would be best to configure the following redirect settings.
Original address | Destination Address | Redirect Type | Country Code |
---|---|---|---|
https://branch-name.d1m7bkiki6tdw1.amplifyapp.com | https://example.com | permanent redirect (301) |
0
Thanks for the answer above. Ideally I would like to remove completely but if it's not possible, then redirecting might be enough. Can you also let me know if it's possible to limit the access for a list of IPs? Thanks in advance.
답변함 한 달 전
As of April 2024, Amplify cannot be linked directly to AWS WAF, so in order to block the IP list, you will need to setup CloudFront and use AWS WAF. https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/enable-aws-waf-for-web-applications-hosted-by-aws-amplify.html