Difference between revisions of "Changing server hostname"

From Pulsed Media Wiki
(Created page with "== Debian based systems == Edit file ''/etc/hostname'' vim /etc/hostname After which you can restart networking, or restart the server to get the changes. Latter is preferrab...")
 
 
Line 13: Line 13:
 
== Windows ==
 
== Windows ==
 
On windows it's known as computer name, and is not a [[FQDN|Fully Qualified Domain Name]] like on Linux based systems. This can be found on computer properties, ie. click start -> 2nd click computer, choose properties from context menu.
 
On windows it's known as computer name, and is not a [[FQDN|Fully Qualified Domain Name]] like on Linux based systems. This can be found on computer properties, ie. click start -> 2nd click computer, choose properties from context menu.
 +
 +
[[Category:Dedicated server guides]]
 +
[[Category:Guides]]

Latest revision as of 12:08, 16 December 2011

Debian based systems

Edit file /etc/hostname

vim /etc/hostname

After which you can restart networking, or restart the server to get the changes. Latter is preferrable as that way you can be certain everything needed is restarted and reconfigured, opposed to remembering what needed to be restarted.

Fedora/RHEL/Centos

It's on the file /etc/sysconfig/network line starting HOSTNAME=, otherwise it does not differ from the debian based systems.

Windows

On windows it's known as computer name, and is not a Fully Qualified Domain Name like on Linux based systems. This can be found on computer properties, ie. click start -> 2nd click computer, choose properties from context menu.