Unix Technical Forum

Newbie: Problems with hostname and domainname

This is a discussion on Newbie: Problems with hostname and domainname within the Linux Operating System forums, part of the Unix Operating Systems category; --> I am new to Linux. I just installed Red Hat Release 9, and am trying to bring up an ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:42 PM
Bill G.
 
Posts: n/a
Default Newbie: Problems with hostname and domainname

I am new to Linux. I just installed Red Hat Release 9, and am trying to
bring up an Apache web server. However, I thing my hostname and domainname
are not correct.

I have a home LAN with a Linksys router. There are 5 computers connected to
the router, including the Linus box. The remainder are Window boxes.

When I boot Linux, a message flies by. It says something like "Starting
httpd: httpd: Could not determine the server's fully qualified domain name,
using 127.0.0.1 as the server name." (If the boot log is stored somewhere,
please let me know so that I can get the exact message. Thanks!)

After I log in (as root) I get the following message:
"Could not look up internet address for localhost. This will prevent GNOME
from operating correctly. It may be possible to correct the problem by
adding localhost to the file /etc/hosts." I click on the button that says
"Log in anyway."

My ethernet card is configured with a hostname of localhost and a DNS search
path of localdomain.

When I bring up Mozilla and type in localhost (as described in the "Red Hat
Linux 9 for Dummies" book that I am using), instead of going to the Linux
box it attempts to go to www.localhost.com and I get the message "The
operation timed out when attempting to contact www.localhost.com."

Any ideas on what I am doing wrong? Please be explicit, as I obviously
cannot even make the "for Dummies" book work! 8-)

Thanks!

Bill



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:23 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com