403: API Gateway using custom API

0 votes
I tried creating an API. To do that I used API Gateway & Lambda. This worked fine until the url was designated in the API Gateway Stage editor. But there are certain issues when I try and move to a custom domain.

I experimented with a CNAME record in Route 53 from my domain onto the domain that I got from the API Gateway. This approach failed.

The Custom Domain Names feature in API Gateway was no help either. The link returns a 403 response and no distribution has been made in CloudFront. Is there a good way to debug this issue?
May 3, 2018 in Cloud Computing by DragonLord999
• 8,380 points
959 views

1 answer to this question.

0 votes

Try setting up a CNAME with your DNS provider pointing at the CF distribution that API Gateway gives you. Note that you won't be able to make direct API calls to the CF distribution. API Gateway maps the API/stage from the Base Path mapping you set up in API Gateway so only API calls directed at the domain name will work correctly.

Check This guide out: http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html

answered May 3, 2018 by brat_1
• 7,080 points

Related Questions In Cloud Computing

+4 votes
3 answers

AWS API Gateway with AWS WAF

Well that is not possible, Reason: API Gateway would ...READ MORE

answered Mar 27, 2018 in Cloud Computing by code_ninja
• 6,220 points
383 views
0 votes
1 answer

What approach do I need to take to upload files to Lambda function and API Gateway services?

If you want to upload bigger than ...READ MORE

answered Apr 17, 2018 in Cloud Computing by brat_1
• 7,080 points
42 views
0 votes
1 answer

Can we Use Api keys with AWS API Gateway?

There is no getting away here. When ...READ MORE

answered Apr 18, 2018 in Cloud Computing by hemant
• 5,750 points
27 views
0 votes
1 answer

Using AWS Rest API without SDK

KMS actions documentation here: http://docs.aws.amazon.com/kms/latest/APIReference/API_Operations.html AWS endpoints: http://docs.aws.amazon.com/general/latest/gr/rande.html   HTTPS requests to ...READ MORE

answered Apr 20, 2018 in Cloud Computing by anonymous
230 views
+1 vote
2 answers

AWS: API Gateway Encoding for multipart/form-data

API Gateway now supports binary payloads. Simply ...READ MORE

answered Aug 22, 2018 in Cloud Computing by Priyaj
• 56,520 points
1,411 views
0 votes
1 answer

AWS: User Keys API Gateway

For identification you can generate one API ...READ MORE

answered May 22, 2018 in Cloud Computing by code_ninja
• 6,220 points
31 views
0 votes
1 answer

AWS: What is an API Gateway in AWS?

Amazon API Gateway is a fully managed ...READ MORE

answered Jul 26, 2018 in Cloud Computing by Meci Matt
• 9,420 points
42 views
0 votes
1 answer

AWS API Gateway should prevent use of TLS v1

API ( application programming interface )- It ...READ MORE

answered Aug 1, 2018 in Cloud Computing by ArchanaNagur
• 2,270 points
552 views
+2 votes
2 answers

Authenticated users with STS and API Gateway

RoleSessionName being an identifier for a defined ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,080 points
106 views
+3 votes
3 answers

Is it possible to delete a API in AWS API Gateway?

Yes, it is possible to delete an ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,080 points
624 views