By using AWS re:Post, you agree to the Terms of Use

How to assign same custom domain to my amplify app and the API gateway that it uses


I have an amplify app and an API gateway that is used by the app. API gateway is associated with a lambda function. I can assign domain to them as follows and it works well:

  • App:
  • API: (note that this is a subdomain of above)

But I want to make them same origin, which means I want to assign domain like this:

  • App:
  • API: (exactly same as above)

How can I achieve this?

Thanks in advance.

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions