LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-17-2011, 05:52 PM   #1
moodah
LQ Newbie
 
Registered: Sep 2010
Posts: 15

Rep: Reputation: 1
Issue trying to set domain name


Hi Guys;

I cannot seem to figure out where my system is pulling its localhost.localdomain setting from.

OS is;
Quote:
[root@system root]# cat /etc/issue.net
Red Hat Enterprise Linux ES release 3 (Taroon Update 3)
Kernel \r on an \m
Network file is;
Quote:
[root@system root]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain
Quote:
[root@system root]# hostname
system
[root@system root]# hostname -d
[root@system root]# hostname -f
system
[root@system root]#
Could anybody tell me how to set the localhost and localdomain?

For the time being, the localhost is somehow being set correctly, but the localdomain is incorrect.
 
Old 03-17-2011, 08:16 PM   #2
moodah
LQ Newbie
 
Registered: Sep 2010
Posts: 15

Original Poster
Rep: Reputation: 1
Turns out there is a manual host entry in the /etc/hosts file someone has put there for the systems ip address with a domainname appended that was overwriting everything.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set the domain name? Focle_Wulf-190 Slackware 3 03-28-2020 10:29 PM
Set up .name.domain, but how do I set .domain/name Karas Linux - Newbie 1 12-03-2009 09:31 AM
How do you set the domain name? Ordinary12 Fedora 1 05-01-2008 07:26 AM
how do I set the domain name? exodist Linux - Software 6 09-02-2004 01:47 PM
How to set up domain ronald_fancher Linux - Networking 4 12-19-2003 10:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration