aws-amplify / aws-amplify/amplify-hosting
How to redirect from one domain to another
- Dominant language
- Dockerfile
- Stars
- 481
- Forks
- 123
- PR merge metrics
- No merged PRs in 30d
Description
I need to redirect a domain and any subdomains in it to another domain, how do I set this up via one redirect rule, I tried the following with no luck:
`
{
source: 'https://<*>abc.com',
target: 'https://www.def.com',
status: '301',
condition: null
}
`
`
{
source: 'https://abc.com',
target: 'https://www.def.com',
status: '301',
condition: null
}
`
Contributor guide
Research direction
The issue names no repository file, test, or entry point. Start with the AWS Amplify Hosting redirect-rule documentation and the two wildcard configurations shown; determine whether a single rule can cover the domain and subdomains. Done means an accepted configuration or a documented limitation and workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100