<p>Your first step is to setup and configure the Route53 service from the rancher catalog.</p>

<p>After that, the load-balancer will automatically update its DNS in Route53.</p>

CC BY-SA 4.0
2019-03-21T17:12:09.703Z
2019-03-21T17:12:09.703Z
Laurie Kepford
<p>I have a question about rancher. I'm running my rancher on aws. I have created a new cluster with two nodes (workers) and I have deployed my docker images. Now I wanted to add Load Balancer, but I don't want to use xip.io domain but my own. I added my domain to route 53 and I wanted to make redirection from api.mydomain.com to Load Balancer. So, I added in route 53 new record and I used IP of my ec2 machine (I checked where the load balancer has been deployed in rancher)</p>

<p>The question is: What if I will want to change my nodes? My domain will stop working because I'm using the ip of ec2 machine. How should I point dns to my LB correctly (because I'm thinking that using the ip of ec2 machine is a not correct solution).</p>

<amazon-web-services><amazon-ec2><dns><rancher>
Rancher, Load Balancing and own domain
Mariusz
# Rancher, Load Balancing and own domain

(Asked by: username_0 on 2018-11-05)

I have a question about rancher. I'm running my rancher on aws. I have created a new cluster with two nodes (workers) and I have deployed my docker images. Now I wanted to add Load Balancer, but I don't want to use xip.io domain but my own. I added my domain to route 53 and I wanted to make redirection from api.mydomain.com to Load Balancer. So, I added in route 53 new record and I used IP of my ec2 machine (I checked where the load balancer has been deployed in rancher)

The question is: What if I will want to change my nodes? My domain will stop working because I'm using the ip of ec2 machine. How should I point dns to my LB correctly (because I'm thinking that using the ip of ec2 machine is a not correct solution).

**Tags:** amazon-web-services, amazon-ec2, dns, rancher


---

## 1 answers

### Answer by username_1 on 2019-03-21. Score: 2

Your first step is to setup and configure the Route53 service from the rancher catalog.

After that, the load-balancer will automatically update its DNS in Route53.


---

