Ask Your Question
3

How can the stage name be eliminated from the URL using AWS API Gateway?

asked 2023-07-18 11:47:07 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-07-18 11:48:01 +0000

david gravatar image

To eliminate the stage name from the URL using AWS API Gateway, you can create a custom domain name by following these steps:

  1. Go to the AWS API Gateway console and select your API.
  2. Under the "Custom Domain Names" menu, select "Create Custom Domain Name."
  3. Enter your domain name and select the certificate type (either ACM or IAM).
  4. Choose the base path mapping for your API and click "Create."
  5. Go to your domain registrar and create a CNAME record that maps your domain to the API Gateway endpoint.
  6. Verify the domain name by clicking on "Verify" in the console.

Once the domain is verified, any requests made to your API using that domain will not include the stage name in the URL.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-07-18 11:47:07 +0000

Seen: 12 times

Last updated: Jul 18 '23