Search code examples
amazon-web-servicesaws-lambdaaws-api-gatewayamazon-route53aws-application-load-balancer

Equivalent to an Alias in AWS to use with other DNS providers


I'm trying to use my custom domain. I created an API Gateway with AWS and I created a custom domain name. If I had the Route53 setup I could create a new record like this:

enter image description here

(the Alias target above is the one created in the Custom Domain Name)

Now because I'm using a different DNS provider, I don't know what to type on the new record. This is how it looks for me:

enter image description here

If I put the URL there it doesn't accept it, so what is the equivalent of selecting Alias in the route53? What do I write in IPv4 address?

Thanks


Solution

  • Thanks @jingx for the hint, so in Custom Domain Name under API Gateway domain name, copy the value which is the URL linking the domain name to the API endpoint and on the DNS provider choose CNAME and that value.