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 4, 2018 in Cloud Computing by DragonLord999
• 8,450 points
3,871 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 4, 2018 by brat_1
• 7,200 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,300 points
1,856 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,200 points
843 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,790 points
543 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
2,359 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
• 58,020 points
6,541 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,300 points
682 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,460 points
1,342 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,360 points
2,255 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,200 points
1,618 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,200 points
4,770 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP