wallpaperpages How to Change Hostname and Domain In Linux Commandwallpaperpages - How to Change Hostname and Domain In Linux Command
How to Change Hostname and Domain In Linux Command - This page contains information about How to Change Hostname and Domain In Linux Command Here you can also give your thought about the subject of How to Change Hostname and Domain In Linux Command
Mon February 6, 2012, 7:49 pm
|
|
|
How to Change Hostname and Domain In Linux Command |
By: Beginner Step by Step Gui
|
Recently I had to change the hostaname and domain name for a server, I had to do this in the shell command line. Today I will show you how you can change the host name and domain name of your server with the shell. This guide works with redhat or fedora. Type the following at the comand line: | nano /etc/sysconfig/network | next you will see something like this: NETWORKING=yes HOSTNAME=host.domain.com GATEWAY=208.96.2.161 | all you need to do is change the HOSTNAME, where host=you hostname and domain.com your domain. thats it. * Always make a backup before you start to do anything like this. |
|
|
|
|
|