Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

Naming my Linux machine



4:38 am on Aug 25, 2006 (gmt 0)

10+ Year Member


I have installed Mandrake 9.1 on a PC. It works, i've installed Apache, MySql and PHP and have a nice webserver running.

My big little problem is, how do i give my Linux machine a name (besides localhost)? I am absolutely lost as to how to accomplish something seemingly minor.

Thanks in advance to anyone shedding some light. I want to call the machine Phantom. :-)


5:07 pm on Aug 25, 2006 (gmt 0)

10+ Year Member

I know that the machines hostname can be set from the commandline by using "hostname". In your case, you would type "hostname phantom" which should set the name; you should do this as root. If you are running a GUI, there may be a network configuration app that sets everything up for you.


6:23 pm on Aug 25, 2006 (gmt 0)

10+ Year Member

Excellent! That seems to work. Lol. I cannot believe it was that simple, though i suspected it was.

Many thanks!


Featured Threads

Hot Threads This Week

Hot Threads This Month