Could not Determine the server's fully qualified domain name

0 votes

So, I tried to restart my Apache server on CentOS 5.0 and the following error got thrown at me;

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

The following is the /etc/hosts file:    server4-245    server4-245.com    localhost.localdomain localhost
::1        localhost6.localdomain6 localhost6

The following is the /etc/sysconfig/network file:


What can I do?

Jun 12 in Linux Administration by Upasana
• 8,170 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

If you don't have httpd.conf in folder /etc/apache2, you should have apache2.conf - you can go ahead and add:

ServerName localhost

Then restart the apache2 service.

answered Jun 12 by Shubham
• 12,810 points

Related Questions In Linux Administration

0 votes
1 answer

Name or service not known error

Seems like there is no nameserver set. Run ...READ MORE

answered Apr 1 in Linux Administration by Rohit
0 votes
1 answer
+1 vote
1 answer

Not able to install npm on Ubuntu

Try installing npm using aptitude: sudo apt install aptitude sudo ...READ MORE

answered Nov 28, 2018 in Linux Administration by Omkar
• 66,910 points
0 votes
1 answer
0 votes
1 answer

How do I set variable if a specific package version is installed in CFEngine?

Here is what you can do.Just use packagesmatching to ...READ MORE

answered Jul 12, 2018 in Other DevOps Questions by Atul
• 10,220 points
0 votes
1 answer
0 votes
1 answer

Using FIWARE to start Cygnus as a Service in IoT Solution

Cygnus is supposed to create /var/run/cygnus/ when started. You ...READ MORE

answered Aug 13, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
0 votes
1 answer

What is the meaning of 'errno'?

you can retrieve a complete list of ...READ MORE

answered May 20 in Linux Administration by Shubham
• 12,810 points
0 votes
1 answer

to pass the user's password to scp

Try using the 'expect' script on the ...READ MORE

answered May 29 in Linux Administration by Shubham
• 12,810 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.