?
Solved

How do I change the servername of our Redhat 4.2 machine?

Posted on 1997-12-15
1
Medium Priority
?
195 Views
Last Modified: 2013-12-15
We have a machine with Redhat 4.2 as OS. As HTTP server, we use Apache 1.2.4.

Currently the name of the machine is apollo.ourdomain.se and we want to change that name to utb.ourdomain.se

Where, in Redhat, do we change the name to utb.ourdomain.se (except in the httpd.conf file for Apache and the configuration of our DNS server)?

Thanks in advance.
0
Comment
Question by:thornbush
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
dagmar earned 400 total points
ID: 1631028
The name of the local machine is stored in /etc/sysconfig/network.  From the default configuration, it's the second variable set in that file.  Change it there and reboot, or use the hostname command as root to go ahead and change it on the fly.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month14 days, 8 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question