Closed Thread
Results 1 to 6 of 6

Thread: Server Name

  1. #1
    Hektor is offline Programmer
    Join Date
    Jan 2007
    Posts
    126
    Rep Power
    0

    Server Name

    What file do I need to edit to change the server name (host name)?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Tor
    Tor is offline Programming Expert
    Join Date
    Oct 2007
    Posts
    488
    Rep Power
    0
    Use the hostname command:

    Code:
    # hostname NewName
    The file is located at /etc/hostname and you can use these other commands to view the hostname:

    Code:
    # uname -n
    # hostname -a
    # hostname -s
    # hostname -d
    # hostname -f
    # hostname

  4. #3
    tecktalk is offline Programmer
    Join Date
    May 2008
    Posts
    179
    Rep Power
    0
    You asking about the network server or the internet server??
    if you want to know about the network server then tor advised you right thing..
    Lyf come without guarantees, except that smiling will brighten ur face, laughing will enhance ur eyes, and falling in luv will change ur lyf

  5. #4
    Hektor is offline Programmer
    Join Date
    Jan 2007
    Posts
    126
    Rep Power
    0
    Thanks, that worked.

  6. #5
    Jordan Guest
    You can also manually edit that file as well.

  7. #6
    Hektor is offline Programmer
    Join Date
    Jan 2007
    Posts
    126
    Rep Power
    0
    When I manually edit that file it doesn't seem to work.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 12
    Last Post: 09-02-2011, 09:32 PM
  2. remote commands to windows server from linux server
    By centsinger in forum PHP Development
    Replies: 2
    Last Post: 06-15-2010, 08:00 AM
  3. Replies: 4
    Last Post: 05-22-2010, 04:48 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts