Amplify-console: Map preview branches to custom domain

Created on 13 May 2020  路  5Comments  路  Source: aws-amplify/amplify-console

We want to automate preview branches but our backend systems require the same domain for sessions and cookies to work properly. Instead of building preview branches to https://pr-299.d3ka6awcf02t21.amplifyapp.com we want them to map to our custom domain:

https://pr-299.d3ka6awcf02t21.customdomain.com

Is this possible currently, and if not is it something we can request?

feature request

Most helpful comment

@Munsterberg currently it isn't available. We are working on a capability to support automatic subdomains for PRs (so you can get https://pr-299.customdomain.com automatically)

All 5 comments

@Munsterberg currently it isn't available. We are working on a capability to support automatic subdomains for PRs (so you can get https://pr-299.customdomain.com automatically)

@Munsterberg currently it isn't available. We are working on a capability to support automatic subdomains for PRs (so you can get https://pr-299.customdomain.com automatically)

Good to know that this will be supported. Do we have any timeline for this feature?
We use Amplify console for our application as well(which works like a charm) and since we use cookies with a particular domain, this feature would be really helpful for pre-testing phase.

@swaminator Does the feature you listed above also work for multi-level subdomains? For example
https://pr-123.customsubdomain.customdomain.com. We have been having trouble trying to configure it this way.

@julieReitter Yes. You can register the root domain as customsubdomain.customdomain.com and enable autosubdomain feature for PR branch.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asyschikov picture asyschikov  路  5Comments

hassankhan picture hassankhan  路  4Comments

dongjason1 picture dongjason1  路  3Comments

nomiddlename picture nomiddlename  路  4Comments

kontrol-debug picture kontrol-debug  路  4Comments