Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Author: UltratechHost - Replies: 0 - Views: 5937
Linux setting hostname and domain name of my server
Q. I would like to change hostname and domain name for my Linux server. Where can I set the local hostname and domain name of my server?

A. You can use hostname command to show or set the system's host name and dnsdomainname command to show the system's DNS domain name. But the changes are temporary if you use these commands.

Local hostname and domain name of your server defined in text configuration located in /etc directory.

If you are using Red Hat or Fedora Linux