aws-amplify / aws-amplify/amplify-hosting

How to redirect from one domain to another

Open
#1,752 0 comments 1 reaction 0 assignees View on GitHub
redirects
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.