The hostname is also known as a computer, device, or domain name that is given to a computer when it connects with the internet. In this article, you will learn how to change the hostname of your system on CentOS 8 without going to restart the computer system.