Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-07-2011, 01:48 AM   #1
LQ Newbie
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
change server name

how do you change the name of a name of a machine
Old 02-07-2011, 02:10 AM   #2
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296Reputation: 1296
Hello and Welcome to LinuxQuestions,

Depending on what distro you use there are some places where hostname is/can be set. Manually you just use the command
hostname <newhostname>
log out and it's changed for the duration of the session. If you want to make it permanent change the hostname in whatever file it's used (/etc/hostname, /etc/hosts, /etc/sysconfig/network, ...) depending on your distro. If you indicate what distro you're using, better help can be offered. The more information you provide the more detailed answer you'll get. Have fun with Linux.

Kind regards,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change a nis slaver server to a master server fine Linux - Software 2 08-24-2009 11:22 PM
File server, print server inaccessible when change to new DNS tanveer Linux - Server 0 07-31-2007 04:21 AM
Change from '' mors Linux - Software 3 11-07-2006 07:38 AM
change server name gpamkenny Linux - Software 1 01-13-2005 11:32 AM
how do I change my identd server name? maddcow Linux - Networking 0 11-17-2003 10:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration