Solved

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

Posted on 1997-12-15
1
174 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
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 Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
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.

705 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now