Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 1997-12-15
1
Medium Priority
?
197 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

650 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