How to change domain?

I um using rancher 2.4, docker-ce runing on centos 7.
My question:
How can I change the domain used by the rancher environement.
Does rancher use the config of the host-system. I don t find an option in the webinterface of rancherv2.4.
Thanks for a hint-

To migrate the domain of what exactly?

What rancher setup are your running (docker install, HA on a k8s cluster, …)?