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 個月前
相關內容
- 已提問 6 個月前
- 已提問 10 個月前
- AWS 官方已更新 2 年前
- 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