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.
回答済み 1ヶ月前
関連するコンテンツ
- AWS公式更新しました 2年前
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