# Rancher 2 change hostname

**URL:** <https://forums.suse.com/t/rancher-2-change-hostname/13905>\
**Category:** SUSE Rancher Prime\
**Created:** [April 9, 2019, 11:53am UTC](https://forums.suse.com/t/rancher-2-change-hostname/13905 "2019-04-09T11:53:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hwaastad](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/hwaastad/32/225_2.png) [@hwaastad](https://forums.suse.com/u/hwaastad)\
**Post date:** [April 9, 2019, 11:53am UTC](https://forums.suse.com/t/rancher-2-change-hostname/13905/1 "2019-04-09T11:53:59Z")

</div>

Hi,  
what would be the correct way of changing the hostname of a rancher 2 HA cluster?

If I do a helm upgrade --set hostname xxx, rancher ingress is changed, but the custom rke clusters will still use the old name and the cluster will fail.

/hw
