# Changing Host Registration URL

**URL:** <https://forums.suse.com/t/changing-host-registration-url/2028>\
**Category:** Rancher 1.x\
**Created:** [March 14, 2016, 10:09am UTC](https://forums.suse.com/t/changing-host-registration-url/2028 "2016-03-14T10:09:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![cl3m3nt](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@cl3m3nt](https://forums.suse.com/u/cl3m3nt)\
**Post date:** [March 14, 2016, 10:09am UTC](https://forums.suse.com/t/changing-host-registration-url/2028/1 "2016-03-14T10:09:05Z")

</div>

Hi everyone,

I’m encountering with Rancher UI. I can’t access my local server after I configured the DNS in the Admin panel.  
Is there a way to change via SSH, in a conf file, by any chance? And if so, how to do it?

Thanks in advance, guys.

 ![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/522fa8a07e47c3eeb8ae788e3585f54c4848d434.png)

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [March 14, 2016, 6:21pm UTC](https://forums.suse.com/t/changing-host-registration-url/2028/2 "2016-03-14T18:21:49Z")

</div>

The image you are showing isn’t displaying for me.

1. What version of Rancher are you using?
2. Changing the host registration URL shouldn’t have any affect on your Rancher UI. What do you mean by you can’t access your local server?

---

<div class="post-metadata">

**Author:** ![cl3m3nt](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@cl3m3nt](https://forums.suse.com/u/cl3m3nt)\
**Post date:** [March 14, 2016, 7:58pm UTC](https://forums.suse.com/t/changing-host-registration-url/2028/3 "2016-03-14T19:58:48Z")

</div>

Thanks for your response !!  
I use rancher  
rancher : v0.56.0  
Ui : v0.85.0  
The problem is whenever i set the domain name i can’t reach ui of webrancher. And when i watch the log with`$ docker logs [id_containers]` , they are going crazy with : [http://192.168.200.10:8080](http://192.168.200.10:8080) with the domain name but not the ip adress.  
So is there an other way to change the domain name by my ip adress using the cmd.  
I can send you the docker log if it helps

---

<div class="post-metadata">

**Author:** ![Tom472](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/tom472/32/896_2.png) [@Tom472](https://forums.suse.com/u/Tom472)\
**Post date:** [March 14, 2016, 10:53pm UTC](https://forums.suse.com/t/changing-host-registration-url/2028/4 "2016-03-14T22:53:36Z")

</div>

OK let me see if I can follow what you are explaining:  
In the picture you attached you are showing the IP address of: 192.168.200.10 - as your Rancher Web Interface.  
Are you saying that you now have that IP address set with a DNS name?

---

<div class="post-metadata">

**Author:** ![cl3m3nt](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@cl3m3nt](https://forums.suse.com/u/cl3m3nt)\
**Post date:** [March 15, 2016, 1:21pm UTC](https://forums.suse.com/t/changing-host-registration-url/2028/5 "2016-03-15T13:21:49Z")

</div>

I use the ip 192.168.200.10 for my rancherOS (configured with Cloud-Config)  
I thought about configuring a local DNS (url registration in the first screenshot) to access my rancher ui with this url : [http://rancher.mydomain.com](http://rancher.mydomain.com) or 192.168.200.10:8080

Now i notice a loop in the log of the master rancher container.

---

<div class="post-metadata">

**Author:** ![Tom472](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/tom472/32/896_2.png) [@Tom472](https://forums.suse.com/u/Tom472)\
**Post date:** [March 15, 2016, 2:26pm UTC](https://forums.suse.com/t/changing-host-registration-url/2028/6 "2016-03-15T14:26:53Z")

</div>

That page - in your first screenshot - is for setting the address (be it DNS or IP) that any hosts you are going to install Rancher-Agent on are going to “check back into”.

So are you trying to get “hosts” (running Rancher-Agent) to find their way to 192.168.200.10 via a DNS address?

Or

Are you just looking to be able to access your Rancher UI at 192.168.200.10 via a DNS name?

---

<div class="post-metadata">

**Author:** ![cl3m3nt](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@cl3m3nt](https://forums.suse.com/u/cl3m3nt)\
**Post date:** [March 15, 2016, 2:45pm UTC](https://forums.suse.com/t/changing-host-registration-url/2028/7 "2016-03-15T14:45:51Z")

</div>

> [@Tom472](#):
>
> Are you just looking to be able to access your Rancher UI at 192.168.200.10 via a DNS name?

That’s what i want to do.

---

<div class="post-metadata">

**Author:** ![Tom472](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/tom472/32/896_2.png) [@Tom472](https://forums.suse.com/u/Tom472)\
**Post date:** [March 15, 2016, 3:50pm UTC](https://forums.suse.com/t/changing-host-registration-url/2028/8 "2016-03-15T15:50:57Z")

</div>

OK so 192.168.200.10 should be an internal IP on your home LAN correct?

So you just need to create a local DNS entry to point the DNS name you want to use to the IP.  
Depending on your set-up this can be done a few different ways:

- Some home routers can provide this type of entry to be added

- I see from your screenshot you are on an Ubuntu box - so for that you could add an entry to the /etc/hosts file like:  
`192.168.200.10 http://rancher.mydomain.com`

- For Windows PCs on the LAN the host file is located here: C:\Windows\System32\Drivers\etc\hosts  
`192.168.200.10 http://rancher.mydomain.com`

Hope that helps.

---

<div class="post-metadata">

**Author:** ![cl3m3nt](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@cl3m3nt](https://forums.suse.com/u/cl3m3nt)\
**Post date:** [March 15, 2016, 6:59pm UTC](https://forums.suse.com/t/changing-host-registration-url/2028/9 "2016-03-15T18:59:15Z")

</div>

I found what was the problem !  
My mistake didn’t have anything to do with the DNS, I thought the problem was the last modification i made on my server.

The mistake was the space left on my disk. It was full `partition "/" 100%`  
I found this with the commande :  
`find / -type f -size +500000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }’`

The file catlle-debug.log contains more than 1GB of data.

I rebooted the server and got access to my rancher interface.

Thanks for your help guys

 ![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/9/9a92f3f0549e267708e9ad149b250a8f5d91bd19.png)
