Linux / UNIX Tech Support Forum
This is a discussion on Redhat Change Domain Hostname within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; I just forgot file name which can be used to change my domain name and hostname under RHEL 5 server. ...
|
|||||||
| CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links | ||
|
|
|
||||
|
Open /etc/sysconfig/network file and change / set HOSTNAME variable:
Code:
HOSTNAME=portal.example.com Code:
hostname portal.example.com
__________________
Rocky Jr. What's wrong? I hope I am not making you uncomfortable... Never send a boy to do a mans job. |
![]() |
| Tags |
| /etc/sysconfig/network , domainname , hostname , redhat , rhel hostname variable |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NIS Domain Name Change | Johnny Utah | Getting started tutorials | 0 | 19-06-2008 03:15 AM |
| Lighttpd URL Redirection domain.com/dir1/index.html to domain.com/dir1 | mumuri | Web servers | 2 | 06-06-2008 12:53 PM |
| Masquerade domain sendmail how to | chiku | Mail Servers | 2 | 10-07-2007 08:20 AM |
| Help, samba 3.0.23 join ads domain | warren | Linux software | 1 | 09-01-2007 03:41 PM |
| set up hostname in ubuntu linux | raj | Linux software | 1 | 20-12-2006 02:51 PM |