...

/

Custom Domains: Map our Domain to Load Balancers

Custom Domains: Map our Domain to Load Balancers

Objective

  • Access our application from a custom domain.

Steps

  • Map our domain to the load balancers.

Creating a DNS record per stage

Let’s start by adding two new input parameters in our stage.yml to receive the stage domain and subdomain.

Press + to interact
Domain:
Type: String
SubDomain:
Type: String

Then, let’s add a resource to create a Route 53 A record that points <subdomain>.<domain> ...