aws-amplify / aws-amplify/amplify-hosting

Feature request: Allow auto-subdomain creation when root domain is a subdomain

Open
#1,356 2 comments 6 reactions 0 assignees View on GitHub
feature-request
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
In _Domain management_ there is usually a option available called _Subdomain auto-detection_ as seen below:

![image](https://user-images.githubusercontent.com/14964441/101622181-03f55280-3a17-11eb-849a-b5cd2abe58bf.png)

_(Source: [AWS blog](https://aws.amazon.com/blogs/mobile/automatically-create-and-delete-custom-sub-domains-for-your-branch-deployments-with-amplify-console/))_

This feature is incredibly useful, but when my _root domain_ is a subdomain already (e.g. `https://previews.mealicious.app`) then this auto-detection checkbox doesn't show.

**Describe the solution you'd like**
Please allow enabling _Subdomain auto-detection_ when the root domain is a subdomain.

Contributor guide

Open the contributing guide

Research direction

Start in the Domain management implementation and trace how the Subdomain auto-detection option is currently shown for root domains. Reproduce the case where the root domain is a subdomain, then verify that the option can be enabled and that automatic subdomain handling works correctly for that configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.