View Single Post
  #1 (permalink)  
Old 22-05-2007, 15:12
flesso's Avatar
flesso flesso is offline
Premium Member
 
Join Date: Mar 2007
Location: 127.0.0.1
Posts: 1,437
Default Changing The Hostname on Linux

Changing the hostname on Linux is pretty easy. In this tutroial you will learn how to.

Note: Root access to the server concerned is needed.

Type the following in on the command-line:

Code:
hostname hostname.yourdomain.com
And press 'return'. To confirm that the hostname has been set run the following command which will show the hostname:

Code:
hostname
And that's how to set the hostname on a Linux server!

Note: If you're doing this on a VPS Hosting you will need to contact your support department to have it reset on the node as well, as on reboot the hostname will default to the default one set.
__________________
Regards,
Josh Hold

eUKhost Blog: Over 1000 Computer Related Articles to Sink Your Teeth Into!

LDN GIGS - Gig Listings for London

Super Moderator

I'm only a forum gremlin (moderator), and do not work for eUKhost in any way. Opinions expressed by me are mine only, and do not reflect those of either eUKhost or any company that may be listed above.

I don't bite, honest.
Reply With Quote