Custom Domain Names & Edge Optimization
Configure custom domain names for your APIs and leverage Edge-optimized endpoints for improved global performance.
Your API's Own Address
When you deploy an API Gateway API, AWS provides a default URL. It looks something like https://abcdef123.execute-api.us-east-1.amazonaws.com/prod.
While functional, this URL isn't very user-friendly or brandable. This lesson shows how to use your own domain name!
The Default API Address
Every API Gateway API automatically gets a unique endpoint URL. This URL includes a random ID, the AWS region, and amazonaws.com.
- Example:
https://{restapi_id}.execute-api.{region}.amazonaws.com/{stage_name} - It works immediately after deployment.
- Great for testing, but not ideal for public-facing APIs.
All lessons in this course
- Caching and Throttling
- Request/Response Transformations
- Custom Domain Names & Edge Optimization
- WebSocket APIs for Real-Time Communication