# Switching Hostname for Rancher

**URL:** <https://forums.suse.com/t/switching-hostname-for-rancher/4871>\
**Category:** General\
**Created:** [December 11, 2016, 9:48pm UTC](https://forums.suse.com/t/switching-hostname-for-rancher/4871 "2016-12-11T21:48:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwhitcraft](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jwhitcraft/32/37_2.png) [@jwhitcraft](https://forums.suse.com/u/jwhitcraft)\
**Post date:** [December 11, 2016, 9:48pm UTC](https://forums.suse.com/t/switching-hostname-for-rancher/4871/1 "2016-12-11T21:48:37Z")

</div>

Hello,

I’m wondering if it’s possible to switch the host name for rancher as right now it’s two levels deep (eg: [zz.xx.yy.net](http://zz.xx.yy.net)) and I’d like to move it to ([zz.yy.io](http://zz.yy.io)) as we just got the .io domain for all new automation tools at my company. I’d hate to change it in the interface and then botch up my existing hosts.

Thanks.

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [December 11, 2016, 11:07pm UTC](https://forums.suse.com/t/switching-hostname-for-rancher/4871/2 "2016-12-11T23:07:29Z")

</div>

Yes, you’ll need to change the host registration URL and then re-run the registration command on each of the hosts to get them to use the new URL.

If you put both the old and new name in DNS then this should be minimally impactful, hosts using the old name will stay connected and you can go through them one at a time to switch to the new name.

---

<div class="post-metadata">

**Author:** ![jwhitcraft](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jwhitcraft/32/37_2.png) [@jwhitcraft](https://forums.suse.com/u/jwhitcraft)\
**Post date:** [December 12, 2016, 1:04am UTC](https://forums.suse.com/t/switching-hostname-for-rancher/4871/3 "2016-12-12T01:04:03Z")

</div>

Awesome Thanks for the info @vincent
