LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-19-2003, 04:04 PM   #1
shirtboy
LQ Newbie
 
Registered: Oct 2003
Location: Chelmsford, MA
Distribution: Mandrake 9.1, Redhat 9.0
Posts: 7

Rep: Reputation: 0
Apache: httpd: Could not determine the server's fully qualified domain name..


Hi,

I keep getting the same message upon trying to start Apache:

httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName


While this is annoying, I noticed it began happening after I attempted to rename the computer from "localhost". I tried going back to edit those files to fix what I did, but I couldn't remember what I changed, and shame on me, didn't back them up in the first place.

In addition, sendmail takes 2-3 minutes to start (by itself, nevermind the rest of startup) after I changed these. I don't know how to fix it, either by changing Apache or changing back my original network files.

Thanks!
 
Old 11-20-2003, 03:47 AM   #2
speedracer05
Member
 
Registered: Jul 2002
Location: San Diego
Distribution: RH 8
Posts: 33

Rep: Reputation: 15
Of course, since you changed the name of your server, both Apache and Sendmail are having issues resolving the new name. Please alter the following files:

/etc/hosts
/etc/sysconfig/network (You will see "HOSTNAME")

(Redhat)

Apache will compare the hostname with the "ServerName" option in your httpd.conf file. If the hostname and ServerName differ, you will receive the "httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName" message.
 
  


Reply



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
Apache giving the error :Could not determine the server's fully qualified domain name bcf2 Linux - Server 47 02-13-2015 10:34 PM
squid FATAL: Could not determine fully qualified hostname. Please set 'visible_hostn tarakthakor Linux - Networking 5 12-04-2010 05:29 AM
Fully Qualified Domain Name tumana Linux - Networking 4 06-10-2004 02:58 AM
Fully Qualified Domain Names? MasterC Linux - Networking 7 05-19-2003 01:38 PM
http: can't could not determine the servers fully qualified domain name, using 127xyz s7nner Linux - Newbie 4 05-05-2003 06:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:19 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