‹ Return to How tos

Add an alias record to point to your Lightsail load balancer

Last updated: November 29, 2017

After you verify that you control the domain where you want to have encrypted (HTTPS) traffic, you need to add an alias record (A record) to Lightsail or Amazon Route 53 so that web traffic gets routed to your load balancer.


The instructions for adding an A record to Lightsail or Amazon Route 53 are below. For other domain registrars, follow their instructions to add a similar A record on the domain management page.

Add an A record in Lightsail

  1. On the Lightsail home page, choose Networking.

  2. Choose the DNS zone you want to manage.

  3. If you haven't created any records yet, choose Add record.

    If you already have CNAME or other DNS records, choose Add another.

  4. For Type, choose the default record type (A).

  5. For Sub-domain, type www in front of example.com or don't use a prefix if using an apex domain.

  6. For destination IP, choose your load balancer from the list of available load balancers.

    Choose your load balancer and create an alias (A) record
  7. Choose Save.

Add an A record in Route 53

  1. Open the Amazon Route 53 console.

  2. In the navigation pane, choose Hosted Zones.

  3. Choose the name of the hosted zone that has the domain name that you want to use to route traffic to your load balancer.

  4. Choose Create Record Set.

  5. For Name, type www.


    If you're using an apex domain, you need to point your apex to a subdomain (like www) and then use a CNAME there to point to the load balancer.

  6. Accept the default record (A - IPv4 address).

  7. For Alias, choose Yes.

  8. Go to the Lightsail console and copy the DNS name from your load balancer management page.

    DNS name on the load balancer management page
  9. Go back to the Amazon Route 53 console and paste the DNS name into the Alias Target field.

  10. Accept the default value of Simple for Routing Policy, and leave No selected for Evaluate Target Health.

    Lightsail already performs health checks on your load balancer. Learn more about health checking

    Your record set should look something like this.

    Create a record set in Route 53 to point an alias to your Lightsail load
  11. Choose Create.