Solved

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

Posted on 1997-12-15
1
192 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 100 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

724 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