Linux Change Domain Name Without Reboot. When the files open set the new hostname. Changing hostname without rebooting Linux server.
There are other OSes that can change name and even set up domain authentication without rebooting such as Linux but Windows is a very different animal. For the changes to take effect restart the systemd-hostnamed service. With the hostnamectl command.
Second Script to Add Computer to Domain.
Kerneldomainname Configure domain name in Ubuntu. Etchostname is a simple one line file change the name to whatever your want. Sudo hostnamectl set-hostname file_server This will rename your system to file_server. Output should be hostnamedomain name.